aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-11-02 15:02:36 -0700
committerDavid S. Miller <davem@davemloft.net>2021-11-03 11:20:45 +0000
commit1aabe578dd86e9f2867c4db4fba9a15f4ba1825d (patch)
tree4429f5c426d59b7935ace911ca4e77eb32a133a8 /tools/perf/scripts/python/exported-sql-viewer.py
parentnet: avoid double accounting for pure zerocopy skbs (diff)
downloadwireguard-linux-1aabe578dd86e9f2867c4db4fba9a15f4ba1825d.tar.xz
wireguard-linux-1aabe578dd86e9f2867c4db4fba9a15f4ba1825d.zip
ethtool: fix ethtool msg len calculation for pause stats
ETHTOOL_A_PAUSE_STAT_MAX is the MAX attribute id, so we need to subtract non-stats and add one to get a count (IOW -2+1 == -1). Otherwise we'll see: ethnl cmd 21: calculated reply length 40, but consumed 52 Fixes: 9a27a33027f2 ("ethtool: add standard pause stats") Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions