diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2010-06-17 14:59:27 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-23 15:58:39 -0400 |
commit | dbcb9fec5c79780152e32282297de6ddb1f6a43b (patch) | |
tree | 0ee67157ec29215cdd4cf3e7c267ca199e5d8d2c /drivers | |
parent | f2e2b3abe4f491130cfda814a8547783b08f10c2 (diff) |
e1000e: packet split should not be used with early receive
Originally it was thought there were issues with ICHx/PCH parts with packet
split when jumbo frames were enabled but in fact it is really only when
early-receive is enabled (via ERT register) on these parts. Use packet
split with jumbos but only when early-receive is not enabled.
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/e1000e/netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index aa14976c8221..71592ed2e686 100644 --- a/drivers/net/e1000e/netdev.c +++ b/drivers/net/e1000e/netdev.c | |||
@@ -2772,7 +2772,7 @@ static void e1000_setup_rctl(struct e1000_adapter *adapter) | |||
2772 | * per packet. | 2772 | * per packet. |
2773 | */ | 2773 | */ |
2774 | pages = PAGE_USE_COUNT(adapter->netdev->mtu); | 2774 | pages = PAGE_USE_COUNT(adapter->netdev->mtu); |
2775 | if (!(adapter->flags & FLAG_IS_ICH) && (pages <= 3) && | 2775 | if (!(adapter->flags & FLAG_HAS_ERT) && (pages <= 3) && |
2776 | (PAGE_SIZE <= 16384) && (rctl & E1000_RCTL_LPE)) | 2776 | (PAGE_SIZE <= 16384) && (rctl & E1000_RCTL_LPE)) |
2777 | adapter->rx_ps_pages = pages; | 2777 | adapter->rx_ps_pages = pages; |
2778 | else | 2778 | else |