commit | 04d96139ddb32dd15e5941c303f511a92759a5be | [log] [tgz] |
---|---|---|
author | Guangbin Huang <huangguangbin2@huawei.com> | Mon Aug 30 14:06:39 2021 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 30 09:43:18 2021 +0100 |
tree | 3514f3f4a4f5cbe010e447873bf056da3d2ab96c | |
parent | 161ad669e6c23529415bffed5cb3bfa012e46cb4 [diff] |
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>