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
..
2010-11-18 11:49:25 -08:00
2010-10-29 00:29:51 +02:00
2010-11-19 09:49:59 -08:00
2010-11-10 14:40:53 +01:00
2010-10-30 08:31:35 -07:00
2010-11-08 11:41:15 -05:00
2010-11-12 07:55:30 -08:00
2010-11-28 18:13:18 -08:00
2010-11-10 14:54:09 +01:00
2010-11-11 11:06:09 -08:00