Konstantin Ananyev 664ff4b172 ring: introduce peek style API
For rings with producer/consumer in RTE_RING_SYNC_ST, RTE_RING_SYNC_MT_HTS
mode, provide an ability to split enqueue/dequeue operation
into two phases:
      - enqueue/dequeue start
      - enqueue/dequeue finish
That allows user to inspect objects in the ring without removing
them from it (aka MT safe peek).

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
2020-04-21 12:52:55 +02:00
..
2019-11-15 11:36:27 +01:00
2019-10-12 14:20:21 +02:00
2019-07-19 14:17:11 +02:00
2020-02-05 15:29:59 +01:00
2019-05-04 23:39:23 +02:00
2019-11-08 15:17:05 +01:00
2018-04-11 23:40:40 +02:00
2018-12-19 01:25:56 +01:00
2020-04-21 12:52:55 +02:00
2019-01-20 13:08:50 +01:00