aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2006-01-12 19:50:18 -0500
committerJeff Garzik <jgarzik@pobox.com>2006-01-17 07:40:09 -0500
commit4ee9c02007249cf9c66e368b5d433c6956e05586 (patch)
treeb11e5a80e6528e5e810726761347e6d68a34dc83 /drivers/net/e1000
parent7c5c220e254b2cdcf7083dcaf445820b899f7e8b (diff)
[PATCH] e1000: Fix jumbo frame performance
Partition PBA for Jumbo frames based on MTU size. Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: John Ronciak <john.ronciak@intel.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/e1000')
-rw-r--r--drivers/net/e1000/e1000_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
index 438a931fd55d..4b44bcd0f958 100644
--- a/drivers/net/e1000/e1000_main.c
+++ b/drivers/net/e1000/e1000_main.c
@@ -43,7 +43,7 @@ static char e1000_driver_string[] = "Intel(R) PRO/1000 Network Driver";
43#else 43#else
44#define DRIVERNAPI "-NAPI" 44#define DRIVERNAPI "-NAPI"
45#endif 45#endif
46#define DRV_VERSION "6.1.16-k2"DRIVERNAPI 46#define DRV_VERSION "6.3.9-k2"DRIVERNAPI
47char e1000_driver_version[] = DRV_VERSION; 47char e1000_driver_version[] = DRV_VERSION;
48static char e1000_copyright[] = "Copyright (c) 1999-2005 Intel Corporation."; 48static char e1000_copyright[] = "Copyright (c) 1999-2005 Intel Corporation.";
49 49
@@ -449,7 +449,7 @@ e1000_reset(struct e1000_adapter *adapter)
449 } 449 }
450 450
451 if((adapter->hw.mac_type != e1000_82573) && 451 if((adapter->hw.mac_type != e1000_82573) &&
452 (adapter->rx_buffer_len > E1000_RXBUFFER_8192)) { 452 (adapter->netdev->mtu > E1000_RXBUFFER_8192)) {
453 pba -= 8; /* allocate more FIFO for Tx */ 453 pba -= 8; /* allocate more FIFO for Tx */
454 /* send an XOFF when there is enough space in the 454 /* send an XOFF when there is enough space in the
455 * Rx FIFO to hold one extra full size Rx packet 455 * Rx FIFO to hold one extra full size Rx packet