* Check is the ring for single consumer. * * @param r * A pointer to the ring structure. * @return * true if ring is SC, zero otherwise. */
| 634 | * true if ring is SC, zero otherwise. |
| 635 | */ |
| 636 | static inline int |
| 637 | rte_ring_is_cons_single(const struct rte_ring *r) |
| 638 | { |
| 639 | return (rte_ring_get_cons_sync_type(r) == RTE_RING_SYNC_ST); |
| 640 | } |
| 641 | |
| 642 | /** |
| 643 | * Dump the status of all rings on the console |
no test coverage detected