aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_ring_st_internal.h
AgeCommit message (Collapse)Author
2020-09-03linux-gen: ring: add functions for reading current ring lengthsMatias Elo
Add functions for reading the current count of elements in each ring type. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2018-08-27linux-gen: ring_st: move ring mask and data pointerPetri Savolainen
Store mask and data pointer in queue entry instead of ring structure. Data is constant and can be stored among other frequently used read only data. Also other ring type use the same variables. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-02-28linux-gen: ring_st: ring for single thread usagePetri Savolainen
This ring can be used as simple FIFO when enqueue / dequeue operation synchronization is not needed, or synchronization is provided by an upper layer already. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>