aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-09-30 06:34:35 -0400
committerDavid S. Miller <davem@davemloft.net>2010-10-01 03:24:44 -0400
commit2c49a44df33e22e1f48bd8d51781e7f38d55d002 (patch)
treec1d9aefa27c68970250854282815cc1a2a9f2912 /drivers/net/tg3.h
parent1da85aa3db6878639e407548dad5b2404443e2c5 (diff)
tg3: Prepare for larger rx ring sizes
This patch adds two new variables to track the size of the standard and jumbo rx producer ring sizes. The code is then pivoted to these variables from preprocessor constants. 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, 2 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 241e31487166..9763298c22c6 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2762,6 +2762,8 @@ struct tg3 {
2762 void (*write32_rx_mbox) (struct tg3 *, u32, 2762 void (*write32_rx_mbox) (struct tg3 *, u32,
2763 u32); 2763 u32);
2764 u32 rx_copy_thresh; 2764 u32 rx_copy_thresh;
2765 u32 rx_std_ring_mask;
2766 u32 rx_jmb_ring_mask;
2765 u32 rx_pending; 2767 u32 rx_pending;
2766 u32 rx_jumbo_pending; 2768 u32 rx_jumbo_pending;
2767 u32 rx_std_max_post; 2769 u32 rx_std_max_post;