Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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) & \
633 #define RX_CMP_VALID(rxcmp1, raw_cons) \ argument
634 (!!((rxcmp1)->rx_cmp_cfa_code_errors_v2 & cpu_to_le32(RX_CMP_V)) ==\
Dbnxt.c1720 struct rx_cmp_ext *rxcmp1; in bnxt_rx_pkt() local
1744 rxcmp1 = (struct rx_cmp_ext *) in bnxt_rx_pkt()
1747 if (!RX_CMP_VALID(rxcmp1, tmp_raw_cons)) in bnxt_rx_pkt()
1758 (struct rx_tpa_start_cmp_ext *)rxcmp1); in bnxt_rx_pkt()
1766 (struct rx_tpa_end_cmp_ext *)rxcmp1, event); in bnxt_rx_pkt()
1811 if (rxcmp1->rx_cmp_cfa_code_errors_v2 & RX_CMP_L2_ERRORS) { in bnxt_rx_pkt()
1812 u32 rx_err = le32_to_cpu(rxcmp1->rx_cmp_cfa_code_errors_v2); in bnxt_rx_pkt()
1883 cfa_code = RX_CMP_CFA_CODE(rxcmp1); in bnxt_rx_pkt()
1886 if ((rxcmp1->rx_cmp_flags2 & in bnxt_rx_pkt()
1889 u32 meta_data = le32_to_cpu(rxcmp1->rx_cmp_meta_data); in bnxt_rx_pkt()
[all …]