diff options
author | Michael Chan <mchan@broadcom.com> | 2007-10-12 01:40:38 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-12 02:01:21 -0700 |
commit | 6dee6421581d3484e9a01d403dbf158161942db6 (patch) | |
tree | 57a9ba4782217e9c962230e9566ac32c06cb1fb4 /.gitignore | |
parent | 4fd7ab5949edfdf99be0ceef206c9d0b7f186318 (diff) | |
download | linux-6dee6421581d3484e9a01d403dbf158161942db6.tar.bz2 |
[BNX2]: Refine napi poll loop.
Need to read and store sblk->status_idx before checking for more work.
The status idx is later written back to the hardware when enabling
interrupts to acknowledge how much work has been processed. If the
order is reversed, we can end up acknowledging work we haven't
processed.
When completing bnx2_poll(), we should always break out of the while
loop and return work_done instead of returning 0.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions