Home
last modified time | relevance | path

Searched refs:NFP_NET_RX_BUF_HEADROOM (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_net_dp.h11 return dma_map_single_attrs(dp->dev, frag + NFP_NET_RX_BUF_HEADROOM, in nfp_net_dma_map_rx()
36 dma_sync_single_for_cpu(dp->dev, dma_addr - NFP_NET_RX_BUF_HEADROOM, in nfp_net_dma_sync_cpu_rx()
Dnfp_net.h94 #define NFP_NET_RX_BUF_HEADROOM (NET_SKB_PAD + NET_IP_ALIGN) macro
95 #define NFP_NET_RX_BUF_NON_DATA (NFP_NET_RX_BUF_HEADROOM + \
Dnfp_net_common.c709 fl_bufsz = NFP_NET_RX_BUF_HEADROOM; in nfp_net_calc_fl_bufsz()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c888 xdp_init_buff(&xdp, PAGE_SIZE - NFP_NET_RX_BUF_HEADROOM, in nfp_nfd3_rx()
936 pkt_off = NFP_NET_RX_BUF_HEADROOM + dp->rx_dma_off; in nfp_nfd3_rx()
981 rxbuf->frag + NFP_NET_RX_BUF_HEADROOM, in nfp_nfd3_rx()
982 pkt_off - NFP_NET_RX_BUF_HEADROOM, in nfp_nfd3_rx()
995 dma_off = pkt_off - NFP_NET_RX_BUF_HEADROOM; in nfp_nfd3_rx()
1308 pkt_off = NFP_NET_RX_BUF_HEADROOM + dp->rx_dma_off; in nfp_ctrl_rx_one()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c1005 xdp_init_buff(&xdp, PAGE_SIZE - NFP_NET_RX_BUF_HEADROOM, in nfp_nfdk_rx()
1053 pkt_off = NFP_NET_RX_BUF_HEADROOM + dp->rx_dma_off; in nfp_nfdk_rx()
1095 rxbuf->frag + NFP_NET_RX_BUF_HEADROOM, in nfp_nfdk_rx()
1096 pkt_off - NFP_NET_RX_BUF_HEADROOM, in nfp_nfdk_rx()
1109 dma_off = pkt_off - NFP_NET_RX_BUF_HEADROOM; in nfp_nfdk_rx()
1465 pkt_off = NFP_NET_RX_BUF_HEADROOM + dp->rx_dma_off; in nfp_ctrl_rx_one()