All of lore.kernel.org
 help / color / mirror / Atom feed
* multiqueue interrupts...
@ 2008-09-19  2:38 David Miller
  2008-09-19 11:38 ` Ben Hutchings
       [not found] ` <41b516cb0809191050t6c9783dele8926f697854bb1@mail.gmail.com>
  0 siblings, 2 replies; 13+ messages in thread
From: David Miller @ 2008-09-19  2:38 UTC (permalink / raw)
  To: netdev


During kernel summit I was speaking with Arjan van de Ven
about irqbalanced and networking card multiqueue interrupts.

In order for irqbalanaced to make smart decisions, what needs to
happen in drivers is that the individual interrupts need to be
named in such a way that he can tell by looking at /proc/interrupts
output that these interrupts are related.

I would suggest that people use something like:

	char buf[IFNAMSIZ+6];

	sprintf(buf, "%s-%s-%d",
	        netdev->name,
		(RX_INTERRUPT ? "rx" : "tx"),
		queue->index);

So on a multiqueue card with 2 RX queues and 2 TX queues we'd
have names like:

	eth0-rx-0
	eth0-rx-1
	eth0-tx-0
	eth0-tx-1

So let's make an effort to get this done right in 2.6.28 and meanwhile
Arjan can add the irqbalanced code.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-09-19 22:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-19  2:38 multiqueue interrupts David Miller
2008-09-19 11:38 ` Ben Hutchings
2008-09-19 12:29   ` Brice Goglin
2008-09-19 20:12     ` David Miller
2008-09-19 20:12   ` David Miller
     [not found] ` <41b516cb0809191050t6c9783dele8926f697854bb1@mail.gmail.com>
2008-09-19 18:18   ` Matthew Wilcox
2008-09-19 20:14     ` David Miller
2008-09-19 20:57     ` Brandeburg, Jesse
2008-09-19 21:09       ` David Miller
2008-09-19 21:15         ` Matthew Wilcox
2008-09-19 22:11     ` Arjan van de Ven
2008-09-19 22:24       ` Andy Fleming
2008-09-19 22:28         ` Arjan van de Ven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.