linux/drivers/net/benet
Sathya Perla 6464281161 be2net: Handle out of buffer completions for lancer
If Lancer chip does not have posted RX buffers, it posts an RX completion entry
with the same frag_index as the last valid completion. The Error bit is also
set. In BE, a flush completion is indicated with a zero value for num_rcvd in
the completion.
Such completions don't carry any data and are not processed.
This patch refactors code to handle both cases with the same code.

Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-06 12:59:08 -08:00
..
be.h be2net: Handle out of buffer completions for lancer 2010-12-06 12:59:08 -08:00
be_cmds.c be2net: FW init cmd fix for lancer 2010-12-06 12:59:08 -08:00
be_cmds.h be2net: adding support for Lancer family of CNAs 2010-11-27 17:43:20 -08:00
be_ethtool.c be2net: add multiple RX queue support 2010-10-03 22:12:27 -07:00
be_hw.h be2net: adding support for Lancer family of CNAs 2010-11-27 17:43:20 -08:00
be_main.c be2net: Handle out of buffer completions for lancer 2010-12-06 12:59:08 -08:00
Kconfig be2net: remove ASIC generation number from Kconfig 2010-02-12 12:28:00 -08:00
Makefile