Searched refs:fl_bufsz (Results 1 – 6 of 6) sorted by relevance
12 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()
696 unsigned int fl_bufsz = 0; in nfp_net_calc_fl_bufsz_data() local699 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() local711 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 …]
22 frag = netdev_alloc_frag(dp->fl_bufsz); in nfp_net_rx_alloc_one()
516 u32 fl_bufsz; member
557 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()
577 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()