Re: [dpdk-dev] [PATCH v4 0/3] add rte ring reset api and use it to flush a ring by hash

2019-01-02 Thread Gavin Hu (Arm Technology China)
> -Original Message- > From: Honnappa Nagarahalli > Sent: Thursday, January 3, 2019 2:41 AM > To: Thomas Monjalon ; Gavin Hu (Arm Technology > China) > Cc: dev@dpdk.org; jer...@marvell.com; hemant.agra...@nxp.com; > bruce.richard...@intel.com; chao...@linux.vnet.ibm.com; nd > ; olivier

Re: [dpdk-dev] [PATCH v4 0/3] add rte ring reset api and use it to flush a ring by hash

2019-01-02 Thread Honnappa Nagarahalli
> > 02/01/2019 01:55, Gavin Hu: > > V4: Include the ring perf test case enhancement patch in the series. This change is not related to this patch. Should be a separate patch? There were comments provided: http://mails.dpdk.org/archives/dev/2018-December/121893.html http://mails.dpdk.org/archives/d

Re: [dpdk-dev] [PATCH v4 0/3] add rte ring reset api and use it to flush a ring by hash

2019-01-02 Thread Thomas Monjalon
02/01/2019 01:55, Gavin Hu: > V4: Include the ring perf test case enhancement patch in the series. > > V3: Allow experimental API for meson build > > V2: Fix the coding style issue(commit message line too long) > > V1: To flush a ring not in use, dequeue one by one is wasting cpu cycles. > The p

[dpdk-dev] [PATCH v4 0/3] add rte ring reset api and use it to flush a ring by hash

2019-01-01 Thread Gavin Hu
V4: Include the ring perf test case enhancement patch in the series. V3: Allow experimental API for meson build V2: Fix the coding style issue(commit message line too long) V1: To flush a ring not in use, dequeue one by one is wasting cpu cycles. The patch is to just resetting the head and tail