]> 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)
commit79d34589698c070be477c7cfd81b878c98ac9168
tree63d91446f56af79d5ea244b9e776d4fc14cd20ec
parent06d99125c999dcc17e7b8c7ec8be5556b866ffbb
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