summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSreenivasa Honnur <Sreenivasa.Honnur@neterion.com>2008-03-25 20:11:56 +0100
committerJeff Garzik <jeff@garzik.org>2008-03-26 04:42:07 +0100
commitf6f4bfa3561a2d8e949cab0d28e0db6d2b13641d (patch)
tree6dea5567726376beeea8b4e1a288c4f5fbacbc9d
parentb44: Truncate PHY address (diff)
downloadlinux-f6f4bfa3561a2d8e949cab0d28e0db6d2b13641d.tar.xz
linux-f6f4bfa3561a2d8e949cab0d28e0db6d2b13641d.zip
S2io: Handle TX completions on the same CPU as the sender for MIS-X interrupts
- 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>
-rw-r--r--drivers/net/s2io.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c
index c72787adeba3..3c915b82e199 100644
--- a/drivers/net/s2io.c
+++ b/drivers/net/s2io.c
@@ -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++;