[PATCH v1 0/4] ring: some fixes and improvements

Konstantin Ananyev
2025-05-21T11:15:03Z

First two patches are ‘low risk’ ones.
Third one touches some core functions within rte_ring library and
would probably requires extra reviews/testing from different vendors.
4th one enables C11 based code on all x86 platforms by default.
The stretch goal for it – make all supported platforms to use C11
based code and get rid of legacy code in rte_ring_generic_pvt.h.
If there would be some issues with latest two patches – we can limit
ourselves with just first two to apply.

Konstantin Ananyev (4):
ring: introduce extra run-time checks
ring/soring: fix head-tail synchronization issue
ring: fix potential sync issue between head and tail values
config/x86: enable RTE_USE_C11_MEM_MODEL by default

config/x86/meson.build | 1 +
lib/ring/rte_ring_c11_pvt.h | 29 ++++++++++++++++++-----------
lib/ring/rte_ring_elem_pvt.h | 8 ++++++--
lib/ring/rte_ring_hts_elem_pvt.h | 14 ++++++++++----
lib/ring/rte_ring_rts_elem_pvt.h | 14 ++++++++++----
lib/ring/soring.c | 2 ++
6 files changed, 47 insertions(+), 21 deletions(-)

--
2.43.0