Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h850 #define NQ_CMP_VALID(nqcmp, raw_cons) \ argument
851 (!!((nqcmp)->v & cpu_to_le32(NQ_CN_V)) == !((raw_cons) & bp->cp_bit))
H A Dbnxt.c3308 struct nqe_cn *nqcmp; in bnxt_poll_p5() local
3324 nqcmp = &cpr->nq_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_poll_p5()
3326 if (!NQ_CMP_VALID(nqcmp, raw_cons)) { in bnxt_poll_p5()
3344 type = le16_to_cpu(nqcmp->type); in bnxt_poll_p5()
3346 u32 idx = le32_to_cpu(nqcmp->cq_handle_low); in bnxt_poll_p5()
3363 bnxt_hwrm_handler(bp, (struct tx_cmp *)nqcmp); in bnxt_poll_p5()