]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ixgbe: Use packets to track Tx completions instead of a seperate value
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 8 Feb 2012 07:50:51 +0000 (07:50 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 17 Mar 2012 08:06:59 +0000 (01:06 -0700)
commit7d7ce682f8437ff91c964c478b8845ed98a3207d
tree573e92106b0372a9cf7c9dcc79de5ff1f6908f79
parent93f5b3c1f148f2cca247a2c5afdd3ba7a123a6f1
ixgbe: Use packets to track Tx completions instead of a seperate value

A separate value was added to track Tx completions in order to determine if
the Tx unit was hung.  However we can do the same thing using the number of
packets completed without having to add another stat to the Tx ring.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c