Re: [dpdk-dev] [PATCH v7 5/5] net/af_xdp: enable zero copy

2019-03-28 Thread Ye Xiaolong
On 03/28, Ferruh Yigit wrote: >On 3/27/2019 9:00 AM, Xiaolong Ye wrote: >> Try to check if external mempool (from rx_queue_setup) is fit for >> af_xdp, if it is, it will be registered to af_xdp socket directly and >> there will be no packet data copy on Rx and Tx. >> >> Signed-off-by: Xiaolong Ye

Re: [dpdk-dev] [PATCH v7 5/5] net/af_xdp: enable zero copy

2019-03-28 Thread Ferruh Yigit
On 3/27/2019 9:00 AM, Xiaolong Ye wrote: > Try to check if external mempool (from rx_queue_setup) is fit for > af_xdp, if it is, it will be registered to af_xdp socket directly and > there will be no packet data copy on Rx and Tx. > > Signed-off-by: Xiaolong Ye > --- > drivers/net/af_xdp/rte_eth

[dpdk-dev] [PATCH v7 5/5] net/af_xdp: enable zero copy

2019-03-27 Thread Xiaolong Ye
Try to check if external mempool (from rx_queue_setup) is fit for af_xdp, if it is, it will be registered to af_xdp socket directly and there will be no packet data copy on Rx and Tx. Signed-off-by: Xiaolong Ye --- drivers/net/af_xdp/rte_eth_af_xdp.c | 130 1 file ch