mbox series

[v2,0/3] add more features for AF_XDP pmd

Message ID 20190530090707.36290-1-xiaolong.ye@intel.com (mailing list archive)
Headers
Series add more features for AF_XDP pmd |

Message

Xiaolong Ye May 30, 2019, 9:07 a.m. UTC
  This patch series mainly includes 3 new features for AF_XDP pmd. They
are separated independent features, the reason I take them in one
patchset is that they have code dependency.

1. zero copy

This patch enables `zero copy` between af_xdp umem and mbuf by using
external mbuf mechanism.

2. multi-queue

With mutli-queue support, one AF_XDP pmd instance can use multi netdev
queues.

3. busy-poll

With busy-poll, all processing occurs on a single core, performance is
better from a per-core perspective.

This patch has dependency on busy-poll support in kernel side and now it
is in
RFC stage [1].

[1] https://www.spinics.net/lists/netdev/msg568337.html

V2 changes:

1. improve mutli-queue support by getting the ethtool channel, so the
   driver is able to get a reason maximum queue number.
2. add a tiny cleanup patch to get rid of unused struct member
3. remove the busy-poll patch as its kernel counterpart changes, will
   update the patch later

Xiaolong Ye (3):
  net/af_xdp: enable zero copy by extbuf
  net/af_xdp: add multi-queue support
  net/af_xdp: remove unused struct member

 doc/guides/nics/af_xdp.rst          |   4 +-
 drivers/net/af_xdp/rte_eth_af_xdp.c | 285 ++++++++++++++++++++--------
 2 files changed, 213 insertions(+), 76 deletions(-)
  

Comments

Ferruh Yigit June 10, 2019, 4:54 p.m. UTC | #1
On 5/30/2019 10:07 AM, Xiaolong Ye wrote:
> This patch series mainly includes 3 new features for AF_XDP pmd. They
> are separated independent features, the reason I take them in one
> patchset is that they have code dependency.
> 
> 1. zero copy
> 
> This patch enables `zero copy` between af_xdp umem and mbuf by using
> external mbuf mechanism.
> 
> 2. multi-queue
> 
> With mutli-queue support, one AF_XDP pmd instance can use multi netdev
> queues.
> 
> 3. busy-poll
> 
> With busy-poll, all processing occurs on a single core, performance is
> better from a per-core perspective.
> 
> This patch has dependency on busy-poll support in kernel side and now it
> is in
> RFC stage [1].
> 
> [1] https://www.spinics.net/lists/netdev/msg568337.html
> 
> V2 changes:
> 
> 1. improve mutli-queue support by getting the ethtool channel, so the
>    driver is able to get a reason maximum queue number.
> 2. add a tiny cleanup patch to get rid of unused struct member
> 3. remove the busy-poll patch as its kernel counterpart changes, will
>    update the patch later
> 
> Xiaolong Ye (3):
>   net/af_xdp: enable zero copy by extbuf
>   net/af_xdp: add multi-queue support
>   net/af_xdp: remove unused struct member

Series applied to dpdk-next-net/master, thanks.