Home
last modified time | relevance | path

Searched refs:txcmp (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/broadcom/bnxt/ !
Dbnxt.h658 #define TX_CMP_VALID(txcmp, raw_cons) \ argument
659 (!!((txcmp)->tx_cmp_errors_v & cpu_to_le32(TX_CMP_V)) == \
673 #define TX_CMP_TYPE(txcmp) \ argument
674 (le32_to_cpu((txcmp)->tx_cmp_flags_type) & CMP_TYPE)
Dbnxt.c2422 static int bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp) in bnxt_hwrm_handler() argument
2424 u16 cmpl_type = TX_CMP_TYPE(txcmp), vf_id, seq_id; in bnxt_hwrm_handler()
2425 struct hwrm_cmpl *h_cmpl = (struct hwrm_cmpl *)txcmp; in bnxt_hwrm_handler()
2427 (struct hwrm_fwd_req_cmpl *)txcmp; in bnxt_hwrm_handler()
2452 (struct hwrm_async_event_cmpl *)txcmp); in bnxt_hwrm_handler()
2479 struct tx_cmp *txcmp; in bnxt_has_work() local
2481 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_has_work()
2483 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()
2523 struct tx_cmp *txcmp; in __bnxt_poll_work() local
2531 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in __bnxt_poll_work()
[all …]
Dbnxt_ethtool.c3489 struct tx_cmp *txcmp; in bnxt_poll_loopback() local
3498 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_poll_loopback()
3500 if (!TX_CMP_VALID(txcmp, raw_cons)) { in bnxt_poll_loopback()
3509 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_RX_L2_CMP) { in bnxt_poll_loopback()