]> 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)
commitf3b022a7613718ed1152c10fa53498f356350d0f
tree6f65bf73ba79d00b170b7f9fb30657552120007a
parentdd9b0b7fee9dc5ca3b00c8af276c900ccc108d97
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