]> git.baikalelectronics.ru Git - kernel.git/commit
ice: fix overlong string, update stats output
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 8 Feb 2019 20:50:43 +0000 (12:50 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 25 Feb 2019 16:56:02 +0000 (08:56 -0800)
commit5e49cb7729d4394cea5bdf185dd45d7ec4dbe6b5
tree6f65bf73ba79d00b170b7f9fb30657552120007a
parent4c349b628e3e9c651e7c2e35c36e22d043825b1d
ice: fix overlong string, update stats output

A test started warning on a string truncation. This led to an unfortunate
realization that we are likely not accounting for the stats length
correctly before this patch, so fix the issue by putting "port." in front
of all the PF stats, instead of magically prepending it at runtime.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_ethtool.c