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

- From: John Fastabend \<john.fastabend@gmail.com\>
- Date: 2016-12-23 16:53:13 
- List: netdev
- Page: https://ratatoskr.run/netdev/2016/12/4900199
- Thread: https://ratatoskr.run/netdev/2016/12/4900153/t.md

```text
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 <redacted>
> Signed-off-by: Jason Wang <redacted>
> ---


Looks good to me thanks!

Acked-by: John Fastabend <redacted>
```
