Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h625 #define NQ_CMP_VALID(nqcmp, raw_cons) \ argument
626 (!!((nqcmp)->v & cpu_to_le32(NQ_CN_V)) == !((raw_cons) & bp->cp_bit))
Dbnxt.c2410 struct nqe_cn *nqcmp; in bnxt_poll_p5() local
2428 nqcmp = &cpr->nq_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_poll_p5()
2430 if (!NQ_CMP_VALID(nqcmp, raw_cons)) { in bnxt_poll_p5()
2445 if (nqcmp->type == cpu_to_le16(NQ_CN_TYPE_CQ_NOTIFICATION)) { in bnxt_poll_p5()
2446 u32 idx = le32_to_cpu(nqcmp->cq_handle_low); in bnxt_poll_p5()
2454 bnxt_hwrm_handler(bp, (struct tx_cmp *)nqcmp); in bnxt_poll_p5()