Re: [dpdk-dev] [PATCH] lib/ring: fix the bug of HTS/RTS bulk enqueue

2020-06-10 Thread Ananyev, Konstantin
> Directly call "_rte_ring_do_enqueue_elem" function can result in the > process skips the "switch" order and cannot call the APIs of RTS and HTS > mode in "rte_ring_enqueue_bulk_elem" function. > > To fix it, remove the unnecessary function and make > "_rte_ring_do_enqueue_elem" consistent with

Re: [dpdk-dev] [PATCH] lib/ring: fix the bug of HTS/RTS bulk enqueue

2020-06-09 Thread Honnappa Nagarahalli
Hi Feifei, Thanks for the patch. Few nits inline. > -Original Message- > From: Feifei Wang > Sent: Tuesday, June 9, 2020 10:39 PM > To: Honnappa Nagarahalli ; Konstantin > Ananyev > Cc: dev@dpdk.org; nd ; Feifei Wang > ; sta...@dpdk.org > Subject: [PATCH] lib/ring: fix the bug of

[dpdk-dev] [PATCH] lib/ring: fix the bug of HTS/RTS bulk enqueue

2020-06-09 Thread Feifei Wang
Directly call "_rte_ring_do_enqueue_elem" function can result in the process skips the "switch" order and cannot call the APIs of RTS and HTS mode in "rte_ring_enqueue_bulk_elem" function. To fix it, remove the unnecessary function and make "_rte_ring_do_enqueue_elem" consistent with "_rte_ring_do