gso_segs 315 drivers/infiniband/sw/rxe/rxe_net.c skb_shinfo(skb)->gso_segs ?: 1); gso_segs 665 drivers/infiniband/sw/siw/siw_qp_tx.c if (tp->gso_segs) { gso_segs 667 drivers/infiniband/sw/siw/siw_qp_tx.c c_tx->tcp_seglen = tp->mss_cache * tp->gso_segs; gso_segs 671 drivers/infiniband/sw/siw/siw_qp_tx.c min_t(u16, c_tx->gso_seg_limit, tp->gso_segs); gso_segs 1770 drivers/net/ethernet/amd/xgbe/xgbe-drv.c packet->tx_packets = skb_shinfo(skb)->gso_segs; gso_segs 7866 drivers/net/ethernet/broadcom/tg3.c return skb_shinfo(skb)->gso_segs < tnapi->tx_pending / 3; gso_segs 7878 drivers/net/ethernet/broadcom/tg3.c u32 frag_cnt_est = skb_shinfo(skb)->gso_segs * 3; gso_segs 120 drivers/net/ethernet/cavium/liquidio/lio_main.c u16 gso_segs; gso_segs 124 drivers/net/ethernet/cavium/liquidio/lio_main.c u16 gso_segs; gso_segs 2514 drivers/net/ethernet/cavium/liquidio/lio_main.c tx_info->s.gso_segs = skb_shinfo(skb)->gso_segs; gso_segs 2540 drivers/net/ethernet/cavium/liquidio/lio_main.c if (tx_info->s.gso_segs) gso_segs 2541 drivers/net/ethernet/cavium/liquidio/lio_main.c stats->tx_done += tx_info->s.gso_segs; gso_segs 54 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c u16 gso_segs; gso_segs 58 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c u16 gso_segs; gso_segs 1578 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c tx_info->s.gso_segs = skb_shinfo(skb)->gso_segs; gso_segs 1606 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (tx_info->s.gso_segs) gso_segs 1607 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c stats->tx_done += tx_info->s.gso_segs; gso_segs 1274 drivers/net/ethernet/cavium/thunder/nicvf_queues.c for (segment = 0; segment < sh->gso_segs; segment++) { gso_segs 1301 drivers/net/ethernet/cavium/thunder/nicvf_queues.c return num_edescs + sh->gso_segs; gso_segs 1558 drivers/net/ethernet/chelsio/cxgb4/sge.c q->tx_cso += ssi->gso_segs; gso_segs 1854 drivers/net/ethernet/chelsio/cxgb4/sge.c txq->tx_cso += ssi->gso_segs; gso_segs 1323 drivers/net/ethernet/chelsio/cxgb4vf/sge.c txq->tx_cso += ssi->gso_segs; gso_segs 749 drivers/net/ethernet/emulex/benet/be_main.c u32 tx_pkts = skb_shinfo(skb)->gso_segs ? : 1; gso_segs 5218 drivers/net/ethernet/emulex/benet/be_main.c skb_shinfo(skb)->gso_segs == 1)) gso_segs 2506 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; gso_segs 1224 drivers/net/ethernet/ibm/ibmveth.c skb_shinfo(skb)->gso_segs = gso_segs 2367 drivers/net/ethernet/ibm/ibmvnic.c skb_shinfo(skb)->gso_segs == 1) gso_segs 2938 drivers/net/ethernet/intel/e1000/e1000_main.c segs = skb_shinfo(skb)->gso_segs ?: 1; gso_segs 5622 drivers/net/ethernet/intel/e1000e/netdev.c segs = skb_shinfo(skb)->gso_segs ? : 1; gso_segs 66 drivers/net/ethernet/intel/fm10k/fm10k.h u16 gso_segs; gso_segs 782 drivers/net/ethernet/intel/fm10k/fm10k_main.c first->gso_segs = skb_shinfo(skb)->gso_segs; gso_segs 783 drivers/net/ethernet/intel/fm10k/fm10k_main.c first->bytecount += (first->gso_segs - 1) * hdrlen; gso_segs 1091 drivers/net/ethernet/intel/fm10k/fm10k_main.c first->gso_segs = 1; gso_segs 1225 drivers/net/ethernet/intel/fm10k/fm10k_main.c total_packets += tx_buffer->gso_segs; gso_segs 810 drivers/net/ethernet/intel/i40e/i40e_txrx.c total_packets += tx_buf->gso_segs; gso_segs 2902 drivers/net/ethernet/intel/i40e/i40e_txrx.c u16 gso_segs, gso_size; gso_segs 2970 drivers/net/ethernet/intel/i40e/i40e_txrx.c gso_segs = skb_shinfo(skb)->gso_segs; gso_segs 2973 drivers/net/ethernet/intel/i40e/i40e_txrx.c first->gso_segs = gso_segs; gso_segs 2974 drivers/net/ethernet/intel/i40e/i40e_txrx.c first->bytecount += (first->gso_segs - 1) * *hdr_len; gso_segs 3523 drivers/net/ethernet/intel/i40e/i40e_txrx.c tx_bi->gso_segs = 1; gso_segs 3602 drivers/net/ethernet/intel/i40e/i40e_txrx.c first->gso_segs = 1; gso_segs 290 drivers/net/ethernet/intel/i40e/i40e_txrx.h unsigned short gso_segs; gso_segs 224 drivers/net/ethernet/intel/iavf/iavf_txrx.c total_packets += tx_buf->gso_segs; gso_segs 1868 drivers/net/ethernet/intel/iavf/iavf_txrx.c u16 gso_segs, gso_size; gso_segs 1936 drivers/net/ethernet/intel/iavf/iavf_txrx.c gso_segs = skb_shinfo(skb)->gso_segs; gso_segs 1939 drivers/net/ethernet/intel/iavf/iavf_txrx.c first->gso_segs = gso_segs; gso_segs 1940 drivers/net/ethernet/intel/iavf/iavf_txrx.c first->bytecount += (first->gso_segs - 1) * *hdr_len; gso_segs 2451 drivers/net/ethernet/intel/iavf/iavf_txrx.c first->gso_segs = 1; gso_segs 267 drivers/net/ethernet/intel/iavf/iavf_txrx.h unsigned short gso_segs; gso_segs 137 drivers/net/ethernet/intel/ice/ice_txrx.c total_pkts += tx_buf->gso_segs; gso_segs 1941 drivers/net/ethernet/intel/ice/ice_txrx.c first->gso_segs = skb_shinfo(skb)->gso_segs; gso_segs 1942 drivers/net/ethernet/intel/ice/ice_txrx.c first->bytecount += (first->gso_segs - 1) * off->header_len; gso_segs 2141 drivers/net/ethernet/intel/ice/ice_txrx.c first->gso_segs = 1; gso_segs 59 drivers/net/ethernet/intel/ice/ice_txrx.h unsigned short gso_segs; gso_segs 205 drivers/net/ethernet/intel/igb/igb.h u16 gso_segs; gso_segs 5754 drivers/net/ethernet/intel/igb/igb_main.c first->gso_segs = skb_shinfo(skb)->gso_segs; gso_segs 5755 drivers/net/ethernet/intel/igb/igb_main.c first->bytecount += (first->gso_segs - 1) * *hdr_len; gso_segs 6090 drivers/net/ethernet/intel/igb/igb_main.c first->gso_segs = 1; gso_segs 7781 drivers/net/ethernet/intel/igb/igb_main.c total_packets += tx_buffer->gso_segs; gso_segs 808 drivers/net/ethernet/intel/igbvf/netdev.c segs = skb_shinfo(skb)->gso_segs ?: 1; gso_segs 188 drivers/net/ethernet/intel/igc/igc.h u16 gso_segs; gso_segs 1125 drivers/net/ethernet/intel/igc/igc_main.c first->gso_segs = 1; gso_segs 1737 drivers/net/ethernet/intel/igc/igc_main.c total_packets += tx_buffer->gso_segs; gso_segs 219 drivers/net/ethernet/intel/ixgbe/ixgbe.h unsigned short gso_segs; gso_segs 569 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c first->gso_segs = DIV_ROUND_UP(skb->len - *hdr_len, gso_segs 571 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c first->bytecount += (first->gso_segs - 1) * *hdr_len; gso_segs 1148 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c total_packets += tx_buffer->gso_segs; gso_segs 8026 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c first->gso_segs = skb_shinfo(skb)->gso_segs; gso_segs 8027 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c first->bytecount += (first->gso_segs - 1) * *hdr_len; gso_segs 8570 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tx_buffer->gso_segs = 1; gso_segs 8638 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c first->gso_segs = 1; gso_segs 603 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c tx_bi->gso_segs = 1; gso_segs 658 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c total_packets += tx_bi->gso_segs; gso_segs 38 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h unsigned short gso_segs; gso_segs 302 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c total_packets += tx_buffer->gso_segs; gso_segs 1009 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c tx_buffer->gso_segs = 1; gso_segs 3814 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c first->gso_segs = skb_shinfo(skb)->gso_segs; gso_segs 3815 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c first->bytecount += (first->gso_segs - 1) * *hdr_len; gso_segs 4153 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c first->gso_segs = 1; gso_segs 1003 drivers/net/ethernet/mellanox/mlx4/en_tx.c i = shinfo->gso_segs; gso_segs 178 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c MLX5E_IPSEC_ESN_SCOPE_MID < (oseq - skb_shinfo(skb)->gso_segs))) { gso_segs 480 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c stats->tls_encrypted_packets += skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 1; gso_segs 171 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c skb_shinfo(nskb)->gso_segs = DIV_ROUND_UP(data_len, mss); gso_segs 292 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c num_bytes = skb->len + (skb_shinfo(skb)->gso_segs - 1) * ihs; gso_segs 293 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c stats->packets += skb_shinfo(skb)->gso_segs; gso_segs 615 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c num_bytes = skb->len + (skb_shinfo(skb)->gso_segs - 1) * ihs; gso_segs 616 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c stats->packets += skb_shinfo(skb)->gso_segs; gso_segs 747 drivers/net/ethernet/netronome/nfp/nfp_net_common.c txbuf->pkt_cnt = skb_shinfo(skb)->gso_segs; gso_segs 886 drivers/net/ethernet/netronome/nfp/nfp_net_common.c r_vec->hw_tls_tx += skb_shinfo(skb)->gso_segs; gso_segs 511 drivers/net/ethernet/sfc/tx.c segments = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 0; gso_segs 1229 drivers/net/ethernet/sun/sunvnet_common.c int gso_size, gso_type, gso_segs; gso_segs 1251 drivers/net/ethernet/sun/sunvnet_common.c gso_segs = skb_shinfo(skb)->gso_segs; gso_segs 1254 drivers/net/ethernet/sun/sunvnet_common.c gso_segs = DIV_ROUND_UP(skb->len - hlen, datalen); gso_segs 1256 drivers/net/ethernet/sun/sunvnet_common.c if (unlikely(vnet_tx_dring_avail(dr) < gso_segs)) { gso_segs 1261 drivers/net/ethernet/sun/sunvnet_common.c if (vnet_tx_dring_avail(dr) < skb_shinfo(skb)->gso_segs) gso_segs 1275 drivers/net/ethernet/sun/sunvnet_common.c skb_shinfo(skb)->gso_segs = gso_segs; gso_segs 1293 drivers/net/ethernet/sun/sunvnet_common.c skb_shinfo(curr)->gso_segs = gso_segs 97 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c pkt_info->tx_packets = skb_shinfo(skb)->gso_segs; gso_segs 1932 drivers/net/usb/r8152.c agg->skb_num += skb_shinfo(skb)->gso_segs ?: 1; gso_segs 1508 drivers/net/vmxnet3/vmxnet3_drv.c skb_shinfo(skb)->gso_segs = segCnt; gso_segs 1520 drivers/net/vmxnet3/vmxnet3_drv.c skb_shinfo(skb)->gso_segs = segCnt; gso_segs 1195 drivers/net/xen-netback/netback.c skb_shinfo(skb)->gso_segs = gso_segs 885 drivers/net/xen-netfront.c skb_shinfo(skb)->gso_segs = 0; gso_segs 1114 drivers/s390/net/qeth_core_main.c packets = is_tso ? skb_shinfo(skb)->gso_segs : 1; gso_segs 517 include/linux/skbuff.h unsigned short gso_segs; gso_segs 4415 include/linux/skbuff.h skb_shinfo(skb)->gso_segs = 0; gso_segs 142 include/linux/tcp.h u16 gso_segs; /* Max number of segs per GSO packet */ gso_segs 121 include/linux/virtio_net.h shinfo->gso_segs = 0; gso_segs 811 include/net/sch_generic.h skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 1); gso_segs 2332 include/net/sock.h int segs = max_t(u16, 1, skb_shinfo(skb)->gso_segs); gso_segs 2113 include/net/tcp.h segs_in = max_t(u16, 1, skb_shinfo(skb)->gso_segs); gso_segs 494 include/net/udp.h int segs_nr = skb_shinfo(skb)->gso_segs; gso_segs 36 include/trace/events/net.h __field( u16, gso_segs ) gso_segs 57 include/trace/events/net.h __entry->gso_segs = skb_shinfo(skb)->gso_segs; gso_segs 68 include/trace/events/net.h __entry->gso_size, __entry->gso_segs, __entry->gso_type) gso_segs 3006 include/uapi/linux/bpf.h __u32 gso_segs; gso_segs 6842 lib/test_bpf.c skb_shinfo(skb[0])->gso_segs = 0; gso_segs 3130 net/core/dev.c u16 gso_segs = skb_shinfo(skb)->gso_segs; gso_segs 3132 net/core/dev.c if (gso_segs > dev->gso_max_segs) gso_segs 3348 net/core/dev.c u16 gso_segs = shinfo->gso_segs; gso_segs 3371 net/core/dev.c gso_segs = DIV_ROUND_UP(skb->len - hdr_len, gso_segs 3374 net/core/dev.c qdisc_skb_cb(skb)->pkt_len += (gso_segs - 1) * hdr_len; gso_segs 2866 net/core/filter.c shinfo->gso_segs = 0; gso_segs 2907 net/core/filter.c shinfo->gso_segs = 0; gso_segs 3103 net/core/filter.c shinfo->gso_segs = 0; gso_segs 3141 net/core/filter.c shinfo->gso_segs = 0; gso_segs 7542 net/core/filter.c case offsetof(struct __sk_buff, gso_segs): gso_segs 7557 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct skb_shared_info, gso_segs), gso_segs 7560 net/core/filter.c gso_segs, 2, gso_segs 532 net/core/lwt_bpf.c shinfo->gso_segs = 0; gso_segs 755 net/core/skbuff.c sh->gso_size, sh->gso_type, sh->gso_segs, gso_segs 1480 net/core/skbuff.c skb_shinfo(new)->gso_segs = skb_shinfo(old)->gso_segs; gso_segs 3958 net/core/skbuff.c skb_shinfo(iter)->gso_segs = partial_segs; gso_segs 3966 net/core/skbuff.c skb_shinfo(tail)->gso_segs = DIV_ROUND_UP(tail->len - doffset, gso_size); gso_segs 12 net/core/tso.c return skb_shinfo(skb)->gso_segs * 2 + skb_shinfo(skb)->nr_frags; gso_segs 1367 net/ipv4/af_inet.c id += skb_shinfo(skb)->gso_segs; gso_segs 267 net/ipv4/esp4_offload.c xo->seq.low += skb_shinfo(skb)->gso_segs; gso_segs 463 net/ipv4/ip_input.c max_t(unsigned short, 1, skb_shinfo(skb)->gso_segs)); gso_segs 526 net/ipv4/ip_output.c skb_shinfo(skb)->gso_segs ?: 1); gso_segs 76 net/ipv4/ip_tunnel_core.c __ip_select_ident(net, iph, skb_shinfo(skb)->gso_segs ?: 1); gso_segs 927 net/ipv4/tcp.c size_goal = tp->gso_segs * mss_now; gso_segs 930 net/ipv4/tcp.c tp->gso_segs = min_t(u16, new_size_goal / mss_now, gso_segs 932 net/ipv4/tcp.c size_goal = tp->gso_segs * mss_now; gso_segs 3710 net/ipv4/tcp_input.c num_dupack = max_t(u16, 1, skb_shinfo(skb)->gso_segs); gso_segs 4461 net/ipv4/tcp_input.c u32 gso_segs = max_t(u16, 1, skb_shinfo(to)->gso_segs) + gso_segs 4462 net/ipv4/tcp_input.c max_t(u16, 1, skb_shinfo(from)->gso_segs); gso_segs 4464 net/ipv4/tcp_input.c skb_shinfo(to)->gso_segs = min_t(u32, gso_segs, 0xFFFF); gso_segs 4565 net/ipv4/tcp_input.c tp->rcv_ooopack += max_t(u16, 1, skb_shinfo(skb)->gso_segs); gso_segs 1657 net/ipv4/tcp_ipv4.c u32 gso_segs; gso_segs 1688 net/ipv4/tcp_ipv4.c if (!shinfo->gso_segs) gso_segs 1689 net/ipv4/tcp_ipv4.c shinfo->gso_segs = 1; gso_segs 1741 net/ipv4/tcp_ipv4.c gso_segs = skb_shinfo(tail)->gso_segs + shinfo->gso_segs; gso_segs 1742 net/ipv4/tcp_ipv4.c skb_shinfo(tail)->gso_segs = min_t(u32, gso_segs, 0xFFFF); gso_segs 87 net/ipv4/tcp_offload.c skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(skb->len, mss); gso_segs 110 net/ipv4/tcp_offload.c mss *= skb_shinfo(segs)->gso_segs; gso_segs 296 net/ipv4/tcp_offload.c skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; gso_segs 1166 net/ipv4/tcp_output.c skb_shinfo(skb)->gso_segs = tcp_skb_pcount(skb); gso_segs 861 net/ipv4/udp.c skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(datalen, gso_segs 222 net/ipv4/udp_offload.c mss *= skb_shinfo(segs)->gso_segs; gso_segs 502 net/ipv4/udp_offload.c skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; gso_segs 295 net/ipv6/esp6_offload.c xo->seq.low += skb_shinfo(skb)->gso_segs; gso_segs 173 net/ipv6/ip6_input.c max_t(unsigned short, 1, skb_shinfo(skb)->gso_segs)); gso_segs 1148 net/ipv6/udp.c skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(datalen, gso_segs 1347 net/sched/sch_cake.c segs = shinfo->gso_segs; gso_segs 1200 net/sched/sch_qfq.c unsigned int len = qdisc_pkt_len(skb), gso_segs; gso_segs 1226 net/sched/sch_qfq.c gso_segs = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 1; gso_segs 1239 net/sched/sch_qfq.c cl->bstats.packets += gso_segs; gso_segs 54 net/sctp/offload.c pinfo->gso_segs = 0; gso_segs 57 net/sctp/offload.c pinfo->gso_segs++; gso_segs 61 net/sctp/offload.c pinfo->gso_segs++; gso_segs 509 net/sctp/output.c skb_shinfo(head)->gso_segs = pkt_count; gso_segs 570 net/xfrm/xfrm_replay.c oseq += skb_shinfo(skb)->gso_segs; gso_segs 609 net/xfrm/xfrm_replay.c oseq += skb_shinfo(skb)->gso_segs; gso_segs 653 net/xfrm/xfrm_replay.c oseq += skb_shinfo(skb)->gso_segs; gso_segs 3006 tools/include/uapi/linux/bpf.h __u32 gso_segs; gso_segs 970 tools/testing/selftests/bpf/verifier/ctx_skb.c offsetof(struct __sk_buff, gso_segs)), gso_segs 981 tools/testing/selftests/bpf/verifier/ctx_skb.c offsetof(struct __sk_buff, gso_segs)), gso_segs 993 tools/testing/selftests/bpf/verifier/ctx_skb.c offsetof(struct __sk_buff, gso_segs)), gso_segs 1006 tools/testing/selftests/bpf/verifier/ctx_skb.c offsetof(struct __sk_buff, gso_segs)),