diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2010-09-15 08:59:54 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-15 21:16:11 (GMT) |
commit | f0392d24485e4c144d2741a5424f069b8b5f30e7 (patch) | |
tree | 3dc44238b0a60a439e6594e1835891b56f99c6e9 /drivers/net/tg3.c | |
parent | 41a8a7ee4a78216962f3afcea5968c04d0ab3b08 (diff) | |
download | linux-f0392d24485e4c144d2741a5424f069b8b5f30e7.tar.xz |
tg3: Disable TSS
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>
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index c3a430c..38f1b19 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -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; } |