Home
last modified time | relevance | path

Searched refs:BNXT_RX_PAGE_SIZE (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c186 u32 buflen = BNXT_RX_PAGE_SIZE; in bnxt_xdp_buff_init()
482 BNXT_RX_PAGE_SIZE * sinfo->nr_frags, in bnxt_xdp_build_skb()
Dbnxt.c874 if (PAGE_SIZE > BNXT_RX_PAGE_SIZE) { in __bnxt_alloc_rx_page()
876 BNXT_RX_PAGE_SIZE); in __bnxt_alloc_rx_page()
1104 dma_sync_single_for_cpu(&bp->pdev->dev, dma_addr, BNXT_RX_PAGE_SIZE, in bnxt_rx_multi_page_skb()
1106 skb = napi_build_skb(data_ptr - bp->rx_offset, BNXT_RX_PAGE_SIZE); in bnxt_rx_multi_page_skb()
1138 dma_sync_single_for_cpu(&bp->pdev->dev, dma_addr, BNXT_RX_PAGE_SIZE, in bnxt_rx_page_skb()
1152 skb_add_rx_frag(skb, 0, page, off, len, BNXT_RX_PAGE_SIZE); in bnxt_rx_page_skb()
1255 dma_sync_single_for_cpu(&pdev->dev, mapping, BNXT_RX_PAGE_SIZE, in __bnxt_rx_agg_pages()
1283 skb->truesize += BNXT_RX_PAGE_SIZE * agg_bufs; in bnxt_rx_agg_pages_skb()
4224 type = ((u32)BNXT_RX_PAGE_SIZE << RX_BD_LEN_SHIFT) | in bnxt_init_one_rx_agg_ring_rxbd()
4476 agg_factor = min_t(u32, 4, 65536 / BNXT_RX_PAGE_SIZE); in bnxt_set_ring_params()
[all …]
Dbnxt.h749 #define BNXT_RX_PAGE_SIZE (1 << BNXT_RX_PAGE_SHIFT) macro