Home
last modified time | relevance | path

Searched refs:next_frag (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/net/ipv4/
H A Dinet_fragment.c42 struct sk_buff *next_frag; member
52 FRAG_CB(skb)->next_frag = NULL; in fragcb_clear()
63 FRAG_CB(q->fragments_tail)->next_frag = skb; in fragrun_append_to_last()
278 struct sk_buff *next = FRAG_CB(skb)->next_frag; in inet_frag_rbtree_purge()
475 FRAG_CB(fp)->next_frag = FRAG_CB(skb)->next_frag; in inet_frag_reasm_prepare()
477 FRAG_CB(parent)->next_frag = fp; in inet_frag_reasm_prepare()
490 FRAG_CB(skb)->next_frag = FRAG_CB(head)->next_frag; in inet_frag_reasm_prepare()
567 fp = FRAG_CB(head)->next_frag; in inet_frag_reasm_finish()
578 struct sk_buff *next_frag = FRAG_CB(fp)->next_frag; in inet_frag_reasm_finish() local
604 fp = next_frag; in inet_frag_reasm_finish()
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c531 u8 next_frag = skb_shinfo(skb)->nr_frags; in mlx5e_add_skb_frag() local
536 if (skb_can_coalesce(skb, next_frag, frag_page->page, frag_offset)) { in mlx5e_add_skb_frag()
537 skb_coalesce_rx_frag(skb, next_frag - 1, len, truesize); in mlx5e_add_skb_frag()
540 skb_add_rx_frag(skb, next_frag, frag_page->page, in mlx5e_add_skb_frag()
H A Den_main.c603 struct mlx5e_wqe_frag_info next_frag = {}; in mlx5e_init_frags_partition() local
609 next_frag.frag_page = &rq->wqe.alloc_units->frag_pages[0]; in mlx5e_init_frags_partition()
612 next_frag.flags = BIT(MLX5E_WQE_FRAG_SKIP_RELEASE); in mlx5e_init_frags_partition()
621 if (next_frag.offset + frag_info[f].frag_stride > PAGE_SIZE) { in mlx5e_init_frags_partition()
623 next_frag.frag_page++; in mlx5e_init_frags_partition()
624 next_frag.offset = 0; in mlx5e_init_frags_partition()
628 *frag = next_frag; in mlx5e_init_frags_partition()
631 next_frag.offset += frag_info[f].frag_stride; in mlx5e_init_frags_partition()
/linux-6.15/tools/testing/selftests/bpf/
H A Dxskxceiver.c678 u32 nb_frags = 1, next_frag; in pkt_nb_frags() local
693 next_frag = pkt_stream->current_pkt_nb; in pkt_nb_frags()
695 while (next_frag++ < pkt_stream->nb_pkts) { in pkt_nb_frags()
/linux-6.15/net/core/
H A Dfilter.c3977 skb_frag_t *next_frag, *end_frag; in bpf_xdp_copy_buf() local
3991 next_frag = &sinfo->frags[0]; in bpf_xdp_copy_buf()
4010 if (!len || next_frag == end_frag) in bpf_xdp_copy_buf()
4014 ptr_buf = skb_frag_address(next_frag); in bpf_xdp_copy_buf()
4015 ptr_len = skb_frag_size(next_frag); in bpf_xdp_copy_buf()
4016 next_frag++; in bpf_xdp_copy_buf()
/linux-6.15/drivers/s390/net/
H A Dqeth_core_main.c5557 unsigned int next_frag; in qeth_create_skb_frag() local
5559 next_frag = skb_shinfo(skb)->nr_frags; in qeth_create_skb_frag()
5561 skb_add_rx_frag(skb, next_frag, page, offset_in_page(data), data_len, in qeth_create_skb_frag()