Searched refs:NFP_NET_RX_BUF_HEADROOM (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_dp.h | 11 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()
|
D | nfp_net.h | 97 #define NFP_NET_RX_BUF_HEADROOM (NET_SKB_PAD + NET_IP_ALIGN) macro 98 #define NFP_NET_RX_BUF_NON_DATA (NFP_NET_RX_BUF_HEADROOM + \
|
D | nfp_net_common.c | 711 fl_bufsz = NFP_NET_RX_BUF_HEADROOM; in nfp_net_calc_fl_bufsz()
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | dp.c | 920 xdp_init_buff(&xdp, PAGE_SIZE - NFP_NET_RX_BUF_HEADROOM, in nfp_nfd3_rx() 968 pkt_off = NFP_NET_RX_BUF_HEADROOM + dp->rx_dma_off; in nfp_nfd3_rx() 1013 rxbuf->frag + NFP_NET_RX_BUF_HEADROOM, in nfp_nfd3_rx() 1014 pkt_off - NFP_NET_RX_BUF_HEADROOM, in nfp_nfd3_rx() 1027 dma_off = pkt_off - NFP_NET_RX_BUF_HEADROOM; in nfp_nfd3_rx() 1347 pkt_off = NFP_NET_RX_BUF_HEADROOM + dp->rx_dma_off; in nfp_ctrl_rx_one()
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfdk/ |
D | dp.c | 1042 xdp_init_buff(&xdp, PAGE_SIZE - NFP_NET_RX_BUF_HEADROOM, in nfp_nfdk_rx() 1090 pkt_off = NFP_NET_RX_BUF_HEADROOM + dp->rx_dma_off; in nfp_nfdk_rx() 1132 rxbuf->frag + NFP_NET_RX_BUF_HEADROOM, in nfp_nfdk_rx() 1133 pkt_off - NFP_NET_RX_BUF_HEADROOM, in nfp_nfdk_rx() 1146 dma_off = pkt_off - NFP_NET_RX_BUF_HEADROOM; in nfp_nfdk_rx() 1509 pkt_off = NFP_NET_RX_BUF_HEADROOM + dp->rx_dma_off; in nfp_ctrl_rx_one()
|