Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h247 #define RX_CMP_L4_CS_OK(rxcmp1) \ argument
248 (((rxcmp1)->rx_cmp_flags2 & RX_CMP_L4_CS_BITS) && \
249 !((rxcmp1)->rx_cmp_cfa_code_errors_v2 & RX_CMP_L4_CS_ERR_BITS))
251 #define RX_CMP_ENCAP(rxcmp1) \ argument
252 ((le32_to_cpu((rxcmp1)->rx_cmp_flags2) & \
617 #define RX_CMP_VALID(rxcmp1, raw_cons) \ argument
618 (!!((rxcmp1)->rx_cmp_cfa_code_errors_v2 & cpu_to_le32(RX_CMP_V)) ==\
Dbnxt.c1677 struct rx_cmp_ext *rxcmp1; in bnxt_rx_pkt() local
1701 rxcmp1 = (struct rx_cmp_ext *) in bnxt_rx_pkt()
1704 if (!RX_CMP_VALID(rxcmp1, tmp_raw_cons)) in bnxt_rx_pkt()
1711 (struct rx_tpa_start_cmp_ext *)rxcmp1); in bnxt_rx_pkt()
1719 (struct rx_tpa_end_cmp_ext *)rxcmp1, event); in bnxt_rx_pkt()
1760 if (rxcmp1->rx_cmp_cfa_code_errors_v2 & RX_CMP_L2_ERRORS) { in bnxt_rx_pkt()
1761 u32 rx_err = le32_to_cpu(rxcmp1->rx_cmp_cfa_code_errors_v2); in bnxt_rx_pkt()
1827 cfa_code = RX_CMP_CFA_CODE(rxcmp1); in bnxt_rx_pkt()
1830 if ((rxcmp1->rx_cmp_flags2 & in bnxt_rx_pkt()
1833 u32 meta_data = le32_to_cpu(rxcmp1->rx_cmp_meta_data); in bnxt_rx_pkt()
[all …]