sfc: Add option to use a separate channel for TX completions
commit28b581ab0a0aa7bc8b22935779ca3e8d6f651ac7
authorNeil Turton <nturton@solarflare.com>
Sat, 13 Dec 2008 05:41:06 +0000 (12 21:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Dec 2008 05:57:44 +0000 (12 21:57 -0800)
tree900aa9f5950c1efa01cab8c571a97272b3dc0ce3
parent84ae48fe4c1fe8b79fac015df6ad0b0937a7ae37
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