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)
commit74a6c66565f5f4eda4aaae53e2e325deeedeaca2
tree63d91446f56af79d5ea244b9e776d4fc14cd20ec
parent0db65fcfcded76fe4f74e3ca9f4e2baf67b683ef
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