aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-01-20 11:58:03 -0500
committerDavid S. Miller <davem@davemloft.net>2010-01-20 22:20:58 -0500
commit666bc831cf820e16cbd0c2d5be780c512b1afe15 (patch)
treecc3b0a085cddf1dcb65f464361ad90d04dbccd92 /drivers/net/tg3.h
parent614b05900ec3516b835cd06f848ef6bc915beeea (diff)
tg3: Improve internal resource allocations
The 5717 and the 57765 have more resources at their disposal internally. This patch tunes the driver to get better performance. The adjustments made here only apply to the 57765 and 5717 asic revs. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Reviewed-by: Benjamin Li <benli@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r--drivers/net/tg3.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 44a505d07e20..91139fdf7f43 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -1203,14 +1203,18 @@
1203#define DEFAULT_MB_MACRX_LOW_WATER 0x00000020 1203#define DEFAULT_MB_MACRX_LOW_WATER 0x00000020
1204#define DEFAULT_MB_MACRX_LOW_WATER_5705 0x00000010 1204#define DEFAULT_MB_MACRX_LOW_WATER_5705 0x00000010
1205#define DEFAULT_MB_MACRX_LOW_WATER_5906 0x00000004 1205#define DEFAULT_MB_MACRX_LOW_WATER_5906 0x00000004
1206#define DEFAULT_MB_MACRX_LOW_WATER_57765 0x0000002a
1206#define DEFAULT_MB_MACRX_LOW_WATER_JUMBO 0x00000098 1207#define DEFAULT_MB_MACRX_LOW_WATER_JUMBO 0x00000098
1207#define DEFAULT_MB_MACRX_LOW_WATER_JUMBO_5780 0x0000004b 1208#define DEFAULT_MB_MACRX_LOW_WATER_JUMBO_5780 0x0000004b
1209#define DEFAULT_MB_MACRX_LOW_WATER_JUMBO_57765 0x0000007e
1208#define BUFMGR_MB_HIGH_WATER 0x00004418 1210#define BUFMGR_MB_HIGH_WATER 0x00004418
1209#define DEFAULT_MB_HIGH_WATER 0x00000060 1211#define DEFAULT_MB_HIGH_WATER 0x00000060
1210#define DEFAULT_MB_HIGH_WATER_5705 0x00000060 1212#define DEFAULT_MB_HIGH_WATER_5705 0x00000060
1211#define DEFAULT_MB_HIGH_WATER_5906 0x00000010 1213#define DEFAULT_MB_HIGH_WATER_5906 0x00000010
1214#define DEFAULT_MB_HIGH_WATER_57765 0x000000a0
1212#define DEFAULT_MB_HIGH_WATER_JUMBO 0x0000017c 1215#define DEFAULT_MB_HIGH_WATER_JUMBO 0x0000017c
1213#define DEFAULT_MB_HIGH_WATER_JUMBO_5780 0x00000096 1216#define DEFAULT_MB_HIGH_WATER_JUMBO_5780 0x00000096
1217#define DEFAULT_MB_HIGH_WATER_JUMBO_57765 0x000000ea
1214#define BUFMGR_RX_MB_ALLOC_REQ 0x0000441c 1218#define BUFMGR_RX_MB_ALLOC_REQ 0x0000441c
1215#define BUFMGR_MB_ALLOC_BIT 0x10000000 1219#define BUFMGR_MB_ALLOC_BIT 0x10000000
1216#define BUFMGR_RX_MB_ALLOC_RESP 0x00004420 1220#define BUFMGR_RX_MB_ALLOC_RESP 0x00004420