aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic.h
diff options
context:
space:
mode:
authorDhananjay Phadke <dhananjay@netxen.com>2009-07-27 14:08:00 -0400
committerDavid S. Miller <davem@davemloft.net>2009-07-27 14:15:24 -0400
commit24767ab16913bc27ba7a85698e5c0f591368647d (patch)
tree5d4bd3dd498a8f9b54dd6da4b81c1492ac2b3ef5 /drivers/net/netxen/netxen_nic.h
parent1bcfd790c49341fcbdce9526a007c4e2b9d54c7c (diff)
netxen: Add default and limit macros for ring sizes.
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic.h')
-rw-r--r--drivers/net/netxen/netxen_nic.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h
index 3a4cbd5dcbd9..e017827472ac 100644
--- a/drivers/net/netxen/netxen_nic.h
+++ b/drivers/net/netxen/netxen_nic.h
@@ -200,13 +200,20 @@
200#define RCV_RING_JUMBO 1 200#define RCV_RING_JUMBO 1
201#define RCV_RING_LRO 2 201#define RCV_RING_LRO 2
202 202
203#define MAX_CMD_DESCRIPTORS 4096 203#define MIN_CMD_DESCRIPTORS 64
204#define MAX_RCV_DESCRIPTORS 16384 204#define MIN_RCV_DESCRIPTORS 64
205#define MAX_CMD_DESCRIPTORS_HOST 1024 205#define MIN_JUMBO_DESCRIPTORS 32
206#define MAX_RCV_DESCRIPTORS_1G 2048 206
207#define MAX_RCV_DESCRIPTORS_10G 4096 207#define MAX_CMD_DESCRIPTORS 1024
208#define MAX_JUMBO_RCV_DESCRIPTORS 1024 208#define MAX_RCV_DESCRIPTORS_1G 4096
209#define MAX_RCV_DESCRIPTORS_10G 8192
210#define MAX_JUMBO_RCV_DESCRIPTORS_1G 512
211#define MAX_JUMBO_RCV_DESCRIPTORS_10G 1024
209#define MAX_LRO_RCV_DESCRIPTORS 8 212#define MAX_LRO_RCV_DESCRIPTORS 8
213
214#define DEFAULT_RCV_DESCRIPTORS_1G 2048
215#define DEFAULT_RCV_DESCRIPTORS_10G 4096
216
210#define NETXEN_CTX_SIGNATURE 0xdee0 217#define NETXEN_CTX_SIGNATURE 0xdee0
211#define NETXEN_CTX_SIGNATURE_V2 0x0002dee0 218#define NETXEN_CTX_SIGNATURE_V2 0x0002dee0
212#define NETXEN_CTX_RESET 0xbad0 219#define NETXEN_CTX_RESET 0xbad0