summaryrefslogtreecommitdiff
path: root/drivers/net/bnx2.h
diff options
context:
space:
mode:
authorBenjamin Li <benli@broadcom.com>2008-07-18 17:55:11 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-18 17:55:11 -0700
commit706bf24038ba88ec77503b4829b16da712a32f04 (patch)
tree522c78dad8ebe426ce9c1244b260a102d50a8c7c /drivers/net/bnx2.h
parent4f83ec19bbd0c78a2158c7a5d28f70d8b4417803 (diff)
downloadlinux-3.10-706bf24038ba88ec77503b4829b16da712a32f04.tar.gz
linux-3.10-706bf24038ba88ec77503b4829b16da712a32f04.tar.bz2
linux-3.10-706bf24038ba88ec77503b4829b16da712a32f04.zip
bnx2: Add TX multiqueue support.
Signed-off-by: Benjamin Li <benli@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r--drivers/net/bnx2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h
index bb7b5d5471d..c3c579f98ed 100644
--- a/drivers/net/bnx2.h
+++ b/drivers/net/bnx2.h
@@ -6509,6 +6509,9 @@ struct l2_fhdr {
#define RX_CID 0
#define RX_RSS_CID 4
#define RX_MAX_RSS_RINGS 7
+#define RX_MAX_RINGS (RX_MAX_RSS_RINGS + 1)
+#define TX_MAX_TSS_RINGS 7
+#define TX_MAX_RINGS (TX_MAX_TSS_RINGS + 1)
#define MB_TX_CID_ADDR MB_GET_CID_ADDR(TX_CID)
#define MB_RX_CID_ADDR MB_GET_CID_ADDR(RX_CID)