/linux/include/net/ |
H A D | xdp.h | 144 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 D | type_cast.c | 41 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 D | verifier_typedef.c | 19 offsetof(struct skb_shared_info, frags)) in resolve_typedef()
|
/linux/net/tls/ |
H A D | tls_strp.c | 32 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 D | gso.c | 145 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 D | xdp.c | 413 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 D | page_frags.rst | 19 sk_buff->head使用,或者用于skb_shared_info的 “frags” 部分。
|
/linux/include/linux/ |
H A D | skbuff_ref.h | 69 struct skb_shared_info *shinfo = skb_shinfo(skb); in skb_frag_unref()
|
H A D | virtio_net.h | 157 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 D | skbuff.h | 257 ((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 D | bnxt_xdp.c | 30 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 D | vmxnet3_xdp.h | 19 #define VMXNET3_XDP_RX_TAILROOM SKB_DATA_ALIGN(sizeof(struct skb_shared_info))
|
/linux/Documentation/networking/ |
H A D | skbuff.rst | 24 &skb_shared_info.refcount indicates the number of skbs pointing at the same
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | ipoib_rx.c | 28 skb_size += SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in prepare_frag_skb()
|
/linux/net/sctp/ |
H A D | offload.c | 56 struct skb_shared_info *pinfo = skb_shinfo(skb); in sctp_gso_segment()
|
/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_tx.c | 37 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 D | octep_vf_tx.c | 38 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 D | ocelot_fdma.h | 58 #define OCELOT_FDMA_SKBFRAG_OVR (4 + SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.h | 36 OTX2_DATA_ALIGN(sizeof(struct skb_shared_info)))
|
/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_xdp.h | 19 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_tx.c | 606 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 D | i40e_xsk.c | 293 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 D | ice_xsk.c | 547 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 D | dpaa2-switch.h | 52 SKB_DATA_ALIGN(sizeof(struct skb_shared_info))
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_ring.h | 17 #define AQ_XDP_TAILROOM SKB_DATA_ALIGN(sizeof(struct skb_shared_info))
|