diff options
author | 2023-09-06 15:20:12 +0800 | |
---|---|---|
committer | 2023-09-07 11:08:03 +0200 | |
commit | 61a1deacc3d4fd3d57d7fda4d935f7f7503e8440 (patch) | |
tree | 8c21205a38b4f0156133f27a9d54bc8497e6c9ec /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: phy: Provide Module 4 KSZ9477 errata (DS80000754C) (diff) | |
download | wireguard-linux-61a1deacc3d4fd3d57d7fda4d935f7f7503e8440.tar.xz wireguard-linux-61a1deacc3d4fd3d57d7fda4d935f7f7503e8440.zip |
net: hns3: fix tx timeout issue
Currently, the driver knocks the ring doorbell before updating
the ring->last_to_use in tx flow. if the hardware transmiting
packet and napi poll scheduling are fast enough, it may get
the old ring->last_to_use in drivers' napi poll.
In this case, the driver will think the tx is not completed, and
return directly without clear the flag __QUEUE_STATE_STACK_XOFF,
which may cause tx timeout.
Fixes: 20d06ca2679c ("net: hns3: optimize the tx clean process")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions