summaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2009-11-13 13:03:48 +0000
committerDavid S. Miller <davem@davemloft.net>2009-11-15 22:14:51 -0800
commit2b2cdb65bec42d38268b2ac115876b066afa7f95 (patch)
tree239a38242e57bc4d56b79d1bbc4e118a0cbc73d9 /drivers/net/tg3.h
parent4361935afe3abc3e5a93006b99197fac1fabbd50 (diff)
downloadblackbird-op-linux-2b2cdb65bec42d38268b2ac115876b066afa7f95.tar.gz
blackbird-op-linux-2b2cdb65bec42d38268b2ac115876b066afa7f95.zip
tg3: Lay proucer ring handling groundwork
The patch increases the number of producer rings available and implements the constructor and destructor code that deals with them. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r--drivers/net/tg3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index e0b86ba3b5b9..715df2b595dc 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2682,7 +2682,7 @@ struct tg3 {
struct vlan_group *vlgrp;
#endif
- struct tg3_rx_prodring_set prodring[1];
+ struct tg3_rx_prodring_set prodring[TG3_IRQ_MAX_VECS - 1];
/* begin "everything else" cacheline(s) section */
OpenPOWER on IntegriCloud