Home
last modified time | relevance | path

Searched refs:metasize (Results 1 – 13 of 13) sorted by relevance

/linux/include/net/
A Dxdp.h118 u32 metasize:8; member
181 xdp->data_meta = frame->data - frame->metasize; in xdp_convert_frame_to_buff()
189 int metasize, headroom; in xdp_update_frame_from_buff() local
193 metasize = xdp->data - xdp->data_meta; in xdp_update_frame_from_buff()
194 metasize = metasize > 0 ? metasize : 0; in xdp_update_frame_from_buff()
195 if (unlikely((headroom - metasize) < sizeof(*xdp_frame))) in xdp_update_frame_from_buff()
207 xdp_frame->metasize = metasize; in xdp_update_frame_from_buff()
/linux/net/core/
A Dxdp.c473 unsigned int metasize, totsize; in xdp_convert_zc_to_xdp_frame() local
479 metasize = xdp_data_meta_unsupported(xdp) ? 0 : in xdp_convert_zc_to_xdp_frame()
481 totsize = xdp->data_end - xdp->data + metasize; in xdp_convert_zc_to_xdp_frame()
495 data_to_copy = metasize ? xdp->data_meta : xdp->data; in xdp_convert_zc_to_xdp_frame()
498 xdpf->data = addr + metasize; in xdp_convert_zc_to_xdp_frame()
499 xdpf->len = totsize - metasize; in xdp_convert_zc_to_xdp_frame()
501 xdpf->metasize = metasize; in xdp_convert_zc_to_xdp_frame()
550 if (xdpf->metasize) in __xdp_build_skb_from_frame()
551 skb_metadata_set(skb, xdpf->metasize); in __xdp_build_skb_from_frame()
/linux/drivers/net/
A Dvirtio_net.c447 copy = ETH_HLEN + metasize; in page_to_skb()
494 if (metasize) { in page_to_skb()
495 __skb_pull(skb, metasize); in page_to_skb()
496 skb_metadata_set(skb, metasize); in page_to_skb()
727 unsigned int metasize = 0; in receive_small() local
837 if (metasize) in receive_small()
838 skb_metadata_set(skb, metasize); in receive_small()
892 unsigned int metasize = 0; in receive_mergeable() local
975 vi->hdr_len - metasize; in receive_mergeable()
987 metasize, in receive_mergeable()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_xsk.c212 unsigned int metasize = bi->xdp->data - bi->xdp->data_meta; in ixgbe_construct_skb_zc() local
225 if (metasize) in ixgbe_construct_skb_zc()
226 skb_metadata_set(skb, metasize); in ixgbe_construct_skb_zc()
A Dixgbe_main.c2155 unsigned int metasize = xdp->data - xdp->data_meta; in ixgbe_build_skb() local
2180 if (metasize) in ixgbe_build_skb()
2181 skb_metadata_set(skb, metasize); in ixgbe_build_skb()
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_xsk.c244 unsigned int metasize = xdp->data - xdp->data_meta; in i40e_construct_skb_zc() local
257 if (metasize) in i40e_construct_skb_zc()
258 skb_metadata_set(skb, metasize); in i40e_construct_skb_zc()
A Di40e_txrx.c2189 unsigned int metasize = xdp->data - xdp->data_meta; in i40e_build_skb() local
2214 if (metasize) in i40e_build_skb()
2215 skb_metadata_set(skb, metasize); in i40e_build_skb()
/linux/drivers/net/ethernet/intel/ice/
A Dice_xsk.c432 unsigned int metasize = xdp->data - xdp->data_meta; in ice_construct_skb_zc() local
443 if (metasize) in ice_construct_skb_zc()
444 skb_metadata_set(skb, metasize); in ice_construct_skb_zc()
A Dice_txrx.c926 u8 metasize = xdp->data - xdp->data_meta; in ice_build_skb() local
955 if (metasize) in ice_build_skb()
956 skb_metadata_set(skb, metasize); in ice_build_skb()
/linux/drivers/net/ethernet/intel/ixgbevf/
A Dixgbevf_main.c929 unsigned int metasize = xdp->data - xdp->data_meta; in ixgbevf_build_skb() local
954 if (metasize) in ixgbevf_build_skb()
955 skb_metadata_set(skb, metasize); in ixgbevf_build_skb()
/linux/drivers/net/ethernet/intel/igc/
A Digc_main.c2438 unsigned int metasize = xdp->data - xdp->data_meta; in igc_construct_skb_zc() local
2440 unsigned int totalsize = metasize + datasize; in igc_construct_skb_zc()
2451 if (metasize) in igc_construct_skb_zc()
2452 skb_metadata_set(skb, metasize); in igc_construct_skb_zc()
/linux/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_main.c4781 unsigned int metasize = xdp->data - xdp->data_meta; in stmmac_construct_skb_zc() local
4793 if (metasize) in stmmac_construct_skb_zc()
4794 skb_metadata_set(skb, metasize); in stmmac_construct_skb_zc()
/linux/drivers/net/ethernet/intel/igb/
A Digb_main.c8363 unsigned int metasize = xdp->data - xdp->data_meta; in igb_build_skb() local
8378 if (metasize) in igb_build_skb()
8379 skb_metadata_set(skb, metasize); in igb_build_skb()

Completed in 90 milliseconds