aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorHuazhong Tan <[email protected]>2019-01-18 16:13:12 +0800
committerDavid S. Miller <[email protected]>2019-01-18 15:10:22 -0800
commitc3b9c50d1567aa12be4448fe85b09626eba2499c (patch)
tree18f6c57e028836df2958a26c47f056c28b3a0ffe /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent205a24ca2df10621a19081ad349920870759c0a6 (diff)
net: hns3: fix wrong combined count returned by ethtool -l
The current code returns the number of all queues that can be used and the number of queues that have been allocated, which is incorrect. What should be returned is the number of queues allocated for each enabled TC and the number of queues that can be allocated. This patch fixes it. Fixes: 482d2e9c1cc7 ("net: hns3: add support to query tqps number") Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: Yunsheng Lin <[email protected]> Signed-off-by: Peng Li <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions