[Intel-wired-lan] [PATCH] i40e: add check on i40e_configure_tx_ring() return value

Bowers, AndrewX andrewx.bowers at intel.com
Mon Jul 22 19:18:35 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of huhai
> Sent: Monday, July 22, 2019 4:56 AM
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>; davem at davemloft.net
> Cc: intel-wired-lan at lists.osuosl.org; huhai <huhai at kylinos.cn>
> Subject: [Intel-wired-lan] [PATCH] i40e: add check on
> i40e_configure_tx_ring() return value
> 
> When i40e_configure_tx_ring(vsi->tx_rings[i]) returns an error, we should
> exit from i40e_vsi_configure_tx and return the error, instead of continuing
> to check whether xdp is enable, and configure the xdp transmit ring.
> 
> Signed-off-by: huhai <huhai at kylinos.cn>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list