Skip to content

Commit

Permalink
tg3: Disable TSS
Browse files Browse the repository at this point in the history
It was recently discovered that enabling TSS can lockup the device.
This patch disables the feature until a suitable workaround can be
found.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Matt Carlson authored and David S. Miller committed Sep 15, 2010
1 parent 41a8a7e commit f0392d2
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -8827,16 +8827,9 @@ static bool tg3_enable_msix(struct tg3 *tp)
tp->napi[i].irq_vec = msix_ent[i].vector;

tp->dev->real_num_tx_queues = 1;
if (tp->irq_cnt > 1) {
if (tp->irq_cnt > 1)
tp->tg3_flags3 |= TG3_FLG3_ENABLE_RSS;

if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5717 ||
GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5719) {
tp->tg3_flags3 |= TG3_FLG3_ENABLE_TSS;
tp->dev->real_num_tx_queues = tp->irq_cnt - 1;
}
}

return true;
}

Expand Down

0 comments on commit f0392d2

Please sign in to comment.