Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134344
b: refs/heads/master
c: fa4dfae
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Duyck authored and David S. Miller committed Feb 7, 2009
1 parent 92d3af7 commit a2785ba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 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: a8564f033efade1b6f027c4bb807cdf8cf5c9570
refs/heads/master: fa4dfae0ce703976578015902025137d5e268501
11 changes: 7 additions & 4 deletions trunk/drivers/net/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -888,11 +888,14 @@ void igb_reset(struct igb_adapter *adapter)
/* Repartition Pba for greater than 9k mtu
* To take effect CTRL.RST is required.
*/
if (mac->type != e1000_82576) {
pba = E1000_PBA_34K;
}
else {
switch (mac->type) {
case e1000_82576:
pba = E1000_PBA_64K;
break;
case e1000_82575:
default:
pba = E1000_PBA_34K;
break;
}

if ((adapter->max_frame_size > ETH_FRAME_LEN + ETH_FCS_LEN) &&
Expand Down

0 comments on commit a2785ba

Please sign in to comment.