commit | 236b6394bb49ea58465c6f935a286d2342576f8d | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Mon Mar 20 17:49:02 2006 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 20 17:49:02 2006 -0800 |
tree | e00c64b5dcb909e3e700021f6c2368af55f0641c | |
parent | 244ac4f446ac6a19caf5eb692c4844f29e6478bf [diff] |
[BNX2]: Fix bug when rx ring is full Fix the rx code path that does not handle the full rx ring correctly. When the rx ring is set to the max. size (i.e. 255), the consumer and producer indices will be the same when completing an rx packet. Fix the rx code to handle this condition properly. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>