Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt.h667 #define TX_CMP_VALID(txcmp, raw_cons) \ argument
668 (!!((txcmp)->tx_cmp_errors_v & cpu_to_le32(TX_CMP_V)) == \
682 #define TX_CMP_TYPE(txcmp) \ argument
683 (le32_to_cpu((txcmp)->tx_cmp_flags_type) & CMP_TYPE)
A Dbnxt.c2425 (struct hwrm_fwd_req_cmpl *)txcmp; in bnxt_hwrm_handler()
2477 struct tx_cmp *txcmp; in bnxt_has_work() local
2481 return TX_CMP_VALID(txcmp, raw_cons); in bnxt_has_work()
2521 struct tx_cmp *txcmp; in __bnxt_poll_work() local
2531 if (!TX_CMP_VALID(txcmp, raw_cons)) in __bnxt_poll_work()
2567 (TX_CMP_TYPE(txcmp) == in __bnxt_poll_work()
2569 (TX_CMP_TYPE(txcmp) == in __bnxt_poll_work()
2571 bnxt_hwrm_handler(bp, txcmp); in __bnxt_poll_work()
2644 struct tx_cmp *txcmp; in bnxt_poll_nitroa0() local
2657 if (!TX_CMP_VALID(txcmp, raw_cons)) in bnxt_poll_nitroa0()
[all …]
A Dbnxt_ethtool.c3593 struct tx_cmp *txcmp; in bnxt_poll_loopback() local
3602 txcmp = &cpr->cp_desc_ring[CP_RING(cons)][CP_IDX(cons)]; in bnxt_poll_loopback()
3604 if (!TX_CMP_VALID(txcmp, raw_cons)) { in bnxt_poll_loopback()
3613 if (TX_CMP_TYPE(txcmp) == CMP_TYPE_RX_L2_CMP) { in bnxt_poll_loopback()

Completed in 41 milliseconds