diff options
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 4fa8ee30b70f..75ebebc9115a 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -9037,8 +9037,14 @@ static bool tg3_enable_msix(struct tg3 *tp) | |||
9037 | pci_disable_msix(tp->pdev); | 9037 | pci_disable_msix(tp->pdev); |
9038 | return false; | 9038 | return false; |
9039 | } | 9039 | } |
9040 | if (tp->irq_cnt > 1) | 9040 | |
9041 | if (tp->irq_cnt > 1) { | ||
9041 | tp->tg3_flags3 |= TG3_FLG3_ENABLE_RSS; | 9042 | tp->tg3_flags3 |= TG3_FLG3_ENABLE_RSS; |
9043 | if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5719) { | ||
9044 | tp->tg3_flags3 |= TG3_FLG3_ENABLE_TSS; | ||
9045 | netif_set_real_num_tx_queues(tp->dev, tp->irq_cnt - 1); | ||
9046 | } | ||
9047 | } | ||
9042 | 9048 | ||
9043 | return true; | 9049 | return true; |
9044 | } | 9050 | } |