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)
commit07923c17b15e5251bb6e22e5f05be0d1009858d6
treec890dd52c998fef0fa55bd81a0d01b87021f03a4
parentbcfd3432d1625ef749a8697d194010d0c75b97c9
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