Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.h37 struct rx_cmp_ext *rxcmp1);
Dbnxt_xdp.c471 struct rx_cmp_ext *rxcmp1) in bnxt_xdp_build_skb() argument
478 if (RX_CMP_L4_CS_OK(rxcmp1)) { in bnxt_xdp_build_skb()
481 skb->csum_level = RX_CMP_ENCAP(rxcmp1); in bnxt_xdp_build_skb()
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)) ==\
Dbnxt.c1764 struct rx_cmp_ext *rxcmp1, u32 *cmpl_ts) in bnxt_rx_ts_valid() argument
1766 u32 ts = le32_to_cpu(rxcmp1->rx_cmp_timestamp); in bnxt_rx_ts_valid()
1792 struct rx_cmp_ext *rxcmp1; in bnxt_rx_pkt() local
1819 rxcmp1 = (struct rx_cmp_ext *) in bnxt_rx_pkt()
1822 if (!RX_CMP_VALID(rxcmp1, tmp_raw_cons)) in bnxt_rx_pkt()
1833 (struct rx_tpa_start_cmp_ext *)rxcmp1); in bnxt_rx_pkt()
1841 (struct rx_tpa_end_cmp_ext *)rxcmp1, event); in bnxt_rx_pkt()
1886 if (rxcmp1->rx_cmp_cfa_code_errors_v2 & RX_CMP_L2_ERRORS) { in bnxt_rx_pkt()
1887 u32 rx_err = le32_to_cpu(rxcmp1->rx_cmp_cfa_code_errors_v2); in bnxt_rx_pkt()
1973 skb = bnxt_xdp_build_skb(bp, skb, agg_bufs, rxr->page_pool, &xdp, rxcmp1); in bnxt_rx_pkt()
[all …]