Home
last modified time | relevance | path

Searched refs:fl_bufsz (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Dnfp_net_dp.h12 dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA, in nfp_net_dma_map_rx()
20 dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA, in nfp_net_dma_sync_dev_rx()
28 dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA, in nfp_net_dma_unmap_rx()
Dnfp_net_common.c696 unsigned int fl_bufsz = 0; in nfp_net_calc_fl_bufsz_data() local
699 fl_bufsz += NFP_NET_MAX_PREPEND; in nfp_net_calc_fl_bufsz_data()
701 fl_bufsz += dp->rx_offset; in nfp_net_calc_fl_bufsz_data()
702 fl_bufsz += ETH_HLEN + VLAN_HLEN * 2 + dp->mtu; in nfp_net_calc_fl_bufsz_data()
704 return fl_bufsz; in nfp_net_calc_fl_bufsz_data()
709 unsigned int fl_bufsz; in nfp_net_calc_fl_bufsz() local
711 fl_bufsz = NFP_NET_RX_BUF_HEADROOM; in nfp_net_calc_fl_bufsz()
712 fl_bufsz += dp->rx_dma_off; in nfp_net_calc_fl_bufsz()
713 fl_bufsz += nfp_net_calc_fl_bufsz_data(dp); in nfp_net_calc_fl_bufsz()
715 fl_bufsz = SKB_DATA_ALIGN(fl_bufsz); in nfp_net_calc_fl_bufsz()
[all …]
Dnfp_net_dp.c22 frag = netdev_alloc_frag(dp->fl_bufsz); in nfp_net_rx_alloc_one()
Dnfp_net.h516 u32 fl_bufsz; member
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c557 frag = napi_alloc_frag(dp->fl_bufsz); in nfp_nfd3_napi_alloc_one()
841 unsigned int dma_map_sz = dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA; in nfp_nfd3_tx_xdp_buf()
919 true_bufsz = xdp_prog ? PAGE_SIZE : dp->fl_bufsz; in nfp_nfd3_rx()
1369 skb = build_skb(rxbuf->frag, dp->fl_bufsz); in nfp_ctrl_rx_one()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c577 frag = napi_alloc_frag(dp->fl_bufsz); in nfp_nfdk_napi_alloc_one()
904 unsigned int dma_map_sz = dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA; in nfp_nfdk_tx_xdp_buf()
1041 true_bufsz = xdp_prog ? PAGE_SIZE : dp->fl_bufsz; in nfp_nfdk_rx()
1531 skb = build_skb(rxbuf->frag, dp->fl_bufsz); in nfp_ctrl_rx_one()