summaryrefslogtreecommitdiff
path: root/drivers/net/niu.h
diff options
context:
space:
mode:
authorRobert Olsson <robert.olsson@its.uu.se>2008-11-25 16:41:57 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-25 16:44:38 -0800
commit70340d728f4f4cb49da00a11b10ded492260caa5 (patch)
tree045335bc57c4b1c2b79ef35518f7bd18f3eee948 /drivers/net/niu.h
parent9f782db3f5ceee9aa8de6f853969fbec1b8c6e65 (diff)
downloadlwn-70340d728f4f4cb49da00a11b10ded492260caa5.tar.gz
lwn-70340d728f4f4cb49da00a11b10ded492260caa5.zip
niu: Naming interrupt vectors.
A patch to put names on the niu interrupt vectors according the syntax below. This is needed to assign correct affinity. > 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 Signed-off-by: Robert Olsson <robert.olsson@its.uu.se> Tested-by: Jesper Dangaard Brouer <jdb@comx.dk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/niu.h')
-rw-r--r--drivers/net/niu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/niu.h b/drivers/net/niu.h
index 180ca8ae93de..cf449aad7f15 100644
--- a/drivers/net/niu.h
+++ b/drivers/net/niu.h
@@ -3243,6 +3243,7 @@ struct niu {
#define NIU_FLAGS_XMAC 0x00010000 /* 0=BMAC 1=XMAC */
u32 msg_enable;
+ char irq_name[NIU_NUM_RXCHAN+NIU_NUM_TXCHAN+3][IFNAMSIZ + 6];
/* Protects hw programming, and ring state. */
spinlock_t lock;