Re: [PATCH net-next V2 0/2] XDP transmission for tuntap
On 2018年01月10日 00:06, David Miller wrote: From: Jason WangDate: 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. The changes looks good, will have a test and report. Thanks
Re: [PATCH net-next V2 0/2] XDP transmission for tuntap
From: Jason WangDate: 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.