diff options
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 c3a430cfbe0..38f1b19b776 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -8827,16 +8827,9 @@ static bool tg3_enable_msix(struct tg3 *tp) | |||
8827 | tp->napi[i].irq_vec = msix_ent[i].vector; | 8827 | tp->napi[i].irq_vec = msix_ent[i].vector; |
8828 | 8828 | ||
8829 | tp->dev->real_num_tx_queues = 1; | 8829 | tp->dev->real_num_tx_queues = 1; |
8830 | if (tp->irq_cnt > 1) { | 8830 | if (tp->irq_cnt > 1) |
8831 | tp->tg3_flags3 |= TG3_FLG3_ENABLE_RSS; | 8831 | tp->tg3_flags3 |= TG3_FLG3_ENABLE_RSS; |
8832 | 8832 | ||
8833 | if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5717 || | ||
8834 | GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5719) { | ||
8835 | tp->tg3_flags3 |= TG3_FLG3_ENABLE_TSS; | ||
8836 | tp->dev->real_num_tx_queues = tp->irq_cnt - 1; | ||
8837 | } | ||
8838 | } | ||
8839 | |||
8840 | return true; | 8833 | return true; |
8841 | } | 8834 | } |
8842 | 8835 | ||