summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@amd.com>2024-02-29 22:39:29 +0300
committerDavid S. Miller <davem@davemloft.net>2024-03-04 12:38:13 +0300
commit138506ab249b7ac7856cb7a5a536a4b61a7a4ae1 (patch)
tree70a3b2563bb7d40ea4f643550c7cdee0d3cb0ffb /tools/perf/scripts/python/exported-sql-viewer.py
parentbc581273fead93ccc918b8c9a5b8a9f60b1ee836 (diff)
downloadlinux-138506ab249b7ac7856cb7a5a536a4b61a7a4ae1.tar.xz
ionic: Check stop no restart
If there is a lot of transmit traffic the driver can get into a situation that the device is starved due to the doorbell never being rung. This can happen if xmit_more is set constantly and __netdev_tx_sent_queue() keeps returning false. Fix this by checking if the queue needs to be stopped right before calling __netdev_tx_sent_queue(). Use MAX_SKB_FRAGS + 1 as the stop condition because that's the maximum number of frags supported for non-TSO transmit. Signed-off-by: Brett Creeley <brett.creeley@amd.com> Signed-off-by: Shannon Nelson <shannon.nelson@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions