diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2019-10-31 14:23:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-31 18:35:31 +0300 |
commit | e7e11c087b7e31ecf5f5d1ba58825a3010193c55 (patch) | |
tree | 7a5bb1012635229af19380a1e1bce95a3cfd03ca /drivers/ata | |
parent | 8eaee8c574a72d049ed213041cde6705f00e98f2 (diff) | |
download | linux-e7e11c087b7e31ecf5f5d1ba58825a3010193c55.tar.xz |
net: hns3: add struct netdev_queue debug info for TX timeout
[ Upstream commit 647522a5ef6401dcdb8ec417421e43fb21910167 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions