]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit64b68f8a05ab3bbf97f1421bb451421cbd9f2148
treec1d9aefa27c68970250854282815cc1a2a9f2912
parent253b0c6ceadf0080ee05f5f4e02e915dace89dc4
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