diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-12-12 21:37:02 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-12 21:57:45 -0800 |
commit | 56536e9ce7c23bbc8519b8f99837493dea8da57d (patch) | |
tree | 45e13f39d0a6b7f7254a474da016fc319cc5f04e /drivers/net/sfc/net_driver.h | |
parent | 28b581ab0a0aa7bc8b22935779ca3e8d6f651ac7 (diff) | |
download | op-kernel-dev-56536e9ce7c23bbc8519b8f99837493dea8da57d.zip op-kernel-dev-56536e9ce7c23bbc8519b8f99837493dea8da57d.tar.gz |
sfc: Provide hints to irqbalance daemon
Allocate IRQs with the name format <device>[-<type>]-<number> so that
future versions of irqbalanced understand what we're doing.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/net_driver.h')
-rw-r--r-- | drivers/net/sfc/net_driver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h index 2c5b5fa..abff908 100644 --- a/drivers/net/sfc/net_driver.h +++ b/drivers/net/sfc/net_driver.h @@ -327,6 +327,7 @@ enum efx_rx_alloc_method { * * @efx: Associated Efx NIC * @channel: Channel instance number + * @name: Name for channel and IRQ * @used_flags: Channel is used by net driver * @enabled: Channel enabled indicator * @irq: IRQ number (MSI and MSI-X only) @@ -357,6 +358,7 @@ enum efx_rx_alloc_method { struct efx_channel { struct efx_nic *efx; int channel; + char name[IFNAMSIZ + 6]; int used_flags; bool enabled; int irq; |