]> err.no Git - linux-2.6/commitdiff
S2io: Handle TX completions on the same CPU as the sender for MIS-X interrupts
authorSreenivasa Honnur <Sreenivasa.Honnur@neterion.com>
Tue, 25 Mar 2008 19:11:56 +0000 (15:11 -0400)
committerJeff Garzik <jeff@garzik.org>
Wed, 26 Mar 2008 03:42:07 +0000 (23:42 -0400)
- 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>
drivers/net/s2io.c

index c72787adeba33bbe31dbbc52d9559551226c1d81..3c915b82e19982455b7b8dd0bdfd704c14ea9e98 100644 (file)
@@ -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++;