Re: [net-next PATCH v5 3/6] virtio_net: Add XDP support

2016-12-07 Thread Michael S. Tsirkin
On Wed, Dec 07, 2016 at 09:14:48PM -0800, John Fastabend wrote: > On 16-12-07 08:48 PM, Michael S. Tsirkin wrote: > > On Wed, Dec 07, 2016 at 12:11:57PM -0800, John Fastabend wrote: > >> From: John Fastabend > >> > >> This adds XDP support to virtio_net. Some

Re: [net-next PATCH v5 3/6] virtio_net: Add XDP support

2016-12-07 Thread John Fastabend
On 16-12-07 08:48 PM, Michael S. Tsirkin wrote: > On Wed, Dec 07, 2016 at 12:11:57PM -0800, John Fastabend wrote: >> From: John Fastabend >> >> This adds XDP support to virtio_net. Some requirements must be >> met for XDP to be enabled depending on the mode. First it

Re: [net-next PATCH v5 3/6] virtio_net: Add XDP support

2016-12-07 Thread Michael S. Tsirkin
On Wed, Dec 07, 2016 at 12:11:57PM -0800, John Fastabend wrote: > From: John Fastabend > > This adds XDP support to virtio_net. Some requirements must be > met for XDP to be enabled depending on the mode. First it will > only be supported with LRO disabled so that data

[net-next PATCH v5 3/6] virtio_net: Add XDP support

2016-12-07 Thread John Fastabend
From: John Fastabend This adds XDP support to virtio_net. Some requirements must be met for XDP to be enabled depending on the mode. First it will only be supported with LRO disabled so that data is not pushed across multiple buffers. Second the MTU must be less than a