Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h190 #define TX_CMP_SQ_CONS_IDX(txcmp) \ argument
191 (le32_to_cpu((txcmp)->sq_cons_idx) & TX_CMP_SQ_CONS_IDX_MASK)
838 #define TX_CMP_VALID(txcmp, raw_cons) \ argument
839 (!!((txcmp)->tx_cmp_errors_v & cpu_to_le32(TX_CMP_V)) == \
853 #define TX_CMP_TYPE(txcmp) \ argument
854 (le32_to_cpu((txcmp)->tx_cmp_flags_type) & CMP_TYPE)
H A Dbnxt.c2891 (struct hwrm_fwd_req_cmpl *)txcmp; in bnxt_hwrm_handler()
2949 struct tx_cmp *txcmp; in bnxt_has_work() local
2953 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()
2964 struct tx_cmp *txcmp; in __bnxt_poll_work() local
2975 if (!TX_CMP_VALID(txcmp, raw_cons)) in __bnxt_poll_work()
2982 cmp_type = TX_CMP_TYPE(txcmp); in __bnxt_poll_work()
2985 u32 opaque = txcmp->tx_cmp_opaque; in __bnxt_poll_work()
3028 bnxt_hwrm_handler(bp, txcmp); in __bnxt_poll_work()
3103 struct tx_cmp *txcmp; in bnxt_poll_nitroa0() local
3117 if (!TX_CMP_VALID(txcmp, raw_cons)) in bnxt_poll_nitroa0()
[all …]
H A Dbnxt_ethtool.c4902 struct tx_cmp *txcmp; in bnxt_poll_loopback() local
4911 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_poll_loopback()
4913 if (!TX_CMP_VALID(txcmp, raw_cons)) { in bnxt_poll_loopback()
4922 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_RX_L2_CMP || in bnxt_poll_loopback()
4923 TX_CMP_TYPE(txcmp) == CMP_TYPE_RX_L2_V3_CMP) { in bnxt_poll_loopback()