tg3: Prepare for larger rx ring sizes
authorMatt Carlson <mcarlson@broadcom.com>
Thu, 30 Sep 2010 10:34:35 +0000 (10:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Oct 2010 07:24:44 +0000 (00:24 -0700)
commit2c49a44df33e22e1f48bd8d51781e7f38d55d002
treec1d9aefa27c68970250854282815cc1a2a9f2912
parent1da85aa3db6878639e407548dad5b2404443e2c5
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>
drivers/net/tg3.c
drivers/net/tg3.h