commit | 408bfc382efca14cc02c57ae935d5b7efd72e02a | [log] [tgz] |
---|---|---|
author | huhai <huhai@kylinos.cn> | Mon Jul 22 19:55:59 2019 +0800 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Thu Aug 22 13:24:13 2019 -0700 |
tree | ac2921a5e7686368df93dd397da8ee63e47cfe2c | |
parent | bc6c1eaaedee7bb1bbdef27e155f15510128762e [diff] |
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@kylinos.cn> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>