diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2006-12-15 04:39:45 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-26 15:51:30 -0500 |
commit | 018ea44ef1eade417296c4a57afe3cd963268433 (patch) | |
tree | 1be60d1e3f76f49c7675da5c314576ff601db644 /drivers/net/e1000/e1000_hw.h | |
parent | d89b6c6750e7d7527603b573ec60ba787f5c04a6 (diff) |
[PATCH] e1000: Fix PBA allocation calculations
Assign the PBA to be large enough to contain at least 2 jumbo frames on
all adapters. This dramatically increases performance on several adapters
and fixes TX performance degradation issues where the PBA was misallocated
in the old algorithm.
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/e1000/e1000_hw.h')
-rw-r--r-- | drivers/net/e1000/e1000_hw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000_hw.h b/drivers/net/e1000/e1000_hw.h index f4d01e169c48..15b8625c40c1 100644 --- a/drivers/net/e1000/e1000_hw.h +++ b/drivers/net/e1000/e1000_hw.h | |||
@@ -2422,6 +2422,7 @@ struct e1000_host_command_info { | |||
2422 | #define E1000_PBA_8K 0x0008 /* 8KB, default Rx allocation */ | 2422 | #define E1000_PBA_8K 0x0008 /* 8KB, default Rx allocation */ |
2423 | #define E1000_PBA_12K 0x000C /* 12KB, default Rx allocation */ | 2423 | #define E1000_PBA_12K 0x000C /* 12KB, default Rx allocation */ |
2424 | #define E1000_PBA_16K 0x0010 /* 16KB, default TX allocation */ | 2424 | #define E1000_PBA_16K 0x0010 /* 16KB, default TX allocation */ |
2425 | #define E1000_PBA_20K 0x0014 | ||
2425 | #define E1000_PBA_22K 0x0016 | 2426 | #define E1000_PBA_22K 0x0016 |
2426 | #define E1000_PBA_24K 0x0018 | 2427 | #define E1000_PBA_24K 0x0018 |
2427 | #define E1000_PBA_30K 0x001E | 2428 | #define E1000_PBA_30K 0x001E |