Home
last modified time | relevance | path

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

12345

/linux-6.1.9/include/net/
Dxdp.h141 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
143 static inline struct skb_shared_info *
146 return (struct skb_shared_info *)xdp_data_hard_end(xdp); in xdp_get_shared_info_from_buff()
152 struct skb_shared_info *sinfo; in xdp_get_buff_len()
200 static inline struct skb_shared_info *
205 return (struct skb_shared_info *)(data_hard_start + frame->frame_sz - in xdp_get_shared_info_from_frame()
206 SKB_DATA_ALIGN(sizeof(struct skb_shared_info))); in xdp_get_shared_info_from_frame()
326 struct skb_shared_info *sinfo; in xdp_release_frame()
348 struct skb_shared_info *sinfo; in xdp_get_frame_len()
/linux-6.1.9/net/core/
Dxdp.c410 struct skb_shared_info *sinfo; in xdp_return_frame()
429 struct skb_shared_info *sinfo; in xdp_return_frame_rx_napi()
497 struct skb_shared_info *sinfo; in xdp_return_frame_bulk()
515 struct skb_shared_info *sinfo; in xdp_return_buff()
618 struct skb_shared_info *sinfo = xdp_get_shared_info_from_frame(xdpf); in __xdp_build_skb_from_frame()
Dskbuff.c276 struct skb_shared_info *shinfo; in __build_skb_around()
279 size -= SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in __build_skb_around()
293 memset(shinfo, 0, offsetof(struct skb_shared_info, dataref)); in __build_skb_around()
508 size += SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in __alloc_skb()
581 len += SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in __netdev_alloc_skb()
681 len += SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in __napi_alloc_skb()
766 struct skb_shared_info *shinfo = skb_shinfo(skb); in skb_release_data()
915 struct skb_shared_info *sh = skb_shinfo(skb); in skb_dump()
1832 data = kmalloc_reserve(size + SKB_DATA_ALIGN(sizeof(struct skb_shared_info)), in pskb_expand_head()
1843 memcpy((struct skb_shared_info *)(data + size), in pskb_expand_head()
[all …]
Dgro.c155 struct skb_shared_info *pinfo, *skbinfo = skb_shinfo(skb); in skb_gro_receive()
416 const struct skb_shared_info *pinfo = skb_shinfo(skb); in skb_gro_reset_offset()
435 struct skb_shared_info *pinfo = skb_shinfo(skb); in gro_pull_from_frag0()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.h61 struct skb_shared_info *sinfo,
65 struct skb_shared_info *sinfo,
Dxdp.c62 struct skb_shared_info *sinfo = NULL; in mlx5e_xmit_xdp_buff()
297 struct skb_shared_info *sinfo, int check_result);
301 struct skb_shared_info *sinfo, int check_result) in mlx5e_xmit_xdp_frame_mpwqe()
362 struct skb_shared_info *sinfo, int check_result) in mlx5e_xmit_xdp_frame()
/linux-6.1.9/include/linux/
Dvirtio_net.h145 struct skb_shared_info *shinfo = skb_shinfo(skb); in virtio_net_hdr_to_skb()
174 struct skb_shared_info *sinfo = skb_shinfo(skb); in virtio_net_hdr_from_skb()
Dskbuff.h263 ((X) - SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
272 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
572 struct skb_shared_info { struct
1632 #define skb_shinfo(SKB) ((struct skb_shared_info *)(skb_end_pointer(SKB)))
2386 static inline void __skb_fill_page_desc_noacc(struct skb_shared_info *shinfo, in __skb_fill_page_desc_noacc()
2472 struct skb_shared_info *shinfo = skb_shinfo(skb); in skb_fill_page_desc_noacc()
3397 struct skb_shared_info *shinfo = skb_shinfo(skb); in skb_frag_unref()
4906 static inline void skb_increase_gso_size(struct skb_shared_info *shinfo, in skb_increase_gso_size()
4914 static inline void skb_decrease_gso_size(struct skb_shared_info *shinfo, in skb_decrease_gso_size()
4928 const struct skb_shared_info *shinfo = skb_shinfo(skb); in skb_warn_if_lro()
/linux-6.1.9/net/tls/
Dtls_strp.c29 struct skb_shared_info *shinfo = skb_shinfo(strp->anchor); in tls_strp_anchor_free()
128 struct skb_shared_info *shinfo = skb_shinfo(strp->anchor); in tls_strp_msg_hold()
175 struct skb_shared_info *shinfo = skb_shinfo(strp->anchor); in tls_strp_flush_anchor_copy()
278 struct skb_shared_info *shinfo; in tls_strp_read_copy()
/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dpage_frags.rst19 sk_buff->head使用,或者用于skb_shared_info的 “frags” 部分。
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c30 struct skb_shared_info *sinfo; in bnxt_xmit_bd()
203 struct skb_shared_info *shinfo; in bnxt_xdp_buff_frags_free()
271 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()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dipoib_rx.c28 skb_size += SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in prepare_frag_skb()
/linux-6.1.9/Documentation/networking/
Dskbuff.rst24 &skb_shared_info.refcount indicates the number of skbs pointing at the same
/linux-6.1.9/net/sctp/
Doffload.c55 struct skb_shared_info *pinfo = skb_shinfo(skb); in sctp_gso_segment()
/linux-6.1.9/drivers/net/ethernet/marvell/octeon_ep/
Doctep_tx.c38 struct skb_shared_info *shinfo; in octep_iq_process_completions()
108 struct skb_shared_info *shinfo; in octep_iq_free_pending()
/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_fdma.h58 #define OCELOT_FDMA_SKBFRAG_OVR (4 + SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.h34 OTX2_DATA_ALIGN(sizeof(struct skb_shared_info)))
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c602 const struct skb_shared_info *shinfo, in is_inline()
634 const struct skb_shared_info *shinfo, in get_real_size()
688 const struct skb_shared_info *shinfo, in build_inline_wqe()
808 struct skb_shared_info *shinfo, in mlx4_en_build_dma_wqe()
873 struct skb_shared_info *shinfo = skb_shinfo(skb); in mlx4_en_xmit()
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/
Daq_ring.h17 #define AQ_XDP_TAILROOM SKB_DATA_ALIGN(sizeof(struct skb_shared_info))
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.h52 SKB_DATA_ALIGN(sizeof(struct skb_shared_info))
/linux-6.1.9/drivers/net/ethernet/microsoft/mana/
Dmana_bpf.c139 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in mana_xdp_fraglen()
/linux-6.1.9/drivers/net/ethernet/fungible/funeth/
Dfuneth_tx.c22 static int fun_map_pkt(struct device *dev, const struct skb_shared_info *si, in fun_map_pkt()
154 const struct skb_shared_info *shinfo; in write_pkt_desc()
518 const struct skb_shared_info *si = NULL; in fun_xdp_tx()
Dfuneth_txrx.h55 #define FUN_RX_TAILROOM SKB_DATA_ALIGN(sizeof(struct skb_shared_info))
/linux-6.1.9/Documentation/mm/
Dpage_frags.rst16 portion of skb_shared_info.
/linux-6.1.9/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c881 struct skb_shared_info *ssi = skb_shinfo(csk->skb); in cxgbit_handle_immediate_data()
1386 struct skb_shared_info *ssi = skb_shinfo(skb); in cxgbit_lro_skb_dump()
1411 struct skb_shared_info *ssi = skb_shinfo(skb); in cxgbit_lro_hskb_reset()
1429 struct skb_shared_info *hssi = skb_shinfo(hskb); in cxgbit_lro_skb_merge()
1430 struct skb_shared_info *ssi = skb_shinfo(skb); in cxgbit_lro_skb_merge()

12345