diff options
author | Chris Leech <christopher.leech@intel.com> | 2006-06-18 08:24:58 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-06-18 08:24:58 +0400 |
commit | db21733488f84a596faaad0d05430b3f51804692 (patch) | |
tree | a2c1f6d39ce27d2e86b395f2bf536c1ab7396411 /include/linux | |
parent | 57c651f74cd8383df10a648e677902849de1bc0b (diff) | |
download | linux-db21733488f84a596faaad0d05430b3f51804692.tar.xz |
[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 @@ #include <linux/config.h> #include <linux/device.h> #include <linux/percpu.h> +#include <linux/dmaengine.h> struct divert_blk; struct vlan_group; @@ -593,6 +594,9 @@ struct softnet_data struct sk_buff *completion_queue; struct net_device backlog_dev; /* Sorry. 8) */ +#ifdef CONFIG_NET_DMA + struct dma_chan *net_dma; +#endif }; DECLARE_PER_CPU(struct softnet_data,softnet_data); |