Home
last modified time | relevance | path

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

/linux/net/ipv4/
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()
279 struct sk_buff *next = FRAG_CB(skb)->next_frag; in inet_frag_rbtree_purge()
476 FRAG_CB(fp)->next_frag = FRAG_CB(skb)->next_frag; in inet_frag_reasm_prepare()
478 FRAG_CB(parent)->next_frag = fp; in inet_frag_reasm_prepare()
491 FRAG_CB(skb)->next_frag = FRAG_CB(head)->next_frag; in inet_frag_reasm_prepare()
568 fp = FRAG_CB(head)->next_frag; in inet_frag_reasm_finish()
579 struct sk_buff *next_frag = FRAG_CB(fp)->next_frag; in inet_frag_reasm_finish() local
605 fp = next_frag; in inet_frag_reasm_finish()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_main.c606 struct mlx5e_wqe_frag_info next_frag = {}; in mlx5e_init_frags_partition() local
612 next_frag.frag_page = &rq->wqe.alloc_units->frag_pages[0]; in mlx5e_init_frags_partition()
615 next_frag.flags = BIT(MLX5E_WQE_FRAG_SKIP_RELEASE); in mlx5e_init_frags_partition()
624 if (next_frag.offset + frag_info[f].frag_stride > PAGE_SIZE) { in mlx5e_init_frags_partition()
626 next_frag.frag_page++; in mlx5e_init_frags_partition()
627 next_frag.offset = 0; in mlx5e_init_frags_partition()
631 *frag = next_frag; in mlx5e_init_frags_partition()
634 next_frag.offset += frag_info[f].frag_stride; in mlx5e_init_frags_partition()
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()
/linux/tools/testing/selftests/bpf/
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/net/core/
A Dfilter.c3962 skb_frag_t *next_frag, *end_frag; in bpf_xdp_copy_buf() local
3976 next_frag = &sinfo->frags[0]; in bpf_xdp_copy_buf()
3995 if (!len || next_frag == end_frag) in bpf_xdp_copy_buf()
3999 ptr_buf = skb_frag_address(next_frag); in bpf_xdp_copy_buf()
4000 ptr_len = skb_frag_size(next_frag); in bpf_xdp_copy_buf()
4001 next_frag++; in bpf_xdp_copy_buf()
/linux/drivers/s390/net/
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()

Completed in 61 milliseconds