Home
last modified time | relevance | path

Searched refs:skb_shared_info (Results 1 – 25 of 141) sorted by relevance

123456

/linux/include/net/
H A Dxdp.h144 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
146 static inline struct skb_shared_info *
149 return (struct skb_shared_info *)xdp_data_hard_end(xdp); in xdp_get_shared_info_from_buff()
155 struct skb_shared_info *sinfo; in xdp_get_buff_len()
203 static inline struct skb_shared_info *
208 return (struct skb_shared_info *)(data_hard_start + frame->frame_sz - in xdp_get_shared_info_from_frame()
209 SKB_DATA_ALIGN(sizeof(struct skb_shared_info))); in xdp_get_shared_info_from_frame()
322 struct skb_shared_info *sinfo; in xdp_get_frame_len()
374 meta_max = type_max(typeof_member(struct skb_shared_info, meta_len)); in xdp_metalen_invalid()
/linux/tools/testing/selftests/bpf/progs/
H A Dtype_cast.c41 struct skb_shared_info *shared_info; in md_skb()
49 shared_info = bpf_core_cast(kskb->head + kskb->end, struct skb_shared_info); in md_skb()
H A Dverifier_typedef.c19 offsetof(struct skb_shared_info, frags)) in resolve_typedef()
/linux/net/tls/
H A Dtls_strp.c32 struct skb_shared_info *shinfo = skb_shinfo(strp->anchor); in tls_strp_anchor_free()
147 struct skb_shared_info *shinfo = skb_shinfo(strp->anchor); in tls_strp_msg_hold()
194 struct skb_shared_info *shinfo = skb_shinfo(strp->anchor); in tls_strp_flush_anchor_copy()
285 struct skb_shared_info *shinfo; in tls_strp_copyin_skb()
387 struct skb_shared_info *shinfo; in tls_strp_read_copy()
/linux/net/core/
H A Dgso.c145 const struct skb_shared_info *shinfo = skb_shinfo(skb); in skb_gso_transport_seglen()
226 const struct skb_shared_info *shinfo = skb_shinfo(skb); in skb_gso_size_check()
H A Dxdp.c413 struct skb_shared_info *sinfo; in xdp_return_frame()
432 struct skb_shared_info *sinfo; in xdp_return_frame_rx_napi()
500 struct skb_shared_info *sinfo; in xdp_return_frame_bulk()
518 struct skb_shared_info *sinfo; in xdp_return_buff()
605 struct skb_shared_info *sinfo = xdp_get_shared_info_from_frame(xdpf); in __xdp_build_skb_from_frame()
/linux/Documentation/translations/zh_CN/mm/
H A Dpage_frags.rst19 sk_buff->head使用,或者用于skb_shared_info的 “frags” 部分。
/linux/include/linux/
H A Dskbuff_ref.h69 struct skb_shared_info *shinfo = skb_shinfo(skb); in skb_frag_unref()
H A Dvirtio_net.h157 struct skb_shared_info *shinfo = skb_shinfo(skb); in virtio_net_hdr_to_skb()
203 struct skb_shared_info *sinfo = skb_shinfo(skb); in virtio_net_hdr_from_skb()
H A Dskbuff.h257 ((X) - SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
264 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
274 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
590 struct skb_shared_info { struct
1231 struct skb_shared_info *shinfo) in skb_data_unref()
1691 #define skb_shinfo(SKB) ((struct skb_shared_info *)(skb_end_pointer(SKB)))
2477 static inline void __skb_fill_page_desc_noacc(struct skb_shared_info *shinfo, in __skb_fill_page_desc_noacc()
2574 struct skb_shared_info *shinfo = skb_shinfo(skb); in skb_fill_page_desc_noacc()
4919 static inline void skb_increase_gso_size(struct skb_shared_info *shinfo, in skb_increase_gso_size()
4927 static inline void skb_decrease_gso_size(struct skb_shared_info *shinfo, in skb_decrease_gso_size()
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c30 struct skb_shared_info *sinfo; in bnxt_xmit_bd()
206 struct skb_shared_info *shinfo; in bnxt_xdp_buff_frags_free()
274 struct skb_shared_info *sinfo = xdp_get_shared_info_from_buff(xdp); in bnxt_rx_xdp()
474 struct skb_shared_info *sinfo = xdp_get_shared_info_from_buff(xdp); in bnxt_xdp_build_skb()
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_xdp.h19 #define VMXNET3_XDP_RX_TAILROOM SKB_DATA_ALIGN(sizeof(struct skb_shared_info))
/linux/Documentation/networking/
H A Dskbuff.rst24 &skb_shared_info.refcount indicates the number of skbs pointing at the same
/linux/drivers/infiniband/hw/hfi1/
H A Dipoib_rx.c28 skb_size += SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in prepare_frag_skb()
/linux/net/sctp/
H A Doffload.c56 struct skb_shared_info *pinfo = skb_shinfo(skb); in sctp_gso_segment()
/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_tx.c37 struct skb_shared_info *shinfo; in octep_iq_process_completions()
106 struct skb_shared_info *shinfo; in octep_iq_free_pending()
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_tx.c38 struct skb_shared_info *shinfo; in octep_vf_iq_process_completions()
105 struct skb_shared_info *shinfo; in octep_vf_iq_free_pending()
/linux/drivers/net/ethernet/mscc/
H A Docelot_fdma.h58 #define OCELOT_FDMA_SKBFRAG_OVR (4 + SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.h36 OTX2_DATA_ALIGN(sizeof(struct skb_shared_info)))
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_xdp.h19 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c606 const struct skb_shared_info *shinfo, in is_inline()
638 const struct skb_shared_info *shinfo, in get_real_size()
692 const struct skb_shared_info *shinfo, in build_inline_wqe()
812 struct skb_shared_info *shinfo, in mlx4_en_build_dma_wqe()
877 struct skb_shared_info *shinfo = skb_shinfo(skb); in mlx4_en_xmit()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_xsk.c293 struct skb_shared_info *sinfo = NULL; in i40e_construct_skb_zc()
320 struct skb_shared_info *skinfo = skb_shinfo(skb); in i40e_construct_skb_zc()
402 struct skb_shared_info *sinfo = xdp_get_shared_info_from_buff(first); in i40e_add_xsk_frag()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_xsk.c547 struct skb_shared_info *sinfo = NULL; in ice_construct_skb_zc()
573 struct skb_shared_info *skinfo = skb_shinfo(skb); in ice_construct_skb_zc()
671 struct skb_shared_info *sinfo = NULL; in ice_xmit_xdp_tx_zc()
796 struct skb_shared_info *sinfo = xdp_get_shared_info_from_buff(first); in ice_add_xsk_frag()
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.h52 SKB_DATA_ALIGN(sizeof(struct skb_shared_info))
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ring.h17 #define AQ_XDP_TAILROOM SKB_DATA_ALIGN(sizeof(struct skb_shared_info))

123456