diff options
author | Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com> | 2011-05-10 07:13:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-12 01:10:03 +0200 |
commit | 4d586b823acc46c55c889ae1798de236c9d403da (patch) | |
tree | 32efa3d399b50b30c0850cc58c00369ee8c30a0f /drivers/net/benet/be_cmds.h | |
parent | be2net: Use NTWK_RX_FILTER command for promiscous mode (diff) | |
download | linux-4d586b823acc46c55c889ae1798de236c9d403da.tar.xz 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 'drivers/net/benet/be_cmds.h')
0 files changed, 0 insertions, 0 deletions