diff options
author | Sathya Perla <sathya.perla@emulex.com> | 2010-12-01 01:04:17 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-06 12:59:08 -0800 |
commit | 6464281161e46254ac39505ad41d21dbe7d1738f (patch) | |
tree | a85efd96c46bada5c8226b2a02944295e9bec800 /net/ipv4 | |
parent | 359a972fae84242efa26b86bf09c3ac3784405ba (diff) | |
download | kernel_goldelico_gta04-6464281161e46254ac39505ad41d21dbe7d1738f.zip kernel_goldelico_gta04-6464281161e46254ac39505ad41d21dbe7d1738f.tar.gz kernel_goldelico_gta04-6464281161e46254ac39505ad41d21dbe7d1738f.tar.bz2 |
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>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions