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

2019-07-01 Thread Yuya Kusakabe
On 7/2/19 12:59 PM, Jason Wang wrote: > > On 2019/7/2 上午11:15, 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 >> --- >> v2: >>   - kee

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

2019-07-01 Thread Jason Wang
On 2019/7/2 上午11:15, 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 --- v2: - keep copy untouched in page_to_skb(). - preserve the vnet heade

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

2019-07-01 Thread Yuya Kusakabe
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 --- v2: - keep copy untouched in page_to_skb(). - preserve the vnet header in receive_small(). - fix indentation. --- d