Re: [PATCH bpf-next] virtio_net: add XDP meta data support in receive_small()

2019-06-27 Thread Yuya Kusakabe
>> This adds XDP meta data support to the code path receive_small(). >> >> mrg_rxbuf=off is required on qemu, because receive_mergeable() still >> doesn't support XDP meta data. > > >What's the reason for this? I didn't have enough time to add support XDP meta data to receive_mergeable(). But I'll

Re: [PATCH bpf-next] virtio_net: add XDP meta data support in receive_small()

2019-06-26 Thread Jason Wang
On 2019/6/27 上午10:33, Yuya Kusakabe wrote: This adds XDP meta data support to the code path receive_small(). mrg_rxbuf=off is required on qemu, because receive_mergeable() still doesn't support XDP meta data. What's the reason for this? Fixes: de8f3a83b0a0 ("bpf: add meta pointer for di

[PATCH bpf-next] virtio_net: add XDP meta data support in receive_small()

2019-06-26 Thread Yuya Kusakabe
This adds XDP meta data support to the code path receive_small(). mrg_rxbuf=off is required on qemu, because receive_mergeable() still doesn't support XDP meta data. Fixes: de8f3a83b0a0 ("bpf: add meta pointer for direct access") Signed-off-by: Yuya Kusakabe --- drivers/net/virtio_net.c | 10 ++