tg3: Break out RSS indir table init and assignment
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 14 Dec 2011 11:10:01 +0000 (11:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Dec 2011 18:09:11 +0000 (13:09 -0500)
commitbcebcc468a6bcd3820fe9ad36b34220563efc93a
tree968e863623c8940b7bcac83dc3253609c44efd8d
parentf88788f0da6326cbcaa837e12c8c074027891f07
tg3: Break out RSS indir table init and assignment

This patch creates a new device member to hold the RSS indirection table
and separates out the code that initializes the table from the code that
programs the table into device registers.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c
drivers/net/ethernet/broadcom/tg3.h