]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/tg3.c
tg3: Assign rx ret producer indexes by vector
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 1 Sep 2009 13:19:05 +0000 (13:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2009 07:43:58 +0000 (00:43 -0700)
commit8d9d7cfc0ec2fe37ff9afd74326d03f38f96ad1b
tree3fc4ef598534d0e309a4a980b29e3a601f4581e1
parent0c1d0e2b05e92ad847b3ebe1c75b7974086bc8fa
tg3: Assign rx ret producer indexes by vector

When RSS is enabled, the status block format changes slightly.  The
"rx_jumbo_consumer", "reserved", and "rx_mini_consumer" members get
mapped to the other three rx return ring producer indexes.  This patch
introduces a new per-interrupt member which identifies which location
in the status block a particular vector should look for return ring
updates.

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