]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: fix stats offsets
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Sat, 3 Oct 2015 02:09:34 +0000 (19:09 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Oct 2015 00:48:21 +0000 (17:48 -0700)
commitd9742ebcb906c4e378fcb074d17c6c8e8b385cc9
tree63d91446f56af79d5ea244b9e776d4fc14cd20ec
parent91f73aa4f751e9aa7991df895c2cec49ed3b3588
i40e: fix stats offsets

The code was setting up stats that were not being initialized.
This caused several counters to be displayed incorrectly, due
to indexing beyond the array of strings when printing stats.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c