RE: [PATCH 3/8] [I/OAT] Setup the networking subsystem as a DMA client

2006-03-13 Thread Leech, Christopher
+#ifdef CONFIG_NET_DMA +#include linux/dmaengine.h +#endif There are still a number of instances of this in the patch series. Did you decide to keep the ifdefs in there for some reason? No, I just missed them in header files. Thanks. - To unsubscribe from this list: send the

Re: [PATCH 3/8] [I/OAT] Setup the networking subsystem as a DMA client

2006-03-11 Thread Andrew Morton
Chris Leech [EMAIL PROTECTED] wrote: There seems to be a small race here. +static void net_dma_rebalance(void) +{ +unsigned int cpu, i, n; +struct dma_chan *chan; + +lock_cpu_hotplug(); + +if (net_dma_count == 0) { +for_each_online_cpu(cpu) +

Re: [PATCH 3/8] [I/OAT] Setup the networking subsystem as a DMA client

2006-03-11 Thread Andrew Morton
Chris Leech [EMAIL PROTECTED] wrote: +#ifdef CONFIG_NET_DMA +#include linux/dmaengine.h +#endif There are still a number of instances of this in the patch series. Did you decide to keep the ifdefs in there for some reason? - To unsubscribe from this list: send the line unsubscribe netdev

[PATCH 3/8] [I/OAT] Setup the networking subsystem as a DMA client

2006-03-10 Thread Chris Leech
Attempts to allocate per-CPU DMA channels Signed-off-by: Chris Leech [EMAIL PROTECTED] --- drivers/dma/Kconfig | 12 + include/linux/netdevice.h |6 +++ include/net/netdma.h | 37 + net/core/dev.c| 100