ixgbevf: Add checksum statistics counters to rings
authorGreg Rose <gregory.v.rose@intel.com>
Tue, 6 Nov 2012 05:53:32 +0000 (05:53 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 15 Nov 2012 14:30:42 +0000 (06:30 -0800)
commit55fb277c1f6181d445f88ef8596b87eab61f14b6
tree455dba568844498e456052d901607efed4372baf
parent3938d3c8fdffc95ebc0a3e2708d91a726fd671ec
ixgbevf: Add checksum statistics counters to rings

Add hardware checksum statistic counters to the ring structures and
then during packet processing update those counters instead of the
global counters in the adapter structure.  Only update the adapter
structure counters when all other statistics are gathered in the
ixgbevf_update_stats() function.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c