linux-stable/drivers/net/ethernet/marvell/octeontx2/nic
Su Hui e709acbd84 octeontx2-pf: check negative error code in otx2_open()
otx2_rxtx_enable() return negative error code such as -EIO,
check -EIO rather than EIO to fix this problem.

Fixes: c926252205 ("octeontx2-pf: Disable packet I/O for graceful exit")
Signed-off-by: Su Hui <suhui@nfschina.com>
Reviewed-by: Subbaraya Sundeep <sbhatta@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Link: https://lore.kernel.org/r/20240328020620.4054692-1-suhui@nfschina.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-29 12:37:35 -07:00
..
Makefile octeontx2-pf: Add support for HTB offload 2023-05-15 09:31:07 +01:00
cn10k.c octeontx2-pf: Restore TC ingress police rules when interface is up 2023-11-28 12:02:12 +01:00
cn10k.h octeontx2-pf: Fix page pool cache index corruption. 2023-09-10 19:29:15 +01:00
cn10k_macsec.c octeontx2-pf: mcs: update PN only when update_pn is true 2023-10-10 10:30:31 +02:00
otx2_common.c octeontx2-pf: Wait till detach_resources msg is complete 2024-03-20 10:49:07 +00:00
otx2_common.h octeontx2: Detect the mbox up or down message via register 2024-03-20 10:49:07 +00:00
otx2_dcbnl.c octeontx2-pf: Fix graceful exit during PFC configuration failure 2023-12-15 10:28:07 +00:00
otx2_devlink.c octeontx2-af: Install TC filter rules in hardware based on priority 2023-07-25 09:44:19 +02:00
otx2_devlink.h
otx2_dmac_flt.c octeontx2-af: Fixes static warnings 2022-07-15 12:01:43 +01:00
otx2_ethtool.c octeontx2-pf: Remove xdp queues on program detach 2024-02-01 15:26:23 +01:00
otx2_flows.c octeontx2-pf: Fix ntuple rule creation to direct packet to VF with higher Rx queue than its PF 2023-11-23 12:55:32 +01:00
otx2_pf.c octeontx2-pf: check negative error code in otx2_open() 2024-03-29 12:37:35 -07:00
otx2_ptp.c octeontx2-pf: Enable PTP PPS output support 2023-09-15 10:35:07 +01:00
otx2_ptp.h
otx2_reg.h octeontx2-pf: Prepare for QOS offload 2023-05-15 09:31:07 +01:00
otx2_struct.h octeontx2-pf: Fix error codes 2023-11-02 10:40:15 +01:00
otx2_tc.c octeontx2-pf: Add TC flower offload support for TCP flags 2024-03-08 10:26:52 +00:00
otx2_txrx.c octeontx2-pf: Remove xdp queues on program detach 2024-02-01 15:26:23 +01:00
otx2_txrx.h octeontx2-pf: Fix page pool cache index corruption. 2023-09-10 19:29:15 +01:00
otx2_vf.c octeontx2-pf: Wait till detach_resources msg is complete 2024-03-20 10:49:07 +00:00
qos.c octeontx2-pf: htb offload support for Round Robin scheduling 2023-07-21 09:55:53 +01:00
qos.h octeontx2-pf: htb offload support for Round Robin scheduling 2023-07-21 09:55:53 +01:00
qos_sq.c octeontx2-pf: Add support for page pool 2023-05-23 10:47:50 +02:00