/openbmc/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()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | type_cast.c | 43 struct skb_shared_info *shared_info; in md_skb() 52 bpf_core_type_id_kernel(struct skb_shared_info)); in md_skb()
|
H A D | verifier_typedef.c | 19 offsetof(struct skb_shared_info, frags)) in resolve_typedef()
|
/openbmc/linux/net/tls/ |
H A D | tls_strp.c | 31 struct skb_shared_info *shinfo = skb_shinfo(strp->anchor); in tls_strp_anchor_free() 146 struct skb_shared_info *shinfo = skb_shinfo(strp->anchor); in tls_strp_msg_hold() 193 struct skb_shared_info *shinfo = skb_shinfo(strp->anchor); in tls_strp_flush_anchor_copy() 284 struct skb_shared_info *shinfo; in tls_strp_copyin_skb() 386 struct skb_shared_info *shinfo; in tls_strp_read_copy()
|
/openbmc/linux/net/core/ |
H A D | xdp.c | 408 struct skb_shared_info *sinfo; in xdp_return_frame() 427 struct skb_shared_info *sinfo; in xdp_return_frame_rx_napi() 495 struct skb_shared_info *sinfo; in xdp_return_frame_bulk() 513 struct skb_shared_info *sinfo; in xdp_return_buff() 600 struct skb_shared_info *sinfo = xdp_get_shared_info_from_frame(xdpf); 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()
|
H A D | gro.c | 98 struct skb_shared_info *pinfo, *skbinfo = skb_shinfo(skb); in skb_gro_receive() 368 const struct skb_shared_info *pinfo = skb_shinfo(skb); in skb_gro_reset_offset() 388 struct skb_shared_info *pinfo = skb_shinfo(skb); in gro_pull_from_frag0()
|
/openbmc/linux/Documentation/translations/zh_CN/mm/ |
H A D | page_frags.rst | 19 sk_buff->head使用,或者用于skb_shared_info的 “frags” 部分。
|
/openbmc/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() 468 struct skb_shared_info *sinfo = xdp_get_shared_info_from_buff(xdp); in bnxt_xdp_build_skb()
|
/openbmc/linux/include/linux/ |
H A D | virtio_net.h | 159 struct skb_shared_info *shinfo = skb_shinfo(skb); in virtio_net_hdr_to_skb() 211 struct skb_shared_info *sinfo = skb_shinfo(skb); in virtio_net_hdr_from_skb()
|
/openbmc/linux/drivers/net/vmxnet3/ |
H A D | vmxnet3_xdp.h | 19 #define VMXNET3_XDP_RX_TAILROOM SKB_DATA_ALIGN(sizeof(struct skb_shared_info))
|
/openbmc/linux/Documentation/networking/ |
H A D | skbuff.rst | 24 &skb_shared_info.refcount indicates the number of skbs pointing at the same
|
/openbmc/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()
|
/openbmc/linux/net/sctp/ |
H A D | offload.c | 56 struct skb_shared_info *pinfo = skb_shinfo(skb); in sctp_gso_segment()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_tx.c | 38 struct skb_shared_info *shinfo; in octep_iq_process_completions() 108 struct skb_shared_info *shinfo; in octep_iq_free_pending()
|
/openbmc/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)))
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.h | 36 OTX2_DATA_ALIGN(sizeof(struct skb_shared_info)))
|
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_xdp.h | 19 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_xsk.c | 293 struct skb_shared_info *sinfo = NULL; in i40e_construct_skb_zc() 321 struct skb_shared_info *skinfo = skb_shinfo(skb); in i40e_construct_skb_zc() 403 struct skb_shared_info *sinfo = xdp_get_shared_info_from_buff(first); in i40e_add_xsk_frag()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_xsk.c | 560 struct skb_shared_info *sinfo = NULL; in ice_construct_skb_zc() 587 struct skb_shared_info *skinfo = skb_shinfo(skb); in ice_construct_skb_zc() 685 struct skb_shared_info *sinfo = NULL; in ice_xmit_xdp_tx_zc() 810 struct skb_shared_info *sinfo = xdp_get_shared_info_from_buff(first); in ice_add_xsk_frag()
|
/openbmc/linux/drivers/net/ |
H A D | virtio_net.c | 535 shinfo_size = SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in page_to_skb() 843 struct skb_shared_info *shinfo; in __virtnet_xdp_xmit_one() 1001 struct skb_shared_info *shinfo; in put_xdp_frags() 1094 int tailroom = SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in xdp_linearize_page() 1154 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in receive_small_build_skb() 1195 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in receive_small_xdp() 1206 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in receive_small_xdp() 1366 struct skb_shared_info *sinfo = xdp_get_shared_info_from_buff(xdp); in build_skb_from_xdp_buff() 1418 struct skb_shared_info *shinfo; in virtnet_build_xdp_buff_mrg() 1464 tailroom = headroom ? sizeof(struct skb_shared_info) : 0; in virtnet_build_xdp_buff_mrg() [all …]
|
/openbmc/linux/net/bpf/ |
H A D | test_run.c | 438 struct skb_shared_info *sinfo, u32 size, in bpf_test_finish() 561 void noinline bpf_fentry_test_sinfo(struct skb_shared_info *sinfo) in bpf_fentry_test_sinfo() 972 SKB_DATA_ALIGN(sizeof(struct skb_shared_info))); in bpf_prog_test_run_skb() 1149 u32 tailroom = SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in bpf_prog_test_run_xdp() 1156 struct skb_shared_info *sinfo; in bpf_prog_test_run_xdp() 1602 SKB_DATA_ALIGN(sizeof(struct skb_shared_info))); in bpf_prog_test_run_nf()
|
/openbmc/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))
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch.h | 52 SKB_DATA_ALIGN(sizeof(struct skb_shared_info))
|