Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h684 #define NQ_CMP_VALID(nqcmp, raw_cons) \ argument
685 (!!((nqcmp)->v & cpu_to_le32(NQ_CN_V)) == !((raw_cons) & bp->cp_bit))
Dbnxt.c2819 struct nqe_cn *nqcmp; in bnxt_poll_p5() local
2833 nqcmp = &cpr->nq_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_poll_p5()
2835 if (!NQ_CMP_VALID(nqcmp, raw_cons)) { in bnxt_poll_p5()
2852 if (nqcmp->type == cpu_to_le16(NQ_CN_TYPE_CQ_NOTIFICATION)) { in bnxt_poll_p5()
2853 u32 idx = le32_to_cpu(nqcmp->cq_handle_low); in bnxt_poll_p5()
2865 bnxt_hwrm_handler(bp, (struct tx_cmp *)nqcmp); in bnxt_poll_p5()