diff options
author | Yufeng Mo <moyufeng@huawei.com> | 2021-11-29 22:00:21 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-29 14:26:17 +0000 |
commit | a4ae2bc0abd44032fee3d826bc145661983bdf4e (patch) | |
tree | 7b0cf24d5e904efedbb61cc0f7817adfd764a55c /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h | |
parent | net: hns3: refactor two hns3 debugfs functions (diff) | |
download | linux-dev-a4ae2bc0abd44032fee3d826bc145661983bdf4e.tar.xz linux-dev-a4ae2bc0abd44032fee3d826bc145661983bdf4e.zip |
net: hns3: split function hns3_get_tx_timeo_queue_info()
Function hns3_get_tx_timeo_queue_info() is a bit too long. So add two
new functions hns3_dump_queue_stats() and hns3_dump_queue_reg() to
simplify code and improve code readability.
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions