netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] drivers: net: intel: update i40e and ice to use txqueue parameter from tx_timeout.
@ 2019-12-18 18:38 Julio Faracco
  2019-12-18 18:38 ` [PATCH net-next 1/2] drivers: net: i40e: Removing hung_queue variable to use txqueue function parameter Julio Faracco
  2019-12-18 18:38 ` [PATCH net-next 2/2] drivers: net: ice: " Julio Faracco
  0 siblings, 2 replies; 5+ messages in thread
From: Julio Faracco @ 2019-12-18 18:38 UTC (permalink / raw)
  To: netdev; +Cc: jeffrey.t.kirsher, davem, intel-wired-lan

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(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-12-20 20:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-18 18:38 [PATCH net-next 0/2] drivers: net: intel: update i40e and ice to use txqueue parameter from tx_timeout Julio Faracco
2019-12-18 18:38 ` [PATCH net-next 1/2] drivers: net: i40e: Removing hung_queue variable to use txqueue function parameter Julio Faracco
2019-12-20 20:21   ` [Intel-wired-lan] " Bowers, AndrewX
2019-12-18 18:38 ` [PATCH net-next 2/2] drivers: net: ice: " Julio Faracco
2019-12-20 20:24   ` [Intel-wired-lan] " Bowers, AndrewX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).