summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>2020-03-19 20:38:10 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-20 07:30:14 +0300
commitf1f20a8666c55cb534b8f3fc1130eebf01a06155 (patch)
tree018d1c9eddc9f1c1efe69ea18c035e9af1f25aa7 /net/ipv4/tcp_output.c
parent7affd80802afb6ca92dba47d768632fbde365241 (diff)
downloadlinux-f1f20a8666c55cb534b8f3fc1130eebf01a06155.tar.xz
cxgb4: fix Txq restart check during backpressure
Driver reclaims descriptors in much smaller batches, even if hardware indicates more to reclaim, during backpressure. So, fix the check to restart the Txq during backpressure, by looking at how many descriptors hardware had indicated to reclaim, and not on how many descriptors that driver had actually reclaimed. Once the Txq is restarted, driver will reclaim even more descriptors when Tx path is entered again. Fixes: d429005fdf2c ("cxgb4/cxgb4vf: Add support for SGE doorbell queue timer") Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions