Re: [PATCH bpf-next] virtio_net: add XDP meta data support

2019-07-01 Thread Yuya Kusakabe
On 7/1/19 6:30 PM, Jason Wang wrote: > > On 2019/6/27 下午4:06, Yuya Kusakabe wrote: >> This adds XDP meta data support to both receive_small() and >> receive_mergeable(). >> >> Fixes: de8f3a83b0a0 ("bpf: add meta pointer for direct access") >> Signed-off-by: Yuya Kusakabe >> --- >>   drivers/net/v

Re: [PATCH bpf-next] virtio_net: add XDP meta data support

2019-07-01 Thread Jason Wang
On 2019/6/27 下午4:06, Yuya Kusakabe wrote: This adds XDP meta data support to both receive_small() and receive_mergeable(). Fixes: de8f3a83b0a0 ("bpf: add meta pointer for direct access") Signed-off-by: Yuya Kusakabe --- drivers/net/virtio_net.c | 40 +---

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