Re: [net-next PATCH v3 5/6] virtio_net: add XDP_TX support

2016-11-30 Thread Michael S. Tsirkin
On Tue, Nov 29, 2016 at 12:11:08PM -0800, John Fastabend wrote: > This adds support for the XDP_TX action to virtio_net. When an XDP > program is run and returns the XDP_TX action the virtio_net XDP > implementation will transmit the packet on a TX queue that aligns > with the current CPU that the

[net-next PATCH v3 5/6] virtio_net: add XDP_TX support

2016-11-29 Thread John Fastabend
This adds support for the XDP_TX action to virtio_net. When an XDP program is run and returns the XDP_TX action the virtio_net XDP implementation will transmit the packet on a TX queue that aligns with the current CPU that the XDP packet was processed on. Before sending the packet the header is ze