]> 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)
commitf9e677c64fc4e0e2cd46a8b5814d2fa999807e1c
treec890dd52c998fef0fa55bd81a0d01b87021f03a4
parent5f12f8f1be34330289087ff77438f5bc167b9209
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