Home
last modified time | relevance | path

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

/linux/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()
313 struct sk_buff *next = FRAG_CB(skb)->next_frag; in inet_frag_rbtree_purge()
524 FRAG_CB(fp)->next_frag = FRAG_CB(skb)->next_frag; in inet_frag_reasm_prepare()
526 FRAG_CB(parent)->next_frag = fp; in inet_frag_reasm_prepare()
539 FRAG_CB(skb)->next_frag = FRAG_CB(head)->next_frag; in inet_frag_reasm_prepare()
616 fp = FRAG_CB(head)->next_frag; in inet_frag_reasm_finish()
627 struct sk_buff *next_frag = FRAG_CB(fp)->next_frag; in inet_frag_reasm_finish() local
653 fp = next_frag; in inet_frag_reasm_finish()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c560 u8 next_frag = skb_shinfo(skb)->nr_frags; in mlx5e_add_skb_frag() local
566 if (skb_can_coalesce_netmem(skb, next_frag, netmem, frag_offset)) { in mlx5e_add_skb_frag()
567 skb_coalesce_rx_frag(skb, next_frag - 1, len, truesize); in mlx5e_add_skb_frag()
572 skb_add_rx_frag_netmem(skb, next_frag, netmem, in mlx5e_add_skb_frag()
H A Den_main.c557 struct mlx5e_wqe_frag_info next_frag = {}; in mlx5e_init_frags_partition() local
563 next_frag.frag_page = &rq->wqe.alloc_units->frag_pages[0]; in mlx5e_init_frags_partition()
566 next_frag.flags = BIT(MLX5E_WQE_FRAG_SKIP_RELEASE); in mlx5e_init_frags_partition()
575 if (next_frag.offset + frag_info[f].frag_stride > PAGE_SIZE) { in mlx5e_init_frags_partition()
577 next_frag.frag_page++; in mlx5e_init_frags_partition()
578 next_frag.offset = 0; in mlx5e_init_frags_partition()
582 *frag = next_frag; in mlx5e_init_frags_partition()
585 next_frag.offset += frag_info[f].frag_stride; in mlx5e_init_frags_partition()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_xsk.c405 u32 nb_frags = 1, next_frag; in pkt_nb_frags() local
420 next_frag = pkt_stream->current_pkt_nb; in pkt_nb_frags()
422 while (next_frag++ < pkt_stream->nb_pkts) { in pkt_nb_frags()
/linux/net/core/
H A Dfilter.c4015 skb_frag_t *next_frag, *end_frag; in bpf_xdp_copy_buf() local
4029 next_frag = &sinfo->frags[0]; in bpf_xdp_copy_buf()
4048 if (!len || next_frag == end_frag) in bpf_xdp_copy_buf()
4052 ptr_buf = skb_frag_address(next_frag); in bpf_xdp_copy_buf()
4053 ptr_len = skb_frag_size(next_frag); in bpf_xdp_copy_buf()
4054 next_frag++; in bpf_xdp_copy_buf()
/linux/drivers/s390/net/
H A Dqeth_core_main.c5556 unsigned int next_frag; in qeth_create_skb_frag() local
5558 next_frag = skb_shinfo(skb)->nr_frags; in qeth_create_skb_frag()
5560 skb_add_rx_frag(skb, next_frag, page, offset_in_page(data), data_len, in qeth_create_skb_frag()