Skip to content

drivers: net: intel: update i40e and ice to use txqueue parameter from tx_timeout.

Julio Faracco intel-wired-lan netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drivers: net: i40e: Removing hung_queue variable to use txqueue function parameterdrivers/net/ethernet/intel/i40e/i40e_main.c+11 -301 reply
2/2drivers: net: ice: Removing hung_queue variable to use txqueue function parameterdrivers/net/ethernet/intel/ice/ice_main.c+11 -301 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchAndrew Bowers
1/2T-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/2] drivers: net: intel: update i40e and ice to use txqueue parameter from tx_timeout.

The scope of function .ndo_tx_timeout is passing the hung queue now using a parameter called txqueue. Some drivers are still using a loop structure to identify what is the stopped queue inside that function above. This is a redundant code. So, this series removes some unnecessary code to make advantage of that new parameter. We don't need rework now. For further details see: commit 0290bd291cc0 ("netdev: pass the stuck queue to the timeout handler").

Julio Faracco (2):
drivers: net: i40e: Removing hung_queue variable to use txqueue
function parameter
drivers: net: ice: Removing hung_queue variable to use txqueue
function parameter

 drivers/net/ethernet/intel/i40e/i40e_main.c | 41 ++++++---------------
 drivers/net/ethernet/intel/ice/ice_main.c   | 41 ++++++---------------
 2 files changed, 22 insertions(+), 60 deletions(-)
Signature · 1 line
2.17.1