Searched refs:txcmp (Results 1 – 3 of 3) sorted by relevance
623 #define TX_CMP_VALID(txcmp, raw_cons) \ argument624 (!!((txcmp)->tx_cmp_errors_v & cpu_to_le32(TX_CMP_V)) == \638 #define TX_CMP_TYPE(txcmp) \ argument639 (le32_to_cpu((txcmp)->tx_cmp_flags_type) & CMP_TYPE)
2106 static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp) in bnxt_hwrm_handler() argument2108 u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id; in bnxt_hwrm_handler()2109 struct hwrm_cmpl *h_cmpl = (struct hwrm_cmpl *)txcmp; in bnxt_hwrm_handler()2111 (struct hwrm_fwd_req_cmpl *)txcmp; in bnxt_hwrm_handler()2139 (struct hwrm_async_event_cmpl *)txcmp); in bnxt_hwrm_handler()2165 struct tx_cmp *txcmp; in bnxt_has_work() local2167 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_has_work()2169 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()2209 struct tx_cmp *txcmp; in __bnxt_poll_work() local2217 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in __bnxt_poll_work()[all …]
3211 struct tx_cmp *txcmp; in bnxt_poll_loopback() local3220 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_poll_loopback()3222 if (!TX_CMP_VALID(txcmp, raw_cons)) { in bnxt_poll_loopback()3231 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_RX_L2_CMP) { in bnxt_poll_loopback()