]> 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)
commit817c8f4a015156afc666b7a24332c8b2a997c220
tree455dba568844498e456052d901607efed4372baf
parentfe05f5a9b22a4a162f0c3cbceb728b15bf61c492
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