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.fastab...@intel.com> > Signed-off-by: Jason Wang <jasow...@redhat.com> > ---
Looks good to me thanks! Acked-by: John Fastabend <john.r.fastab...@intel.com>