Home
last modified time | relevance | path

Searched refs:jqq (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/ofed/libbnxtre/
H A Dmain.h393 static inline void *bnxt_re_get_swqe(struct bnxt_re_joint_queue *jqq, in bnxt_re_get_swqe() argument
397 *wqe_idx = jqq->start_idx; in bnxt_re_get_swqe()
398 return &jqq->swque[jqq->start_idx]; in bnxt_re_get_swqe()
401 static inline void bnxt_re_jqq_mod_start(struct bnxt_re_joint_queue *jqq, in bnxt_re_jqq_mod_start() argument
404 jqq->start_idx = jqq->swque[idx].next_idx; in bnxt_re_jqq_mod_start()
407 static inline void bnxt_re_jqq_mod_last(struct bnxt_re_joint_queue *jqq, in bnxt_re_jqq_mod_last() argument
410 jqq->last_idx = jqq->swque[idx].next_idx; in bnxt_re_jqq_mod_last()
H A Dverbs.c977 static int bnxt_re_poll_flush_wcs(struct bnxt_re_joint_queue *jqq, in bnxt_re_poll_flush_wcs() argument
985 que = jqq->hwque; in bnxt_re_poll_flush_wcs()
989 wrid = &jqq->swque[jqq->last_idx]; in bnxt_re_poll_flush_wcs()
997 bnxt_re_jqq_mod_last(jqq, jqq->last_idx); in bnxt_re_poll_flush_wcs()
1013 struct bnxt_re_joint_queue *jqq; in bnxt_re_poll_flush_wqes() local
1023 jqq = qp->jsqq; in bnxt_re_poll_flush_wqes()
1026 jqq = qp->jrqq; in bnxt_re_poll_flush_wqes()
1027 if (!jqq) /* Using srq no need to flush */ in bnxt_re_poll_flush_wqes()
1031 if (bnxt_re_is_que_empty(jqq->hwque)) in bnxt_re_poll_flush_wqes()
1033 polled += bnxt_re_poll_flush_wcs(jqq, ibvwc + polled, in bnxt_re_poll_flush_wqes()
[all …]