* [PATCH 2.6.25 1/2]S2io: Handle TX completions on the same CPU as the sender for MIS-X interrupts
@ 2008-03-25 19:11 Sreenivasa Honnur
2008-03-26 3:20 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Sreenivasa Honnur @ 2008-03-25 19:11 UTC (permalink / raw)
To: netdev, jeff; +Cc: support
- Handling TX completions on the same cpu as the sender.
Signed-off-by: Surjit Reang <surjit.reang@neterion.com>
---
diff -Nurp 2-0-26-19/drivers/net/s2io.c 2-0-26-21-1/drivers/net/s2io.c
--- 2-0-26-19/drivers/net/s2io.c 2008-03-20 09:22:03.000000000 +0530
+++ 2-0-26-21-1/drivers/net/s2io.c 2008-03-20 10:22:25.000000000 +0530
@@ -4344,6 +4344,9 @@ static int s2io_xmit(struct sk_buff *skb
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++;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 2.6.25 1/2]S2io: Handle TX completions on the same CPU as the sender for MIS-X interrupts
2008-03-25 19:11 [PATCH 2.6.25 1/2]S2io: Handle TX completions on the same CPU as the sender for MIS-X interrupts Sreenivasa Honnur
@ 2008-03-26 3:20 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2008-03-26 3:20 UTC (permalink / raw)
To: Sreenivasa Honnur; +Cc: netdev, support
Sreenivasa Honnur wrote:
> - Handling TX completions on the same cpu as the sender.
>
> Signed-off-by: Surjit Reang <surjit.reang@neterion.com>
> ---
> diff -Nurp 2-0-26-19/drivers/net/s2io.c 2-0-26-21-1/drivers/net/s2io.c
> --- 2-0-26-19/drivers/net/s2io.c 2008-03-20 09:22:03.000000000 +0530
> +++ 2-0-26-21-1/drivers/net/s2io.c 2008-03-20 10:22:25.000000000 +0530
> @@ -4344,6 +4344,9 @@ static int s2io_xmit(struct sk_buff *skb
> 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++;
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-26 3:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-25 19:11 [PATCH 2.6.25 1/2]S2io: Handle TX completions on the same CPU as the sender for MIS-X interrupts Sreenivasa Honnur
2008-03-26 3:20 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).