commit | 647522a5ef6401dcdb8ec417421e43fb21910167 | [log] [tgz] |
---|---|---|
author | Yunsheng Lin <linyunsheng@huawei.com> | Thu Oct 31 19:23:17 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 31 12:03:23 2019 -0700 |
tree | 3689ece98057553ae6fe8a0287c10589c7312bc9 | |
parent | 3d77d0cb054cbc8d9171ebc7f6b0c33445b2a94d [diff] |
net: hns3: add struct netdev_queue debug info for TX timeout When there is a TX timeout, we can tell if the driver or stack has stopped the queue by looking at state field, and when has the last packet transmited by looking at trans_start field. So this patch prints these two field in the hns3_get_tx_timeo_queue_info(). Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>