Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h685 #define NQ_CMP_VALID(nqcmp, raw_cons) \ argument
686 (!!((nqcmp)->v & cpu_to_le32(NQ_CN_V)) == !((raw_cons) & bp->cp_bit))
H A Dbnxt.c2771 struct nqe_cn *nqcmp; in bnxt_poll_p5() local
2785 nqcmp = &cpr->nq_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_poll_p5()
2787 if (!NQ_CMP_VALID(nqcmp, raw_cons)) { in bnxt_poll_p5()
2805 if (nqcmp->type == cpu_to_le16(NQ_CN_TYPE_CQ_NOTIFICATION)) { in bnxt_poll_p5()
2806 u32 idx = le32_to_cpu(nqcmp->cq_handle_low); in bnxt_poll_p5()
2818 bnxt_hwrm_handler(bp, (struct tx_cmp *)nqcmp); in bnxt_poll_p5()