diff options
| author | Jedrzej Jagielski <[email protected]> | 2021-09-17 08:52:52 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-11-30 08:56:07 -0800 |
| commit | 64430f70ba6fcd5872ac190f4ae3ddee3f48f00d (patch) | |
| tree | dae8f70ecf9d42898a2124887c402dee1f8f48e1 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
| parent | c2fbcc94d511e963d7fefa91d5f5748e8906f1cf (diff) | |
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 <[email protected]>
Signed-off-by: Przemyslaw Patynowski <[email protected]>
Signed-off-by: Mateusz Palczewski <[email protected]>
Signed-off-by: Jedrzej Jagielski <[email protected]>
Tested-by: Konrad Jankowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions