aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
diff options
context:
space:
mode:
authorGuangbin Huang <huangguangbin2@huawei.com>2021-08-30 14:06:39 +0800
committerDavid S. Miller <davem@davemloft.net>2021-08-30 09:43:18 +0100
commit04d96139ddb32dd15e5941c303f511a92759a5be (patch)
tree3514f3f4a4f5cbe010e447873bf056da3d2ab96c /drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
parentnet: hns3: reconstruct function hclge_ets_validate() (diff)
downloadlinux-dev-04d96139ddb32dd15e5941c303f511a92759a5be.tar.xz
linux-dev-04d96139ddb32dd15e5941c303f511a92759a5be.zip
net: hns3: refine function hclge_dbg_dump_tm_pri()
To improve flexibility, simplicity and maintainability to dump info of every element of tm priority, add a struct hclge_dbg_item array of tm priority and fill string of every data according to this array. Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c')
0 files changed, 0 insertions, 0 deletions