Lines Matching defs:txcmp
2406 static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp)
2408 u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id;
2409 struct hwrm_cmpl *h_cmpl = (struct hwrm_cmpl *)txcmp;
2411 (struct hwrm_fwd_req_cmpl *)txcmp;
2435 (struct hwrm_async_event_cmpl *)txcmp);
2462 struct tx_cmp *txcmp;
2464 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)];
2466 return TX_CMP_VALID(txcmp, raw_cons);
2506 struct tx_cmp *txcmp;
2514 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)];
2516 if (!TX_CMP_VALID(txcmp, raw_cons))
2523 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_TX_L2_CMP) {
2533 } else if ((TX_CMP_TYPE(txcmp) & 0x30) == 0x10) {
2550 } else if (unlikely((TX_CMP_TYPE(txcmp) ==
2552 (TX_CMP_TYPE(txcmp) ==
2554 (TX_CMP_TYPE(txcmp) ==
2556 bnxt_hwrm_handler(bp, txcmp);
2628 struct tx_cmp *txcmp;
2640 txcmp = &cpr->cp_desc_ring[CP_RING(cp_cons)][CP_IDX(cp_cons)];
2642 if (!TX_CMP_VALID(txcmp, raw_cons))
2649 if ((TX_CMP_TYPE(txcmp) & 0x30) == 0x10) {
2669 } else if (unlikely(TX_CMP_TYPE(txcmp) ==
2671 bnxt_hwrm_handler(bp, txcmp);