summaryrefslogtreecommitdiff
path: root/kernel/bpf/stackmap.c
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2019-01-18 16:13:12 +0800
committerDavid S. Miller <davem@davemloft.net>2019-01-18 15:10:22 -0800
commitc3b9c50d1567aa12be4448fe85b09626eba2499c (patch)
tree18f6c57e028836df2958a26c47f056c28b3a0ffe /kernel/bpf/stackmap.c
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 <tanhuazhong@huawei.com> Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions