Searched refs:NFP_NET_RX_BUF_HEADROOM (Results 1 – 5 of 5) sorted by relevance
/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 | 94 #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 + \
|
D | nfp_net_common.c | 709 fl_bufsz = NFP_NET_RX_BUF_HEADROOM; in nfp_net_calc_fl_bufsz()
|
/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | dp.c | 888 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()
|
/drivers/net/ethernet/netronome/nfp/nfdk/ |
D | dp.c | 1005 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()
|