aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJian Shen <[email protected]>2023-09-06 07:20:12 +0000
committerPaolo Abeni <[email protected]>2023-09-07 09:08:03 +0000
commit61a1deacc3d4fd3d57d7fda4d935f7f7503e8440 (patch)
tree8c21205a38b4f0156133f27a9d54bc8497e6c9ec /tools/perf/scripts/python/event_analyzing_sample.py
parentnet: phy: Provide Module 4 KSZ9477 errata (DS80000754C) (diff)
downloadkernel-61a1deacc3d4fd3d57d7fda4d935f7f7503e8440.tar.gz
kernel-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 <[email protected]> Signed-off-by: Jijie Shao <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions