Hi,

On Thu, Apr 20, 2006 at 01:50:40PM -0700, Andrew Grover wrote:
> 
> Any socket recv of less than this ammount will not be offloaded
[...]
> --- a/net/core/user_dma.c
> +++ b/net/core/user_dma.c
> @@ -33,6 +33,10 @@
>  
>  #ifdef CONFIG_NET_DMA
>  
> +#define NET_DMA_DEFAULT_COPYBREAK 1024
> +
> +int sysctl_tcp_dma_copybreak = NET_DMA_DEFAULT_COPYBREAK;
> +

The breakpoint is highly likely to be at different points on various
architectures and platforms depending on what they look like, where in
the system the DMA engine is, how efficient regular memcpy is, etc.

I would like to see it as a config option instead, so it will at least
be possible to tune per-arch (via default config, etc).


-Olof

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to