Thread (13 messages) 13 messages, 2 authors, 2021-01-08

Re: [dpdk-dev] [PATCH v4 2/3] net/i40e: fix return value

From: Zhang, Qi Z <hidden>
Date: 2021-01-08 08:21:29

-----Original Message-----
From: Zhang,Alvin <redacted>
Sent: Friday, January 8, 2021 1:36 PM
To: Guo, Jia <redacted>; Xing, Beilei <redacted>; Zhang,
Qi Z [off-list ref]; Su, Simei [off-list ref]; Yang, Qiming
[off-list ref]
Cc: dev@dpdk.org; Zhang, AlvinX <redacted>; stable@dpdk.org
Subject: [PATCH v4 2/3] net/i40e: fix return value

From: Alvin Zhang <redacted>

The api should return the system error status, but it returned the hardware
error status, this is confused for the caller.
This patch adds check on hardware execution status and returns -EIO in case of
hardware execution failure.

Signed-off-by: Alvin Zhang <redacted>
Acked-by: Qi Zhang <redacted>

Applied to dpdk-next-net-intel.

Thanks
Qi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help