Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.h37 struct rx_cmp_ext *rxcmp1);
Dbnxt_xdp.c468 struct rx_cmp_ext *rxcmp1) in bnxt_xdp_build_skb() argument
475 if (RX_CMP_L4_CS_OK(rxcmp1)) { in bnxt_xdp_build_skb()
478 skb->csum_level = RX_CMP_ENCAP(rxcmp1); in bnxt_xdp_build_skb()
Dbnxt.h259 #define RX_CMP_L4_CS_OK(rxcmp1) \ argument
260 (((rxcmp1)->rx_cmp_flags2 & RX_CMP_L4_CS_BITS) && \
261 !((rxcmp1)->rx_cmp_cfa_code_errors_v2 & RX_CMP_L4_CS_ERR_BITS))
263 #define RX_CMP_ENCAP(rxcmp1) \ argument
264 ((le32_to_cpu((rxcmp1)->rx_cmp_flags2) & \
662 #define RX_CMP_VALID(rxcmp1, raw_cons) \ argument
663 (!!((rxcmp1)->rx_cmp_cfa_code_errors_v2 & cpu_to_le32(RX_CMP_V)) ==\
Dbnxt.c1806 struct rx_cmp_ext *rxcmp1; in bnxt_rx_pkt() local
1832 rxcmp1 = (struct rx_cmp_ext *) in bnxt_rx_pkt()
1835 if (!RX_CMP_VALID(rxcmp1, tmp_raw_cons)) in bnxt_rx_pkt()
1846 (struct rx_tpa_start_cmp_ext *)rxcmp1); in bnxt_rx_pkt()
1854 (struct rx_tpa_end_cmp_ext *)rxcmp1, event); in bnxt_rx_pkt()
1899 if (rxcmp1->rx_cmp_cfa_code_errors_v2 & RX_CMP_L2_ERRORS) { in bnxt_rx_pkt()
1900 u32 rx_err = le32_to_cpu(rxcmp1->rx_cmp_cfa_code_errors_v2); in bnxt_rx_pkt()
1986 skb = bnxt_xdp_build_skb(bp, skb, agg_bufs, rxr->page_pool, &xdp, rxcmp1); in bnxt_rx_pkt()
2007 cfa_code = RX_CMP_CFA_CODE(rxcmp1); in bnxt_rx_pkt()
2010 if ((rxcmp1->rx_cmp_flags2 & in bnxt_rx_pkt()
[all …]