Re: [dpdk-dev] [PATCH] net/af_xdp: use single-prod-and-cons ring

2020-01-14 Thread Ferruh Yigit
On 1/14/2020 1:37 AM, Ye Xiaolong wrote: > On 01/08, Xiao Wang wrote: >> The ring is used only by af_xdp pmd itself, so no need to support >> multi-producer and multi-consumer mode. This patch changes the ring >> to single-producer and single-consumer mode, which could yield better >> performance f

Re: [dpdk-dev] [PATCH] net/af_xdp: use single-prod-and-cons ring

2020-01-13 Thread Ye Xiaolong
On 01/08, Xiao Wang wrote: >The ring is used only by af_xdp pmd itself, so no need to support >multi-producer and multi-consumer mode. This patch changes the ring >to single-producer and single-consumer mode, which could yield better >performance for addr enqueue and dequeue. > >Signed-off-by: Xiao

Re: [dpdk-dev] [PATCH] net/af_xdp: use single-prod-and-cons ring

2020-01-13 Thread Loftus, Ciara
> > The ring is used only by af_xdp pmd itself, so no need to support > multi-producer and multi-consumer mode. This patch changes the ring > to single-producer and single-consumer mode, which could yield better > performance for addr enqueue and dequeue. > > Signed-off-by: Xiao Wang LGTM. I r

[dpdk-dev] [PATCH] net/af_xdp: use single-prod-and-cons ring

2020-01-07 Thread Xiao Wang
The ring is used only by af_xdp pmd itself, so no need to support multi-producer and multi-consumer mode. This patch changes the ring to single-producer and single-consumer mode, which could yield better performance for addr enqueue and dequeue. Signed-off-by: Xiao Wang --- drivers/net/af_xdp/rt