Skip to content

Commit

Permalink
S2io: Handle TX completions on the same CPU as the sender for MIS-X i…
Browse files Browse the repository at this point in the history
…nterrupts

- Handling TX completions on the same cpu as the sender.

Signed-off-by: Surjit Reang <surjit.reang@neterion.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Sreenivasa Honnur authored and Jeff Garzik committed Mar 26, 2008
1 parent 5ea7963 commit f6f4bfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/net/s2io.c
Original file line number Diff line number Diff line change
Expand Up @@ -4172,6 +4172,9 @@ static int s2io_xmit(struct sk_buff *skb, struct net_device *dev)
dev->trans_start = jiffies;
spin_unlock_irqrestore(&fifo->tx_lock, flags);

if (sp->config.intr_type == MSI_X)
tx_intr_handler(fifo);

return 0;
pci_map_failed:
stats->pci_map_fail_cnt++;
Expand Down

0 comments on commit f6f4bfa

Please sign in to comment.