> The function to move head for single threaded case can always
> use the C11 code, there is no performance difference from GCC
> intrinsics.
> 
> This reduces the exception code to just one function.
> 
> Signed-off-by: Stephen Hemminger <[email protected]>
> ---
>  lib/ring/rte_ring_c11_pvt.h  | 62 ------------------------------
>  lib/ring/rte_ring_elem_pvt.h | 74 +++++++++++++++++++++++++++++++++---
>  lib/ring/rte_ring_gcc_pvt.h  | 59 ----------------------------
>  3 files changed, 68 insertions(+), 127 deletions(-)
> 

Acked-by: Konstantin Ananyev <[email protected]>
Tested-by: Konstantin Ananyev <[email protected]>

> --
> 2.53.0

Reply via email to