> -Original Message-
> From: Zhang,Alvin
> Sent: Friday, January 8, 2021 1:36 PM
> To: Guo, Jia ; Xing, Beilei ; Zhang,
> Qi Z ; Su, Simei ; Yang, Qiming
>
> Cc: dev@dpdk.org; Zhang, AlvinX ; sta...@dpdk.org
> Subject: [PATCH v4 2/3] net/i40e: fix return value
>
> From: Alvin Zhang
>
From: Alvin Zhang
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
Fixes: 1d4b2b4966bb
2 matches
Mail list logo