tg3: Nullify RSS for loopback test
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 20 Apr 2011 07:57:37 +0000 (07:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Apr 2011 00:05:56 +0000 (17:05 -0700)
commit4a85f09831329bc5a5e4b9bca3f3ecbffb78f858
tree52a78da888c23e4530f7fff9ac49e583283e02ff
parenteb07a9408e05f67caa671bdf2a509a4d2bd05abf
tg3: Nullify RSS for loopback test

The loopback test assumes all traffic goes to the first rx queue.  There
is a 1 in 4 chance this won't be true if RSS is enabled though.  This
patch reprograms the RSS indirection table to route all rx packets to
the first queue.

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