diff options
author | Auke Kok <auke\-jan.h.kok@intel.com> | 2006-11-01 11:47:39 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-02 00:11:59 -0500 |
commit | 21c4d5e07859a6fc0f62be37da15b161e142c8d1 (patch) | |
tree | bf4c3810c1c7a458f4c912c7b6da42bf843616c8 | |
parent | 87ca4e5b8d729fc157a0a599d78ccab245fc0602 (diff) |
e1000: Enble early receive (ERT) on 82573
Enable early receives on 82573 for jumbo frame performance. Jumbo's
are only supported on 82573L with ASPM disabled.
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index 38ee39e570ea..93b97c6b8a63 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -1934,6 +1934,12 @@ e1000_configure_rx(struct e1000_adapter *adapter) | |||
1934 | E1000_WRITE_REG(hw, RXCSUM, rxcsum); | 1934 | E1000_WRITE_REG(hw, RXCSUM, rxcsum); |
1935 | } | 1935 | } |
1936 | 1936 | ||
1937 | /* enable early receives on 82573, only takes effect if using > 2048 | ||
1938 | * byte total frame size. for example only for jumbo frames */ | ||
1939 | #define E1000_ERT_2048 0x100 | ||
1940 | if (hw->mac_type == e1000_82573) | ||
1941 | E1000_WRITE_REG(hw, ERT, E1000_ERT_2048); | ||
1942 | |||
1937 | /* Enable Receives */ | 1943 | /* Enable Receives */ |
1938 | E1000_WRITE_REG(hw, RCTL, rctl); | 1944 | E1000_WRITE_REG(hw, RCTL, rctl); |
1939 | } | 1945 | } |