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

2018-12-19 Thread Thomas Monjalon
+Cc Olivier, maintainer of the ring library. 12/12/2018 12:15, Gavin Hu: > 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 th

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

2018-12-12 Thread Gavin Hu
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 indices to save cpu cycle. Gavin Hu (2): ring: add reset api to flu