]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: reset interface on link loss with pending Tx work from the VF
authorEmil Tantilov <emil.s.tantilov@intel.com>
Tue, 12 Aug 2014 07:12:08 +0000 (07:12 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 4 Sep 2014 08:38:32 +0000 (01:38 -0700)
commit027fcba80e6a143ea5743e3de56f5999c7a0fe08
treec890dd52c998fef0fa55bd81a0d01b87021f03a4
parentfe7addf05c9de8e77e3adf2dfa3aa5a6dc364269
ixgbe: reset interface on link loss with pending Tx work from the VF

ixgbe initiates a reset of the interface on link loss with pending Tx work
in order to clear the rings.

This patch extends the pending Tx work check to the VF interfaces with the
same purpose.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h