]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite2ade0081dfbf504872278b62dab0ad0ad6c291d
tree455dba568844498e456052d901607efed4372baf
parent3216a0702f19bca012d12ee596c14b8d0a88f6cd
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