tg3: Off-by-one error in RSS setup
authorMatt Carlson <mcarlson@broadcom.com>
Sat, 5 Jun 2010 17:24:33 +0000 (17:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jun 2010 00:56:00 +0000 (17:56 -0700)
commit2601d8a0049c8b5d29cd5adb844a305a804e505f
treeea2ab7f93806fd5e13004b623d3c8c25b51a380b
parentb28f6428af279ffb9e97ee00486a29498b7fcfdc
tg3: Off-by-one error in RSS setup

The driver was incorrectly programming the indirection table such that
rx traffic intended for the second ring went to the first ring, rx
traffic intended for the third ring went to the second ring, etc.  This
patch changes the code so that rx traffic is diverted to the proper
ring.

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