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

Function dlb2_inc_cq_idx

dpdk/drivers/event/dlb2/dlb2.c:3957–3965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3955}
3956
3957static inline void
3958dlb2_inc_cq_idx(struct dlb2_port *qm_port, int cnt)
3959{
3960 uint16_t idx = qm_port->cq_idx_unmasked + cnt;
3961
3962 qm_port->cq_idx_unmasked = idx;
3963 qm_port->cq_idx = idx & qm_port->cq_depth_mask;
3964 qm_port->gen_bit = (~(idx >> qm_port->gen_bit_shift)) & 0x1;
3965}
3966
3967static inline int16_t
3968dlb2_hw_dequeue_sparse(struct dlb2_eventdev *dlb2,

Callers 2

dlb2_hw_dequeue_sparseFunction · 0.85
dlb2_hw_dequeueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected