summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2007-10-12 10:39:50 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-12 11:01:20 +0200
commit4fd7ab5949edfdf99be0ceef206c9d0b7f186318 (patch)
treea99042048caea838d5e9af01c7d33307941099cd /drivers/net/bnx2.c
parentFix up more bio fallout (diff)
downloadlinux-4fd7ab5949edfdf99be0ceef206c9d0b7f186318.tar.xz
linux-4fd7ab5949edfdf99be0ceef206c9d0b7f186318.zip
[TG3]: Refine napi poll loop.
Need to read and store sblk->status_tag before checking for more work. The status tag 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 we detect tx error, it is more correct to return the rx work_done so far instead of 0. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.c')
0 files changed, 0 insertions, 0 deletions