Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233875
b: refs/heads/master
c: c4154f2
h: refs/heads/master
i:
  233873: 392d310
  233871: 3d2a475
v: v3
  • Loading branch information
Dmitry Kravkov authored and David S. Miller committed Mar 7, 2011
1 parent bc8ac21 commit 01234c4
Show file tree
Hide file tree
Showing 2 changed files with 4 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: b65a0e0c84cf489bfa00d6aa6c48abc5a237100f
refs/heads/master: c4154f25c85a44c8ff331c3d28e8d9d2f710a553
5 changes: 3 additions & 2 deletions trunk/drivers/net/bnx2x/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2092,8 +2092,9 @@ static void bnx2x_cmng_fns_init(struct bnx2x *bp, u8 read_cfg, u8 cmng_type)
bnx2x_calc_vn_weight_sum(bp);

/* calculate and set min-max rate for each vn */
for (vn = VN_0; vn < E1HVN_MAX; vn++)
bnx2x_init_vn_minmax(bp, vn);
if (bp->port.pmf)
for (vn = VN_0; vn < E1HVN_MAX; vn++)
bnx2x_init_vn_minmax(bp, vn);

/* always enable rate shaping and fairness */
bp->cmng.flags.cmng_enables |=
Expand Down

0 comments on commit 01234c4

Please sign in to comment.