Home
last modified time | relevance | path

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

123456

/linux/include/net/
H A Dxdp.h12 #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 Dpriv.h14 struct skb_shared_info;
25 void (*bulk)(const struct skb_shared_info *sinfo,
/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()
H A Dnet_timestamping.c121 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 Dxdp.c466 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 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()
/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/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c31 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 Dpage_frags.rst19 sk_buff->head使用,或者用于skb_shared_info的 “frags” 部分。
/linux/include/linux/
H A Dskbuff_ref.h68 struct skb_shared_info *shinfo = skb_shinfo(skb); in skb_frag_unref()
H A Dvirtio_net.h160 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 Dskbuff.h258 ((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 Dtun_vnet.h218 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 Dvmxnet3_xdp.h19 #define VMXNET3_XDP_RX_TAILROOM SKB_DATA_ALIGN(sizeof(struct skb_shared_info))
/linux/include/net/libeth/
H A Dxdp.h642 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 Dtx.h65 struct skb_shared_info *sinfo;
/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_netdev.c81 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 Dipoib_rx.c28 skb_size += SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in prepare_frag_skb()
/linux/Documentation/networking/
H A Dskbuff.rst24 &skb_shared_info.refcount indicates the number of skbs pointing at the same
/linux/net/sctp/
H A Doffload.c56 struct skb_shared_info *pinfo = skb_shinfo(skb); in sctp_gso_segment()
/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/mellanox/mlx4/
H A Den_tx.c603 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 Dfbnic_txrx.h52 SKB_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)))

123456