+#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
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)
+
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
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