mempool/ring: support RTS and HTS ring modes
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Wed, 15 Jul 2020 14:58:15 +0000 (15:58 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 21 Jul 2020 17:20:00 +0000 (19:20 +0200)
commite1187407b440e79426084a7b141f918c646ab9b1
tree75753cc2936c43dd9357c3be76e8e9c3bf2cbde1
parentb7ea4b16351ff6cd93641e2fc9af4a46279e57bf
mempool/ring: support RTS and HTS ring modes

Two new sync modes were introduced into rte_ring:
relaxed tail sync (RTS) and head/tail sync (HTS).
This change provides user with ability to select these
modes for ring based mempool via mempool ops API.

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Gage Eads <gage.eads@intel.com>
doc/guides/mempool/ring.rst
doc/guides/prog_guide/ring_lib.rst
doc/guides/rel_notes/release_20_08.rst
drivers/mempool/ring/rte_mempool_ring.c