[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180315.144046.1660172203620629706.davem@davemloft.net>
Date: Thu, 15 Mar 2018 14:40:46 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: john.fastabend@...il.com
Cc: ast@...nel.org, daniel@...earbox.net, davejwatson@...com,
netdev@...r.kernel.org
Subject: Re: [bpf-next PATCH v2 03/18] net: do_tcp_sendpages flag to avoid
SKBTX_SHARED_FRAG
From: John Fastabend <john.fastabend@...il.com>
Date: Mon, 12 Mar 2018 12:23:19 -0700
> When calling do_tcp_sendpages() from in kernel and we know the data
> has no references from user side we can omit SKBTX_SHARED_FRAG flag.
> This patch adds an internal flag, NO_SKBTX_SHARED_FRAG that can be used
> to omit setting SKBTX_SHARED_FRAG.
>
> The flag is not exposed to userspace because the sendpage call from
> the splice logic masks out all bits except MSG_MORE.
>
> Signed-off-by: John Fastabend <john.fastabend@...il.com>
Acked-by: David S. Miller <davem@...emloft.net>
Powered by blists - more mailing lists