From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bowers, AndrewX Date: Fri, 20 Dec 2019 20:24:31 +0000 Subject: [Intel-wired-lan] [PATCH net-next 2/2] drivers: net: ice: Removing hung_queue variable to use txqueue function parameter In-Reply-To: <20191218183845.20038-3-jcfaracco@gmail.com> References: <20191218183845.20038-1-jcfaracco@gmail.com> <20191218183845.20038-3-jcfaracco@gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: > -----Original Message----- > From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On > Behalf Of Julio Faracco > Sent: Wednesday, December 18, 2019 10:39 AM > To: netdev at vger.kernel.org > Cc: intel-wired-lan at lists.osuosl.org; davem at davemloft.net > Subject: [Intel-wired-lan] [PATCH net-next 2/2] drivers: net: ice: Removing > hung_queue variable to use txqueue function parameter > > The scope of function .ndo_tx_timeout was changed to include the hang > queue when a TX timeout event occurs. See commit 0290bd291cc0 > ("netdev: pass the stuck queue to the timeout handler") for more details. > Now, drivers don't need to identify which queue is stopped. > Drivers can simply use the queue index provided bt dev_watchdog and > execute all actions needed to restore network traffic. This commit do some > cleanups into Intel ice driver to remove a redundant loop to find stopped > queue. > > Signed-off-by: Julio Faracco > --- > drivers/net/ethernet/intel/ice/ice_main.c | 41 ++++++----------------- > 1 file changed, 11 insertions(+), 30 deletions(-) Tested-by: Andrew Bowers