Re: [PATCH net-next V2 0/2] XDP transmission for tuntap

From: David Miller
Date: Tue Jan 09 2018 - 11:06:22 EST


From: Jason Wang <jasowang@xxxxxxxxxx>
Date: Thu, 4 Jan 2018 11:14:26 +0800

> This series tries to implement XDP transmission (ndo_xdp_xmit) for
> tuntap. Pointer ring was used for queuing both XDP buffers and
> sk_buff, this is done by encoding the type into lowest bit of the
> pointer and storin XDP metadata in the headroom of XDP buff.
>
> Tests gets 3.05 Mpps when doing xdp_redirect_map from ixgbe to VM
> (testpmd + virtio-net in guest). This gives us ~20% improvments
> compared to use skb during redirect.
>
> Please review.
>
> Changes from V1:
>
> - slient warnings
> - fix typos
> - add skb mode number in the commit log

Series applied, thanks Jason.

There was some overlap with recent changes from Jesper, please take
a look.

Thank you.