Lines Matching defs:txcmp
2180 static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp)
2182 u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id;
2183 struct hwrm_cmpl *h_cmpl = (struct hwrm_cmpl *)txcmp;
2185 (struct hwrm_fwd_req_cmpl *)txcmp;
2213 (struct hwrm_async_event_cmpl *)txcmp);
2239 struct tx_cmp *txcmp;
2241 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)];
2243 return TX_CMP_VALID(txcmp, raw_cons);
2283 struct tx_cmp *txcmp;
2291 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)];
2293 if (!TX_CMP_VALID(txcmp, raw_cons))
2300 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_TX_L2_CMP) {
2310 } else if ((TX_CMP_TYPE(txcmp) & 0x30) == 0x10) {
2327 } else if (unlikely((TX_CMP_TYPE(txcmp) ==
2329 (TX_CMP_TYPE(txcmp) ==
2331 (TX_CMP_TYPE(txcmp) ==
2333 bnxt_hwrm_handler(bp, txcmp);
2403 struct tx_cmp *txcmp;
2415 txcmp = &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)];
2417 if (!TX_CMP_VALID(txcmp, raw_cons))
2424 if ((TX_CMP_TYPE(txcmp) & 0x30) == 0x10) {
2444 } else if (unlikely(TX_CMP_TYPE(txcmp) ==
2446 bnxt_hwrm_handler(bp, txcmp);