aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2010-11-24 01:01:25 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2010-12-11 01:13:08 -0500
commited5c2b0b78e5467f7948bef92b21f3c76823f392 (patch)
treec65953d1001154b155c4af3ff6d4fbf4652774b8 /drivers
parenta82a14f4cdcfedb27eacec8eb4d9e47d42c10d43 (diff)
e1000e: 82574/82583 performance improvement
Increasing the transmit fifo by 4K (by decreasing the receive fifo size specified in .pba by the same amount) increases Tx performance. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Emil Tantilov <emil.s.tantilov@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers')
-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 6942e2f86eac..280d41fc2a2d 100644
--- a/drivers/net/e1000e/82571.c
+++ b/drivers/net/e1000e/82571.c
@@ -2005,7 +2005,7 @@ struct e1000_info e1000_82574_info = {
2005 | FLAG_HAS_AMT 2005 | FLAG_HAS_AMT
2006 | FLAG_HAS_CTRLEXT_ON_LOAD, 2006 | FLAG_HAS_CTRLEXT_ON_LOAD,
2007 .flags2 = FLAG2_CHECK_PHY_HANG, 2007 .flags2 = FLAG2_CHECK_PHY_HANG,
2008 .pba = 36, 2008 .pba = 32,
2009 .max_hw_frame_size = DEFAULT_JUMBO, 2009 .max_hw_frame_size = DEFAULT_JUMBO,
2010 .get_variants = e1000_get_variants_82571, 2010 .get_variants = e1000_get_variants_82571,
2011 .mac_ops = &e82571_mac_ops, 2011 .mac_ops = &e82571_mac_ops,
@@ -2022,7 +2022,7 @@ struct e1000_info e1000_82583_info = {
2022 | FLAG_HAS_SMART_POWER_DOWN 2022 | FLAG_HAS_SMART_POWER_DOWN
2023 | FLAG_HAS_AMT 2023 | FLAG_HAS_AMT
2024 | FLAG_HAS_CTRLEXT_ON_LOAD, 2024 | FLAG_HAS_CTRLEXT_ON_LOAD,
2025 .pba = 36, 2025 .pba = 32,
2026 .max_hw_frame_size = ETH_FRAME_LEN + ETH_FCS_LEN, 2026 .max_hw_frame_size = ETH_FRAME_LEN + ETH_FCS_LEN,
2027 .get_variants = e1000_get_variants_82571, 2027 .get_variants = e1000_get_variants_82571,
2028 .mac_ops = &e82571_mac_ops, 2028 .mac_ops = &e82571_mac_ops,