Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c694 unsigned int fl_bufsz = 0; in nfp_net_calc_fl_bufsz_data() local
697 fl_bufsz += NFP_NET_MAX_PREPEND; in nfp_net_calc_fl_bufsz_data()
699 fl_bufsz += dp->rx_offset; in nfp_net_calc_fl_bufsz_data()
700 fl_bufsz += ETH_HLEN + VLAN_HLEN * 2 + dp->mtu; in nfp_net_calc_fl_bufsz_data()
702 return fl_bufsz; in nfp_net_calc_fl_bufsz_data()
707 unsigned int fl_bufsz; in nfp_net_calc_fl_bufsz() local
709 fl_bufsz = NFP_NET_RX_BUF_HEADROOM; in nfp_net_calc_fl_bufsz()
710 fl_bufsz += dp->rx_dma_off; in nfp_net_calc_fl_bufsz()
711 fl_bufsz += nfp_net_calc_fl_bufsz_data(dp); in nfp_net_calc_fl_bufsz()
713 fl_bufsz = SKB_DATA_ALIGN(fl_bufsz); in nfp_net_calc_fl_bufsz()
[all …]
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_dp.c22 frag = netdev_alloc_frag(dp->fl_bufsz); in nfp_net_rx_alloc_one()
Dnfp_net.h507 u32 fl_bufsz; member
/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c533 frag = napi_alloc_frag(dp->fl_bufsz); in nfp_nfd3_napi_alloc_one()
808 unsigned int dma_map_sz = dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA; in nfp_nfd3_tx_xdp_buf()
887 true_bufsz = xdp_prog ? PAGE_SIZE : dp->fl_bufsz; in nfp_nfd3_rx()
1330 skb = build_skb(rxbuf->frag, dp->fl_bufsz); in nfp_ctrl_rx_one()
/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c549 frag = napi_alloc_frag(dp->fl_bufsz); in nfp_nfdk_napi_alloc_one()
867 unsigned int dma_map_sz = dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA; in nfp_nfdk_tx_xdp_buf()
1004 true_bufsz = xdp_prog ? PAGE_SIZE : dp->fl_bufsz; in nfp_nfdk_rx()
1487 skb = build_skb(rxbuf->frag, dp->fl_bufsz); in nfp_ctrl_rx_one()