diff options
author | Chris Leech <christopher.leech@intel.com> | 2006-06-18 00:24:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-06-18 00:24:58 -0400 |
commit | db21733488f84a596faaad0d05430b3f51804692 (patch) | |
tree | a2c1f6d39ce27d2e86b395f2bf536c1ab7396411 /include/linux | |
parent | 57c651f74cd8383df10a648e677902849de1bc0b (diff) |
[I/OAT]: Setup the networking subsystem as a DMA client
Attempts to allocate per-CPU DMA channels
Signed-off-by: Chris Leech <christopher.leech@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/netdevice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index f4169bbb60eb..b5760c67af9c 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -37,6 +37,7 @@ | |||
37 | #include <linux/config.h> | 37 | #include <linux/config.h> |
38 | #include <linux/device.h> | 38 | #include <linux/device.h> |
39 | #include <linux/percpu.h> | 39 | #include <linux/percpu.h> |
40 | #include <linux/dmaengine.h> | ||
40 | 41 | ||
41 | struct divert_blk; | 42 | struct divert_blk; |
42 | struct vlan_group; | 43 | struct vlan_group; |
@@ -593,6 +594,9 @@ struct softnet_data | |||
593 | struct sk_buff *completion_queue; | 594 | struct sk_buff *completion_queue; |
594 | 595 | ||
595 | struct net_device backlog_dev; /* Sorry. 8) */ | 596 | struct net_device backlog_dev; /* Sorry. 8) */ |
597 | #ifdef CONFIG_NET_DMA | ||
598 | struct dma_chan *net_dma; | ||
599 | #endif | ||
596 | }; | 600 | }; |
597 | 601 | ||
598 | DECLARE_PER_CPU(struct softnet_data,softnet_data); | 602 | DECLARE_PER_CPU(struct softnet_data,softnet_data); |