OpenCloudOS-Kernel/drivers/net/ethernet/hisilicon
Guangbin Huang 28d3bada7d net: hns3: refactor dump qos pri map of debugfs
Currently, user gets priority map by implementing debugfs command
"echo dump qos pri map > cmd", this command will dump info in dmesg.
It's unnecessary and heavy.

To optimize it, create a single file "qos_pri_map" in tm directory
and use cat command to get info. It will return info to userspace,
rather than record in dmesg.

The display style is below:
$ cat qos_pri_map
vlan_to_pri: 0
PRI    TC
0       0
1       1
2       2
3       3
4       0
5       1
6       2

Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-05-20 15:01:03 -07:00
..
hns net: hisilicon: hns: Fix wrong function name in comments 2021-05-17 14:12:39 -07:00
hns3 net: hns3: refactor dump qos pri map of debugfs 2021-05-20 15:01:03 -07:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hip04_eth.c hisilicon: let core reject the unsupported coalescing parameters 2020-03-05 12:12:35 -08:00
hisi_femac.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
hix5hd2_gmac.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
hns_mdio.c net: hns: remove redundant variable initialization 2021-03-24 12:07:21 -07:00