Commit 5efeeea1 authored by Matt Carlson's avatar Matt Carlson Committed by David S. Miller

tg3: Revert RSS indir tbl setup change

This patch reverts commit 2601d8a0.  A
spectacular set of coincidences made it look as though the table was
setup incorrectly.  The original version was correct.
Signed-off-by: default avatarMatt Carlson <mcarlson@broadcom.com>
Reviewed-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a607072b
......@@ -8237,7 +8237,7 @@ static int tg3_reset_hw(struct tg3 *tp, int reset_phy)
for (i = 0; i < TG3_RSS_INDIR_TBL_SIZE; i++) {
int idx = i % sizeof(val);
ent[idx] = (i % (tp->irq_cnt - 1)) + 1;
ent[idx] = i % (tp->irq_cnt - 1);
if (idx == sizeof(val) - 1) {
tw32(reg, val);
reg += 4;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment