Re: [PATCH net 9/9] virtio-net: XDP support for small buffers

From: John Fastabend
Date: Fri Dec 23 2016 - 11:53:17 EST


On 16-12-23 06:37 AM, Jason Wang wrote:
> Commit f600b6905015 ("virtio_net: Add XDP support") leaves the case of
> small receive buffer untouched. This will confuse the user who want to
> set XDP but use small buffers. Other than forbid XDP in small buffer
> mode, let's make it work. XDP then can only work at skb->data since
> virtio-net create skbs during refill, this is sub optimal which could
> be optimized in the future.
>
> Cc: John Fastabend <john.r.fastabend@xxxxxxxxx>
> Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx>
> ---


Looks good to me thanks!

Acked-by: John Fastabend <john.r.fastabend@xxxxxxxxx>