aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/dev_ioctl.c
diff options
context:
space:
mode:
authorJedrzej Jagielski <jedrzej.jagielski@intel.com>2021-09-17 08:52:52 +0000
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-11-30 08:56:07 -0800
commit64430f70ba6fcd5872ac190f4ae3ddee3f48f00d (patch)
treedae8f70ecf9d42898a2124887c402dee1f8f48e1 /net/core/dev_ioctl.c
parentiavf: Refactor string format to avoid static analysis warnings (diff)
downloadwireguard-linux-64430f70ba6fcd5872ac190f4ae3ddee3f48f00d.tar.xz
wireguard-linux-64430f70ba6fcd5872ac190f4ae3ddee3f48f00d.zip
iavf: Fix displaying queue statistics shown by ethtool
Driver provided too many lines as an output to ethtool -S command. Return actual length of string set of ethtool stats. Instead of predefined maximal value use the actual value on netdev, iterate over active queues. Without this patch, ethtool -S report would produce additional erroneous lines of queues that are not configured. Signed-off-by: Witold Fijalkowski <witoldx.fijalkowski@intel.com> Signed-off-by: Przemyslaw Patynowski <przemyslawx.patynowski@intel.com> Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com> Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com> Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions