On 12/19/18 6:49 PM, Alexei Starovoitov wrote:
> On Sun, Dec 16, 2018 at 03:47:04PM -0800, John Fastabend wrote:
>> This adds metadata to sk_msg_md for BPF programs to read the sk_msg
>> size.
>>
>> When the SK_MSG program is running under an application that is using
>> sendfile the data is not co
On Sun, Dec 16, 2018 at 03:47:04PM -0800, John Fastabend wrote:
> This adds metadata to sk_msg_md for BPF programs to read the sk_msg
> size.
>
> When the SK_MSG program is running under an application that is using
> sendfile the data is not copied into sk_msg buffers by default. Rather
> the BPF
This adds metadata to sk_msg_md for BPF programs to read the sk_msg
size.
When the SK_MSG program is running under an application that is using
sendfile the data is not copied into sk_msg buffers by default. Rather
the BPF program uses sk_msg_pull_data to read the bytes in. This
avoids doing the c