Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.h37 struct rx_cmp_ext *rxcmp1);
H A Dbnxt_xdp.c466 struct rx_cmp_ext *rxcmp1) in bnxt_xdp_build_skb() argument
473 if (RX_CMP_L4_CS_OK(rxcmp1)) { in bnxt_xdp_build_skb()
476 skb->csum_level = RX_CMP_ENCAP(rxcmp1); in bnxt_xdp_build_skb()
H A Dbnxt.h266 #define RX_CMP_L4_CS_OK(rxcmp1) \ argument
267 (((rxcmp1)->rx_cmp_flags2 & RX_CMP_L4_CS_BITS) && \
268 !((rxcmp1)->rx_cmp_cfa_code_errors_v2 & RX_CMP_L4_CS_ERR_BITS))
270 #define RX_CMP_ENCAP(rxcmp1) \ argument
271 ((le32_to_cpu((rxcmp1)->rx_cmp_flags2) & \
677 #define RX_CMP_VALID(rxcmp1, raw_cons) \ argument
678 (!!((rxcmp1)->rx_cmp_cfa_code_errors_v2 & cpu_to_le32(RX_CMP_V)) ==\
H A Dbnxt.c1791 struct rx_cmp_ext *rxcmp1; in bnxt_rx_pkt() local
1818 rxcmp1 = (struct rx_cmp_ext *) in bnxt_rx_pkt()
1980 cfa_code = RX_CMP_CFA_CODE(rxcmp1); in bnxt_rx_pkt()
1983 if ((rxcmp1->rx_cmp_flags2 & in bnxt_rx_pkt()
2000 if (RX_CMP_L4_CS_OK(rxcmp1)) { in bnxt_rx_pkt()
2058 struct rx_cmp_ext *rxcmp1; in bnxt_force_rx_discard() local
2070 rxcmp1 = (struct rx_cmp_ext *) in bnxt_force_rx_discard()
2082 rxcmp1->rx_cmp_cfa_code_errors_v2 |= in bnxt_force_rx_discard()
2620 struct rx_cmp_ext *rxcmp1; in bnxt_poll_nitroa0() local
2643 rxcmp1 = (struct rx_cmp_ext *) in bnxt_poll_nitroa0()
[all …]