Re: [PATCH net 0/9] several fixups for virtio-net XDP

From: John Fastabend
Date: Fri Dec 23 2016 - 12:10:30 EST


On 16-12-23 06:37 AM, Jason Wang wrote:
> Merry Xmas and a Happy New year to all:
>
> This series tries to fixes several issues for virtio-net XDP which
> could be categorized into several parts:
>
> - fix several issues during XDP linearizing
> - allow csumed packet to work for XDP_PASS
> - make EWMA rxbuf size estimation works for XDP
> - forbid XDP when GUEST_UFO is support
> - remove big packet XDP support
> - add XDP support or small buffer
>
> Please see individual patches for details.
>
> Thanks
>
> Jason Wang (9):
> virtio-net: remove the warning before XDP linearizing
> virtio-net: correctly xmit linearized page on XDP_TX
> virtio-net: fix page miscount during XDP linearizing
> virtio-net: correctly handle XDP_PASS for linearized packets
> virtio-net: unbreak csumed packets for XDP_PASS
> virtio-net: make rx buf size estimation works for XDP
> virtio-net: forbid XDP when VIRTIO_NET_F_GUEST_UFO is support
> virtio-net: remove big packet XDP codes
> virtio-net: XDP support for small buffers
>
> drivers/net/virtio_net.c | 172 ++++++++++++++++++++++++++++-------------------
> 1 file changed, 102 insertions(+), 70 deletions(-)
>

Thanks a lot Jason. The last piece that is needed is support to
complete XDP support is to get the adjust_head part correct. I'll
send out a patch in a bit but will need to merge it on top of this
set.

.John