tg3: Adjust RSS ring allocation strategies
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 1 Sep 2009 13:16:33 +0000 (13:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2009 07:43:52 +0000 (00:43 -0700)
commit0c1d0e2b05e92ad847b3ebe1c75b7974086bc8fa
treefab2d998ab474a4969f1717812fd7f80b047e616
parentbaf8a94a572928710e9e60967d153a7bf3aebd9c
tg3: Adjust RSS ring allocation strategies

When multivector RSS is enabled, the first interrupt vector is only used
to report link interrupts and error conditions.  This patch changes the
code so that rx and tx ring resources are not allocated for this vector.

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