Home
last modified time | relevance | path

Searched refs:rxcmp1 (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h254 #define RX_CMP_L4_CS_OK(rxcmp1) \ argument
255 (((rxcmp1)->rx_cmp_flags2 & RX_CMP_L4_CS_BITS) && \
256 !((rxcmp1)->rx_cmp_cfa_code_errors_v2 & RX_CMP_L4_CS_ERR_BITS))
258 #define RX_CMP_ENCAP(rxcmp1) \ argument
259 ((le32_to_cpu((rxcmp1)->rx_cmp_flags2) & \
627 #define RX_CMP_VALID(rxcmp1, raw_cons) \ argument
628 (!!((rxcmp1)->rx_cmp_cfa_code_errors_v2 & cpu_to_le32(RX_CMP_V)) ==\
Dbnxt.c1676 struct rx_cmp_ext *rxcmp1; in bnxt_rx_pkt() local
1700 rxcmp1 = (struct rx_cmp_ext *) in bnxt_rx_pkt()
1703 if (!RX_CMP_VALID(rxcmp1, tmp_raw_cons)) in bnxt_rx_pkt()
1710 (struct rx_tpa_start_cmp_ext *)rxcmp1); in bnxt_rx_pkt()
1718 (struct rx_tpa_end_cmp_ext *)rxcmp1, event); in bnxt_rx_pkt()
1761 if (rxcmp1->rx_cmp_cfa_code_errors_v2 & RX_CMP_L2_ERRORS) { in bnxt_rx_pkt()
1762 u32 rx_err = le32_to_cpu(rxcmp1->rx_cmp_cfa_code_errors_v2); in bnxt_rx_pkt()
1833 cfa_code = RX_CMP_CFA_CODE(rxcmp1); in bnxt_rx_pkt()
1836 if ((rxcmp1->rx_cmp_flags2 & in bnxt_rx_pkt()
1839 u32 meta_data = le32_to_cpu(rxcmp1->rx_cmp_meta_data); in bnxt_rx_pkt()
[all …]