diff options
author | Yunsheng Lin <[email protected]> | 2019-10-31 19:23:17 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-10-31 12:03:23 -0700 |
commit | 647522a5ef6401dcdb8ec417421e43fb21910167 (patch) | |
tree | 3689ece98057553ae6fe8a0287c10589c7312bc9 /drivers/net/ethernet/intel/igc/igc_main.c | |
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 <[email protected]>
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions