diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2010-09-30 12:34:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-01 09:24:44 +0200 |
commit | 2c49a44df33e22e1f48bd8d51781e7f38d55d002 (patch) | |
tree | c1d9aefa27c68970250854282815cc1a2a9f2912 /drivers/net/tg3.h | |
parent | tg3: Futureproof the loopback test (diff) | |
download | linux-2c49a44df33e22e1f48bd8d51781e7f38d55d002.tar.xz linux-2c49a44df33e22e1f48bd8d51781e7f38d55d002.zip |
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.h | 2 |
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 { void (*write32_rx_mbox) (struct tg3 *, u32, u32); u32 rx_copy_thresh; + u32 rx_std_ring_mask; + u32 rx_jmb_ring_mask; u32 rx_pending; u32 rx_jumbo_pending; u32 rx_std_max_post; |