Home
last modified time | relevance | path

Searched refs:gso_segs (Results 1 – 25 of 26) sorted by relevance

12

/net/sctp/
Doffload.c54 pinfo->gso_segs = 0; in sctp_gso_segment()
57 pinfo->gso_segs++; in sctp_gso_segment()
61 pinfo->gso_segs++; in sctp_gso_segment()
Doutput.c509 skb_shinfo(head)->gso_segs = pkt_count; in sctp_packet_pack()
/net/ipv4/
Dtcp_offload.c87 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(skb->len, mss); in tcp_gso_segment()
110 mss *= skb_shinfo(segs)->gso_segs; in tcp_gso_segment()
296 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in tcp_gro_complete()
Dudp_offload.c298 mss *= skb_shinfo(segs)->gso_segs; in __udp_gso_segment()
608 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in udp_gro_complete_segment()
661 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in udp4_gro_complete()
Dtcp_ipv4.c1683 u32 gso_segs; in tcp_add_backlog() local
1735 gso_segs = shinfo->gso_segs ?: 1; in tcp_add_backlog()
1739 tail_gso_segs = shinfo->gso_segs ?: 1; in tcp_add_backlog()
1768 shinfo->gso_segs = min_t(u32, gso_segs + tail_gso_segs, 0xFFFF); in tcp_add_backlog()
Desp4_offload.c269 xo->seq.low += skb_shinfo(skb)->gso_segs; in esp_xmit()
Dip_input.c470 max_t(unsigned short, 1, skb_shinfo(skb)->gso_segs)); in ip_rcv_core()
Dip_tunnel_core.c76 __ip_select_ident(net, iph, skb_shinfo(skb)->gso_segs ?: 1); in iptunnel_xmit()
Dtcp_input.c3770 num_dupack = max_t(u16, 1, skb_shinfo(skb)->gso_segs); in tcp_ack()
4525 u32 gso_segs = max_t(u16, 1, skb_shinfo(to)->gso_segs) + in tcp_ooo_try_coalesce() local
4526 max_t(u16, 1, skb_shinfo(from)->gso_segs); in tcp_ooo_try_coalesce()
4528 skb_shinfo(to)->gso_segs = min_t(u32, gso_segs, 0xFFFF); in tcp_ooo_try_coalesce()
4631 tp->rcv_ooopack += max_t(u16, 1, skb_shinfo(skb)->gso_segs); in tcp_data_queue_ofo()
Dtcp.c933 size_goal = tp->gso_segs * mss_now; in tcp_xmit_size_goal()
936 tp->gso_segs = min_t(u16, new_size_goal / mss_now, in tcp_xmit_size_goal()
938 size_goal = tp->gso_segs * mss_now; in tcp_xmit_size_goal()
Daf_inet.c1374 id += skb_shinfo(skb)->gso_segs; in inet_gso_segment()
Dip_output.c535 skb_shinfo(skb)->gso_segs ?: 1); in __ip_queue_xmit()
Dudp.c871 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(datalen, in udp_send_skb()
/net/core/
Dtso.c12 return skb_shinfo(skb)->gso_segs * 2 + skb_shinfo(skb)->nr_frags; in tso_count_descs()
Dlwt_bpf.c530 shinfo->gso_segs = 0; in handle_gso_type()
Dskbuff.c766 sh->gso_size, sh->gso_type, sh->gso_segs, in skb_dump()
1499 skb_shinfo(new)->gso_segs = skb_shinfo(old)->gso_segs; in skb_copy_header()
4126 skb_shinfo(iter)->gso_segs = partial_segs; in skb_segment()
4134 skb_shinfo(tail)->gso_segs = DIV_ROUND_UP(tail->len - doffset, gso_size); in skb_segment()
Ddev.c3143 u16 gso_segs = skb_shinfo(skb)->gso_segs; in gso_features_check() local
3145 if (gso_segs > dev->gso_max_segs) in gso_features_check()
3369 u16 gso_segs = shinfo->gso_segs; in qdisc_pkt_len_init() local
3392 gso_segs = DIV_ROUND_UP(skb->len - hdr_len, in qdisc_pkt_len_init()
3395 qdisc_skb_cb(skb)->pkt_len += (gso_segs - 1) * hdr_len; in qdisc_pkt_len_init()
Dfilter.c2900 shinfo->gso_segs = 0; in bpf_skb_proto_4_to_6()
2939 shinfo->gso_segs = 0; in bpf_skb_proto_6_to_4()
3135 shinfo->gso_segs = 0; in bpf_skb_net_grow()
3173 shinfo->gso_segs = 0; in bpf_skb_net_shrink()
7650 case offsetof(struct __sk_buff, gso_segs): in bpf_convert_ctx_access()
7652 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct skb_shared_info, gso_segs), in bpf_convert_ctx_access()
7655 gso_segs, 2, in bpf_convert_ctx_access()
/net/xfrm/
Dxfrm_replay.c570 oseq += skb_shinfo(skb)->gso_segs; in xfrm_replay_overflow_offload()
609 oseq += skb_shinfo(skb)->gso_segs; in xfrm_replay_overflow_offload_bmp()
653 oseq += skb_shinfo(skb)->gso_segs; in xfrm_replay_overflow_offload_esn()
/net/ipv6/
Dudp_offload.c157 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in udp6_gro_complete()
Desp6_offload.c297 xo->seq.low += skb_shinfo(skb)->gso_segs; in esp6_xmit()
Dip6_input.c177 max_t(unsigned short, 1, skb_shinfo(skb)->gso_segs)); in ip6_rcv_core()
Dudp.c1165 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(datalen, in udp_v6_send_skb()
/net/sched/
Dsch_qfq.c1216 unsigned int len = qdisc_pkt_len(skb), gso_segs; in qfq_enqueue() local
1242 gso_segs = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 1; in qfq_enqueue()
1255 cl->bstats.packets += gso_segs; in qfq_enqueue()
Dsch_cake.c1351 segs = shinfo->gso_segs; in cake_overhead()

12