]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Add option to use a separate channel for TX completions
authorNeil Turton <nturton@solarflare.com>
Sat, 13 Dec 2008 05:41:06 +0000 (21:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Dec 2008 05:57:44 +0000 (21:57 -0800)
commit2640c726f41bd89324c4e0b286eb3c5f1c23183e
tree900aa9f5950c1efa01cab8c571a97272b3dc0ce3
parent4e896d9b8dc137aa4e412d6ce62cf426f62333b9
sfc: Add option to use a separate channel for TX completions

In a bidirectional forwarding test, we find that the best performance
is achieved by sending the TX completion interrupts from one NIC to a
CPU which shares an L2 cache with RX completion interrupts from the
other NIC.  To facilitate this, add an option (through a module
parameter) to create separate channels for RX and TX completion with
separate IRQs when MSI-X is available.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/efx.c
drivers/net/sfc/net_driver.h