Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40360
b: refs/heads/master
c: e64d7d0
h: refs/heads/master
v: v3
  • Loading branch information
Jesse Brandeburg authored and Auke Kok committed Oct 24, 2006
1 parent d13c5fb commit ff2ae42
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 225a5dbd68f5271b7425f2f783ae64a1f6863b51
refs/heads/master: e64d7d02090e475cfd7efbc830146d0c6dd579bc
6 changes: 4 additions & 2 deletions trunk/drivers/net/e1000/e1000_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1808,9 +1808,11 @@ e1000_setup_rctl(struct e1000_adapter *adapter)
* followed by the page buffers. Therefore, skb->data is
* sized to hold the largest protocol header.
*/
/* allocations using alloc_page take too long for regular MTU
* so only enable packet split for jumbo frames */
pages = PAGE_USE_COUNT(adapter->netdev->mtu);
if ((adapter->hw.mac_type > e1000_82547_rev_2) && (pages <= 3) &&
PAGE_SIZE <= 16384)
if ((adapter->hw.mac_type >= e1000_82571) && (pages <= 3) &&
PAGE_SIZE <= 16384 && (rctl & E1000_RCTL_LPE))
adapter->rx_ps_pages = pages;
else
adapter->rx_ps_pages = 0;
Expand Down

0 comments on commit ff2ae42

Please sign in to comment.