diff options
author | Jian Shen <shenjian15@huawei.com> | 2019-04-19 05:05:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-20 03:43:15 +0200 |
commit | beab694aa32afb7c785c55f075628d9a21ed8011 (patch) | |
tree | 9c032109fbb9faff0a9dcdbf972f86071ef9afa0 /drivers/pci/vpd.c | |
parent | net: hns3: add some debug info for hclgevf_get_mbx_resp() (diff) | |
download | linux-beab694aa32afb7c785c55f075628d9a21ed8011.tar.xz linux-beab694aa32afb7c785c55f075628d9a21ed8011.zip |
net: hns3: refine tx timeout count handle
In current codes, tx_timeout_cnt is used before increased,
then we can see the tx_timeout_count is still 0 from the
print when tx timeout happens, e.g.
"hns3 0000:7d:00.3 eth3: tx_timeout count: 0, queue id: 0, SW_NTU:
0xa6, SW_NTC: 0xa4, HW_HEAD: 0xa4, HW_TAIL: 0xa6, INT: 0x1"
The tx_timeout_cnt should be updated before used.
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pci/vpd.c')
0 files changed, 0 insertions, 0 deletions