> > +#ifdef CONFIG_NET_DMA
> > +#include
> > +#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 line "unsub
Chris Leech <[EMAIL PROTECTED]> wrote:
>
> +#ifdef CONFIG_NET_DMA
> +#include
> +#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" in
the bod
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
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
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 | 36
net/core/dev.c| 102 +