summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorPadmanabh Ratnakar <padmanabh.ratnakar@emulex.com>2011-05-10 05:13:57 +0000
committerDavid S. Miller <davem@davemloft.net>2011-05-11 19:10:03 -0400
commit4d586b823acc46c55c889ae1798de236c9d403da (patch)
tree32efa3d399b50b30c0850cc58c00369ee8c30a0f /net/ipv4
parentecd0bf0f7b280bac3ac7419ed3aac84cd92878e9 (diff)
downloadlinux-4d586b823acc46c55c889ae1798de236c9d403da.tar.gz
linux-4d586b823acc46c55c889ae1798de236c9d403da.tar.bz2
linux-4d586b823acc46c55c889ae1798de236c9d403da.zip
be2net: Fix to prevent flooding of TX queue
Start/stop TX queue is controlled by TX queue "used" counter. It is incremented while WRBs are posted to TX queue and decremented when TX completions are received. This counter was getting decremented before HW is informed about processing of TX completions. As used counter is decremented, transmit function posts new WRBs and creates completion queue full scenario in HW. Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions