Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214524
b: refs/heads/master
c: f0392d2
h: refs/heads/master
v: v3
  • Loading branch information
Matt Carlson authored and David S. Miller committed Sep 15, 2010
1 parent 4c3a7fc commit f36ec91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 41a8a7ee4a78216962f3afcea5968c04d0ab3b08
refs/heads/master: f0392d24485e4c144d2741a5424f069b8b5f30e7
9 changes: 1 addition & 8 deletions trunk/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 f36ec91

Please sign in to comment.