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

Zhang, Qi Z qi.z.zhang at intel.com
Fri Jan 8 09:21:21 CET 2021



> -----Original Message-----
> From: Zhang,Alvin <alvinx.zhang at intel.com>
> Sent: Friday, January 8, 2021 1:36 PM
> To: Guo, Jia <jia.guo at intel.com>; Xing, Beilei <beilei.xing at intel.com>; Zhang,
> Qi Z <qi.z.zhang at intel.com>; Su, Simei <simei.su at intel.com>; Yang, Qiming
> <qiming.yang at intel.com>
> Cc: dev at dpdk.org; Zhang, AlvinX <alvinx.zhang at intel.com>; stable at dpdk.org
> Subject: [PATCH v4 2/3] net/i40e: fix return value
> 
> From: Alvin Zhang <alvinx.zhang at intel.com>
> 
> 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 <alvinx.zhang at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi



More information about the dev mailing list