Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323097
b: refs/heads/master
c: 185d4c8
h: refs/heads/master
i:
  323095: 589d505
v: v3
  • Loading branch information
Ariel Elior authored and David S. Miller committed Sep 21, 2012
1 parent 2f858ac commit 5e7e03b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 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: c0d680e577ff171e7b37dbdb1b1bf5451e851f04
refs/heads/master: 185d4c8bf579322e1c2835d70729bc30f6f80f55
11 changes: 6 additions & 5 deletions trunk/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -9831,12 +9831,13 @@ static void __devinit bnx2x_get_igu_cam_info(struct bnx2x *bp)
}

#ifdef CONFIG_PCI_MSI
/*
* It's expected that number of CAM entries for this functions is equal
* to the number evaluated based on the MSI-X table size. We want a
* harsh warning if these values are different!
/* Due to new PF resource allocation by MFW T7.4 and above, it's
* optional that number of CAM entries will not be equal to the value
* advertised in PCI.
* Driver should use the minimal value of both as the actual status
* block count
*/
WARN_ON(bp->igu_sb_cnt != igu_sb_cnt);
bp->igu_sb_cnt = min_t(int, bp->igu_sb_cnt, igu_sb_cnt);
#endif

if (igu_sb_cnt == 0)
Expand Down

0 comments on commit 5e7e03b

Please sign in to comment.