summaryrefslogtreecommitdiff
path: root/drivers/uio/uio_cif.c
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2009-09-30 16:08:16 +0400
committerDavid S. Miller <davem@davemloft.net>2009-10-01 07:02:59 +0400
commitaad719182d9c6a785931efe87b978eb6f7742e0e (patch)
tree81e969be4ac9aee0181f0734db8e8f2bb9d1009a /drivers/uio/uio_cif.c
parente0f4daffb3025357849153899b114813fddf7b9e (diff)
downloadlinux-aad719182d9c6a785931efe87b978eb6f7742e0e.tar.xz
ixgbe patch to provide NIC's tx/rx counters via ethtool
When LRO is enabled, the received packet and byte counters represent the LRO'd packets, not the packets/bytes on the wire. The Intel 82599 NIC has registers that keep count of the physical packets. Add these counters to the ethtool stats. The byte counters are 36-bit, but the high 4 bits were being ignored in the 2.6.31 ixgbe driver: Read those as well to allow longer time between polling the stats to detect wraps. Signed-off-by: Ben Greear <greearb@candelatech.com> Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/uio/uio_cif.c')
0 files changed, 0 insertions, 0 deletions