aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2010-05-04 18:25:42 -0400
committerDavid S. Miller <davem@davemloft.net>2010-05-06 00:15:31 -0400
commitedf15c17420fed108046da50b3d3ae53dfa0e0ae (patch)
tree0fbbcf2ac4affae1dd6d423dcfbcb3ffe2d68552 /drivers/net/e1000e
parentf85e4dfac666e41b91e2b77fa563398e9379d5eb (diff)
e1000e: increase rx fifo size to 36K on 82574 and 82583
This change increases the RX fifo size to 36K for standard frames and decreases the TX fifo size to 4K. The reason for this change is that on slower systems the RX is much more likely to backfill and need space than the TX is. As long as the TX fifo is twice the size of the MTU we should have more than enough TX fifo. Signed-off-by: Alexander Duyck <alexander.h.duyck@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/net/e1000e')
-rw-r--r--drivers/net/e1000e/82571.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e1000e/82571.c b/drivers/net/e1000e/82571.c
index 17a25e19bbba..1e73eddee24a 100644
--- a/drivers/net/e1000e/82571.c
+++ b/drivers/net/e1000e/82571.c
@@ -1845,7 +1845,7 @@ struct e1000_info e1000_82574_info = {
1845 | FLAG_HAS_SMART_POWER_DOWN 1845 | FLAG_HAS_SMART_POWER_DOWN
1846 | FLAG_HAS_AMT 1846 | FLAG_HAS_AMT
1847 | FLAG_HAS_CTRLEXT_ON_LOAD, 1847 | FLAG_HAS_CTRLEXT_ON_LOAD,
1848 .pba = 20, 1848 .pba = 36,
1849 .max_hw_frame_size = DEFAULT_JUMBO, 1849 .max_hw_frame_size = DEFAULT_JUMBO,
1850 .get_variants = e1000_get_variants_82571, 1850 .get_variants = e1000_get_variants_82571,
1851 .mac_ops = &e82571_mac_ops, 1851 .mac_ops = &e82571_mac_ops,
@@ -1862,7 +1862,7 @@ struct e1000_info e1000_82583_info = {
1862 | FLAG_HAS_SMART_POWER_DOWN 1862 | FLAG_HAS_SMART_POWER_DOWN
1863 | FLAG_HAS_AMT 1863 | FLAG_HAS_AMT
1864 | FLAG_HAS_CTRLEXT_ON_LOAD, 1864 | FLAG_HAS_CTRLEXT_ON_LOAD,
1865 .pba = 20, 1865 .pba = 36,
1866 .max_hw_frame_size = ETH_FRAME_LEN + ETH_FCS_LEN, 1866 .max_hw_frame_size = ETH_FRAME_LEN + ETH_FCS_LEN,
1867 .get_variants = e1000_get_variants_82571, 1867 .get_variants = e1000_get_variants_82571,
1868 .mac_ops = &e82571_mac_ops, 1868 .mac_ops = &e82571_mac_ops,