/linux/include/net/ |
H A D | xdp.h | 12 #include <linux/skbuff.h> /* skb_shared_info */ 146 SKB_DATA_ALIGN(sizeof(struct skb_shared_info))) 148 static inline struct skb_shared_info * 151 return (struct skb_shared_info *)xdp_data_hard_end(xdp); in xdp_get_shared_info_from_buff() 158 const struct skb_shared_info *sinfo; in xdp_get_buff_len() 194 struct skb_shared_info *sinfo = xdp_get_shared_info_from_buff(xdp); in __xdp_buff_add_frag() 292 static inline struct skb_shared_info * 297 return (struct skb_shared_info *)(data_hard_start + frame->frame_sz - in xdp_get_shared_info_from_frame() 298 SKB_DATA_ALIGN(sizeof(struct skb_shared_info))); in xdp_get_shared_info_from_frame() 319 struct skb_shared_info *sinf in xdp_update_skb_shared_info() [all...] |
/linux/drivers/net/ethernet/intel/libeth/ |
H A D | priv.h | 14 struct skb_shared_info; 25 void (*bulk)(const struct skb_shared_info *sinfo,
|
/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()
|
H A D | net_timestamping.c | 121 struct skb_shared_info *shinfo; in bpf_test_delay() 134 shinfo = bpf_core_cast(skb->head + skb->end, struct skb_shared_info); in bpf_test_delay()
|
/linux/net/core/ |
H A D | xdp.c | 466 struct skb_shared_info *sinfo; in xdp_return_frame() 483 struct skb_shared_info *sinfo; in xdp_return_frame_rx_napi() 522 struct skb_shared_info *sinfo; in xdp_return_frame_bulk() 551 struct skb_shared_info *sinfo; in xdp_return_buff() 636 const struct skb_shared_info *sinfo; in xdp_build_skb_from_buff() 692 struct skb_shared_info *sinfo = skb_shinfo(skb); in xdp_copy_frags_from_zc() 693 const struct skb_shared_info *xinfo; in xdp_copy_frags_from_zc() 798 struct skb_shared_info *sinfo = xdp_get_shared_info_from_frame(xdpf); in __xdp_build_skb_from_frame() 811 * room for build_skb to place skb_shared_info in tailroom. in __xdp_build_skb_from_frame()
|
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()
|
/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/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_xdp.c | 31 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() 466 struct skb_shared_info *sinfo = xdp_get_shared_info_from_buff(xdp); in bnxt_xdp_build_skb()
|
/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 | 68 struct skb_shared_info *shinfo = skb_shinfo(skb); in skb_frag_unref()
|
H A D | virtio_net.h | 160 struct skb_shared_info *shinfo = skb_shinfo(skb); in __virtio_net_hdr_to_skb() 219 struct skb_shared_info *sinfo = skb_shinfo(skb); in virtio_net_hdr_from_skb()
|
H A D | skbuff.h | 258 ((X) - SKB_DATA_ALIGN(sizeof(struct skb_shared_info))) 265 SKB_DATA_ALIGN(sizeof(struct skb_shared_info))) 275 SKB_DATA_ALIGN(sizeof(struct skb_shared_info))) 593 struct skb_shared_info { struct 1252 struct skb_shared_info *shinfo) in skb_data_unref() 1736 #define skb_shinfo(SKB) ((struct skb_shared_info *)(skb_end_pointer(SKB))) 2519 static inline void __skb_fill_netmem_desc_noacc(struct skb_shared_info *shinfo, in __skb_fill_netmem_desc_noacc() 2528 static inline void __skb_fill_page_desc_noacc(struct skb_shared_info *shinfo, in __skb_fill_page_desc_noacc() 2632 struct skb_shared_info *shinfo = skb_shinfo(skb); in skb_fill_page_desc_noacc() 5124 static inline void skb_increase_gso_size(struct skb_shared_info *shinfo, in skb_increase_gso_size() [all …]
|
/linux/drivers/net/ |
H A D | tun_vnet.h | 218 struct skb_shared_info *sinfo = skb_shinfo(skb); in tun_vnet_hdr_from_skb() 249 struct skb_shared_info *sinfo = skb_shinfo(skb); in tun_vnet_hdr_tnl_from_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/include/net/libeth/ |
H A D | xdp.h | 642 const struct skb_shared_info *sinfo; in libeth_xdp_tx_queue_bulk() 690 const struct skb_shared_info *us; \ 718 struct skb_shared_info *sinfo; in libeth_xdp_tx_fill_buf() 943 const struct skb_shared_info *sinfo; in libeth_xdp_xmit_queue_bulk() 1230 static inline void libeth_xdp_return_frags(const struct skb_shared_info *sinfo, in libeth_xdp_return_frags() 1341 const struct skb_shared_info *sinfo; in libeth_xdp_buff_stats_frags() 1753 void libeth_xdp_return_buff_bulk(const struct skb_shared_info *sinfo,
|
H A D | tx.h | 65 struct skb_shared_info *sinfo;
|
/linux/drivers/net/ethernet/broadcom/bnge/ |
H A D | bnge_netdev.c | 81 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in bnge_set_ring_params() 124 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in bnge_set_ring_params()
|
/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/Documentation/networking/ |
H A D | skbuff.rst | 24 &skb_shared_info.refcount indicates the number of skbs pointing at the same
|
/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/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/mellanox/mlx4/ |
H A D | en_tx.c | 603 const struct skb_shared_info *shinfo, in is_inline() 635 const struct skb_shared_info *shinfo, in get_real_size() 689 const struct skb_shared_info *shinfo, in build_inline_wqe() 809 struct skb_shared_info *shinfo, in mlx4_en_build_dma_wqe() 874 struct skb_shared_info *shinfo = skb_shinfo(skb); in mlx4_en_xmit()
|
/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_txrx.h | 52 SKB_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)))
|