MCPcopy Create free account
hub / github.com/F-Stack/f-stack / nitrox_qp_free_count

Function nitrox_qp_free_count

dpdk/drivers/crypto/nitrox/nitrox_qp.h:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35};
36
37static inline uint16_t
38nitrox_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
46static inline bool
47nitrox_qp_is_empty(struct nitrox_qp *qp)

Callers 1

nitrox_sym_dev_enq_burstFunction · 0.85

Calls 1

rte_atomic16_readFunction · 0.85

Tested by

no test coverage detected