Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c893 unsigned int meta_len, data_len, meta_off, pkt_len, pkt_off; in nfp_nfd3_rx() local
936 pkt_off = NFP_NET_RX_BUF_HEADROOM + dp->rx_dma_off; in nfp_nfd3_rx()
938 pkt_off += meta_len; in nfp_nfd3_rx()
940 pkt_off += dp->rx_offset; in nfp_nfd3_rx()
941 meta_off = pkt_off - meta_len; in nfp_nfd3_rx()
966 rxbuf->frag + pkt_off, in nfp_nfd3_rx()
976 void *orig_data = rxbuf->frag + pkt_off; in nfp_nfd3_rx()
982 pkt_off - NFP_NET_RX_BUF_HEADROOM, in nfp_nfd3_rx()
988 pkt_off += xdp.data - orig_data; in nfp_nfd3_rx()
995 dma_off = pkt_off - NFP_NET_RX_BUF_HEADROOM; in nfp_nfd3_rx()
[all …]
Dxsk.c19 int pkt_off) in nfp_nfd3_xsk_tx_xdp() argument
29 xsk_buff_raw_dma_sync_for_device(pool, xrxbuf->dma_addr + pkt_off, in nfp_nfd3_xsk_tx_xdp()
43 nfp_desc_set_dma_addr_40b(txd, xrxbuf->dma_addr + pkt_off); in nfp_nfd3_xsk_tx_xdp()
129 unsigned int meta_len, data_len, pkt_len, pkt_off; in nfp_nfd3_xsk_rx() local
222 pkt_off = xrxbuf->xdp->data - xrxbuf->xdp->data_hard_start; in nfp_nfd3_xsk_rx()
231 xrxbuf, pkt_len, pkt_off)) in nfp_nfd3_xsk_rx()
/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c1010 unsigned int meta_len, data_len, meta_off, pkt_len, pkt_off; in nfp_nfdk_rx() local
1053 pkt_off = NFP_NET_RX_BUF_HEADROOM + dp->rx_dma_off; in nfp_nfdk_rx()
1055 pkt_off += meta_len; in nfp_nfdk_rx()
1057 pkt_off += dp->rx_offset; in nfp_nfdk_rx()
1058 meta_off = pkt_off - meta_len; in nfp_nfdk_rx()
1080 rxbuf->frag + pkt_off, in nfp_nfdk_rx()
1090 void *orig_data = rxbuf->frag + pkt_off; in nfp_nfdk_rx()
1096 pkt_off - NFP_NET_RX_BUF_HEADROOM, in nfp_nfdk_rx()
1102 pkt_off += xdp.data - orig_data; in nfp_nfdk_rx()
1109 dma_off = pkt_off - NFP_NET_RX_BUF_HEADROOM; in nfp_nfdk_rx()
[all …]
/drivers/net/ethernet/netronome/nfp/bpf/
Doffload.c487 unsigned int fw_mtu, pkt_off; in nfp_bpf_offload_check_mtu() local
490 pkt_off = min(prog->aux->max_pkt_offset, mtu); in nfp_bpf_offload_check_mtu()
492 return fw_mtu < pkt_off; in nfp_bpf_offload_check_mtu()
/drivers/staging/octeon/
Docteon-stubs.h275 uint64_t pkt_off:1; member
315 uint64_t pkt_off:1; member
329 uint64_t pkt_off:1; member
347 uint64_t pkt_off:1; member