diff options
author | liuzhongzhu <liuzhongzhu@huawei.com> | 2018-11-22 14:09:44 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-23 17:29:00 -0800 |
commit | 2849d4e7a1beb483e9ebab3904f03010c0bc1daf (patch) | |
tree | 6db99df511291ed17b67dfff2d650bfedc8d3391 /net/switchdev/switchdev.c | |
parent | 3c666b586af1c6ed6e352555aec38d2f9478cd47 (diff) |
net: hns3: Add "tc config" info query function
This patch prints tc config information.
debugfs command:
echo dump tc > cmd
Sample Output:
root@(none)# echo dump tc > cmd
hns3 0000:7d:00.0: weight_offset: 14
hns3 0000:7d:00.0: tc(0): no sp mode
hns3 0000:7d:00.0: tc(1): no sp mode
hns3 0000:7d:00.0: tc(2): no sp mode
hns3 0000:7d:00.0: tc(3): no sp mode
hns3 0000:7d:00.0: tc(4): no sp mode
hns3 0000:7d:00.0: tc(5): no sp mode
hns3 0000:7d:00.0: tc(6): no sp mode
hns3 0000:7d:00.0: tc(7): no sp mode
root@(none)#
Signed-off-by: liuzhongzhu <liuzhongzhu@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions