summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSreenivasa Honnur <Sreenivasa.Honnur@neterion.com>2008-03-25 15:11:56 -0400
committerJeff Garzik <jeff@garzik.org>2008-03-25 23:42:07 -0400
commitf6f4bfa3561a2d8e949cab0d28e0db6d2b13641d (patch)
tree6dea5567726376beeea8b4e1a288c4f5fbacbc9d
parent5ea79631c0c47d28831a0635e8af9da539d449cd (diff)
downloadop-kernel-dev-f6f4bfa3561a2d8e949cab0d28e0db6d2b13641d.zip
op-kernel-dev-f6f4bfa3561a2d8e949cab0d28e0db6d2b13641d.tar.gz
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 c72787a..3c915b8 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++;
OpenPOWER on IntegriCloud