| 35 | }; |
| 36 | |
| 37 | static inline uint16_t |
| 38 | nitrox_qp_free_count(struct nitrox_qp *qp) |
| 39 | { |
| 40 | uint16_t pending_count = rte_atomic16_read(&qp->pending_count); |
| 41 | |
| 42 | RTE_ASSERT(qp->count >= pending_count); |
| 43 | return (qp->count - pending_count); |
| 44 | } |
| 45 | |
| 46 | static inline bool |
| 47 | nitrox_qp_is_empty(struct nitrox_qp *qp) |
no test coverage detected