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>
This commit is contained in:
committed by
David S. Miller
parent
28b581ab0a
commit
56536e9ce7
@ -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;
|
||||
|
Reference in New Issue
Block a user