Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A 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()
H A Dnfp_net_common.c696 unsigned int fl_bufsz = 0; in nfp_net_calc_fl_bufsz_data() local
701 fl_bufsz += dp->rx_offset; 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
712 fl_bufsz += dp->rx_dma_off; in nfp_net_calc_fl_bufsz()
715 fl_bufsz = SKB_DATA_ALIGN(fl_bufsz); in nfp_net_calc_fl_bufsz()
718 return fl_bufsz; in nfp_net_calc_fl_bufsz()
723 unsigned int fl_bufsz; in nfp_net_calc_fl_bufsz_xsk() local
725 fl_bufsz = XDP_PACKET_HEADROOM; in nfp_net_calc_fl_bufsz_xsk()
728 return fl_bufsz; in nfp_net_calc_fl_bufsz_xsk()
[all …]
H A Dnfp_net_dp.c22 frag = netdev_alloc_frag(dp->fl_bufsz); in nfp_net_rx_alloc_one()
H A Dnfp_net.h516 u32 fl_bufsz; member
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfd3/
H A Ddp.c554 frag = napi_alloc_frag(dp->fl_bufsz); in nfp_nfd3_napi_alloc_one()
838 unsigned int dma_map_sz = dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA; in nfp_nfd3_tx_xdp_buf()
916 true_bufsz = xdp_prog ? PAGE_SIZE : dp->fl_bufsz; in nfp_nfd3_rx()
1366 skb = build_skb(rxbuf->frag, dp->fl_bufsz); in nfp_ctrl_rx_one()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfdk/
H A Ddp.c574 frag = napi_alloc_frag(dp->fl_bufsz); in nfp_nfdk_napi_alloc_one()
901 unsigned int dma_map_sz = dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA; in nfp_nfdk_tx_xdp_buf()
1038 true_bufsz = xdp_prog ? PAGE_SIZE : dp->fl_bufsz; in nfp_nfdk_rx()
1528 skb = build_skb(rxbuf->frag, dp->fl_bufsz); in nfp_ctrl_rx_one()