diff options
author | 2021-07-20 10:41:48 +0200 | |
---|---|---|
committer | 2021-07-20 06:11:18 -0700 | |
commit | f7918b79019f13ece815b2a88bab12974793aed1 (patch) | |
tree | 598968e82b44b47e09f34e5a6d3f6576c44044d1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | memcg: enable accounting for scm_fp_list objects (diff) | |
download | wireguard-linux-f7918b79019f13ece815b2a88bab12974793aed1.tar.xz wireguard-linux-f7918b79019f13ece815b2a88bab12974793aed1.zip |
veth: always report zero combined channels
veth get_channel currently reports for channels being both RX/TX and
combined. As Jakub noted:
"""
ethtool man page is relatively clear, unfortunately the kernel code
is not and few read the man page. A channel is approximately an IRQ,
not a queue, and IRQ can't be dedicated and combined simultaneously
"""
This patch changes the information exposed by veth_get_channels,
setting max_combined to zero, being more consistent with the above
statement. The ethtool_channels is always cleared by the caller, we just
need to avoid setting the 'combined' fields.
Signed-off-by: Paolo Abeni <pabeni@redhat.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