Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134549
b: refs/heads/master
c: 3e5b510
h: refs/heads/master
i:
  134547: a24db62
v: v3
  • Loading branch information
Eilon Greenstein authored and David S. Miller committed Feb 16, 2009
1 parent 3ebaf7c commit d146f38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8b3a0f0ba3c6c26330b49db178de3898a54f9f8a
refs/heads/master: 3e5b510eb8c9ea5f762e0a0a9ce59254d6671dce
4 changes: 2 additions & 2 deletions trunk/drivers/net/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7173,7 +7173,7 @@ static int bnx2x_nic_unload(struct bnx2x *bp, int unload_mode)
struct bnx2x_fastpath *fp = &bp->fp[i];

cnt = 1000;
smp_rmb();
smp_mb();
while (bnx2x_has_tx_work_unload(fp)) {

bnx2x_tx_int(fp, 1000);
Expand All @@ -7189,7 +7189,7 @@ static int bnx2x_nic_unload(struct bnx2x *bp, int unload_mode)
}
cnt--;
msleep(1);
smp_rmb();
smp_mb();
}
}
/* Give HW time to discard old tx messages */
Expand Down

0 comments on commit d146f38

Please sign in to comment.