> 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
- RE: [PATCH 1/5] ring: split single thread vs multi... Konstantin Ananyev
- [PATCH 2/5] ring: use GCC builtin as alternative to rte... Stephen Hemminger
- RE: [PATCH 2/5] ring: use GCC builtin as alternati... Konstantin Ananyev
- Re: [PATCH 2/5] ring: use GCC builtin as alter... Stephen Hemminger
- RE: [PATCH 2/5] ring: use GCC builtin as a... Konstantin Ananyev
- [PATCH 3/5] ring: use C11 for update_tail Stephen Hemminger
- RE: [PATCH 3/5] ring: use C11 for update_tail Konstantin Ananyev
- [PATCH 4/5] ring: drop unused arg to update_tail Stephen Hemminger
- RE: [PATCH 4/5] ring: drop unused arg to update_ta... Konstantin Ananyev
- [PATCH 5/5] ring: use C11 for single thread move head Stephen Hemminger
- RE: [PATCH 5/5] ring: use C11 for single thread mo... Konstantin Ananyev
- [PATCH v2] ring: convert to C11 atomics where practical Stephen Hemminger
- [PATCH v2 1/3] ring: split single thread vs multi-... Stephen Hemminger
- [PATCH v2 2/3] ring: use GCC builtin as alternativ... Stephen Hemminger
- [PATCH v2 3/3] ring: cleanup the C11 code Stephen Hemminger

