]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit73980d3bb34cb1d6894b6bebd761b334ddd245b7
treeea2ab7f93806fd5e13004b623d3c8c25b51a380b
parent53286a062c2b1d9f451c4c9521c2d3467a6b3966
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