]> asedeno.scripts.mit.edu Git - linux.git/commit
ixgbevf: fix size of queue stats length
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 31 Mar 2017 03:49:02 +0000 (20:49 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 30 Apr 2017 03:01:03 +0000 (20:01 -0700)
commitf87fc44770f54ff1b54d44ae9cec11f10efeca02
tree74ae4efbc8fbf90c80b58d157425b732bd811bb4
parente251ecf75226d5ff772df1ef170b8b981308dc68
ixgbevf: fix size of queue stats length

IXGBEVF_QUEUE_STATS_LEN is based on ixgebvf_stats, not ixgbe_stats.

This change fixes a bug where ethtool -S displayed some empty fields.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ethtool.c