Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h673 #define TX_CMP_VALID(txcmp, raw_cons) \ argument
674 (!!((txcmp)->tx_cmp_errors_v & cpu_to_le32(TX_CMP_V)) == \
688 #define TX_CMP_TYPE(txcmp) \ argument
689 (le32_to_cpu((txcmp)->tx_cmp_flags_type) & CMP_TYPE)
H A Dbnxt.c2402 (struct hwrm_fwd_req_cmpl *)txcmp; in bnxt_hwrm_handler()
2453 struct tx_cmp *txcmp; in bnxt_has_work() local
2457 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()
2497 struct tx_cmp *txcmp; in __bnxt_poll_work() local
2507 if (!TX_CMP_VALID(txcmp, raw_cons)) in __bnxt_poll_work()
2543 (TX_CMP_TYPE(txcmp) == in __bnxt_poll_work()
2545 (TX_CMP_TYPE(txcmp) == in __bnxt_poll_work()
2547 bnxt_hwrm_handler(bp, txcmp); in __bnxt_poll_work()
2619 struct tx_cmp *txcmp; in bnxt_poll_nitroa0() local
2633 if (!TX_CMP_VALID(txcmp, raw_cons)) in bnxt_poll_nitroa0()
[all …]
H A Dbnxt_ethtool.c3588 struct tx_cmp *txcmp; in bnxt_poll_loopback() local
3597 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_poll_loopback()
3599 if (!TX_CMP_VALID(txcmp, raw_cons)) { in bnxt_poll_loopback()
3608 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_RX_L2_CMP) { in bnxt_poll_loopback()