/linux-6.3-rc2/net/sctp/ |
A D | offload.c | 58 pinfo->gso_segs = 0; in sctp_gso_segment() 61 pinfo->gso_segs++; in sctp_gso_segment() 65 pinfo->gso_segs++; in sctp_gso_segment()
|
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/ |
A D | hns3_trace.h | 26 __field(unsigned short, gso_segs) 37 __entry->gso_segs = skb_shinfo(skb)->gso_segs; 49 __entry->ip_summed, __entry->gso_size, __entry->gso_segs,
|
/linux-6.3-rc2/include/trace/events/ |
A D | net.h | 36 __field( u16, gso_segs ) 57 __entry->gso_segs = skb_shinfo(skb)->gso_segs; 68 __entry->gso_size, __entry->gso_segs, __entry->gso_type)
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/ |
A D | tx.h | 28 if (skb_shinfo(skb)->gso_segs > 1 && in efx_tx_csum_type_skb()
|
A D | tx.c | 150 segments = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 0; in __efx_siena_enqueue_skb()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | test_skb_ctx.c | 23 if (skb->gso_segs != 8) in process()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A D | skb_helpers.c | 9 .gso_segs = 8, in test_skb_helpers()
|
A D | skb_ctx.c | 18 .gso_segs = 8, in test_skb_ctx()
|
/linux-6.3-rc2/include/net/ |
A D | tso.h | 23 return skb_shinfo(skb)->gso_segs * 2 + skb_shinfo(skb)->nr_frags; in tso_count_descs()
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/ |
A D | tx.h | 35 if (skb_shinfo(skb)->gso_segs > 1 && in efx_tx_csum_type_skb()
|
A D | ef100_tx.c | 77 if (skb_shinfo(skb)->gso_segs > nic_data->tso_max_payload_num_segs) { in ef100_tx_can_tso() 392 segments = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 0; in __ef100_enqueue_skb()
|
/linux-6.3-rc2/net/ipv4/ |
A D | tcp_offload.c | 88 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(skb->len, mss); in tcp_gso_segment() 111 mss *= skb_shinfo(segs)->gso_segs; in tcp_gso_segment() 307 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in tcp_gro_complete()
|
A D | udp_offload.c | 302 mss *= skb_shinfo(segs)->gso_segs; in __udp_gso_segment() 653 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in udp_gro_complete_segment() 710 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in udp4_gro_complete()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/ |
A D | iavf_txrx.c | 227 total_packets += tx_buf->gso_segs; in iavf_clean_tx_irq() 1874 u16 gso_segs, gso_size; in iavf_tso() local 1949 gso_segs = skb_shinfo(skb)->gso_segs; in iavf_tso() 1952 first->gso_segs = gso_segs; in iavf_tso() 1953 first->bytecount += (first->gso_segs - 1) * *hdr_len; in iavf_tso() 2464 first->gso_segs = 1; in iavf_xmit_frame_ring()
|
/linux-6.3-rc2/drivers/net/ethernet/sun/ |
A D | sunvnet_common.c | 1229 int gso_size, gso_type, gso_segs; in vnet_handle_offloads() local 1251 gso_segs = skb_shinfo(skb)->gso_segs; in vnet_handle_offloads() 1254 gso_segs = DIV_ROUND_UP(skb->len - hlen, datalen); in vnet_handle_offloads() 1256 if (unlikely(vnet_tx_dring_avail(dr) < gso_segs)) { in vnet_handle_offloads() 1261 if (vnet_tx_dring_avail(dr) < skb_shinfo(skb)->gso_segs) in vnet_handle_offloads() 1275 skb_shinfo(skb)->gso_segs = gso_segs; in vnet_handle_offloads() 1290 skb_shinfo(curr)->gso_segs = in vnet_handle_offloads()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/fm10k/ |
A D | fm10k_main.c | 772 first->gso_segs = skb_shinfo(skb)->gso_segs; in fm10k_tso() 773 first->bytecount += (first->gso_segs - 1) * hdrlen; in fm10k_tso() 1081 first->gso_segs = 1; in fm10k_xmit_frame_ring() 1215 total_packets += tx_buffer->gso_segs; in fm10k_clean_tx_irq()
|
/linux-6.3-rc2/net/bpf/ |
A D | test_run.c | 1048 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, gso_segs), in convert___skb_to_skb() 1079 if (__skb->gso_segs > GSO_MAX_SEGS) in convert___skb_to_skb() 1081 skb_shinfo(skb)->gso_segs = __skb->gso_segs; in convert___skb_to_skb() 1102 __skb->gso_segs = skb_shinfo(skb)->gso_segs; in convert_skb_to___skb()
|
/linux-6.3-rc2/include/linux/ |
A D | virtio_net.h | 165 shinfo->gso_segs = 0; in virtio_net_hdr_to_skb()
|
/linux-6.3-rc2/net/xfrm/ |
A D | xfrm_replay.c | 629 oseq += skb_shinfo(skb)->gso_segs; in xfrm_replay_overflow_offload() 669 oseq += skb_shinfo(skb)->gso_segs; in xfrm_replay_overflow_offload_bmp() 714 oseq += skb_shinfo(skb)->gso_segs; in xfrm_replay_overflow_offload_esn()
|
/linux-6.3-rc2/net/ipv6/ |
A D | udp_offload.c | 172 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in udp6_gro_complete()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_xsk.c | 424 tx_bi->gso_segs = 1; in ixgbe_xmit_zc() 479 total_packets += tx_bi->gso_segs; in ixgbe_clean_xdp_tx_irq()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/verifier/ |
A D | ctx_skb.c | 970 offsetof(struct __sk_buff, gso_segs)), 981 offsetof(struct __sk_buff, gso_segs)), 993 offsetof(struct __sk_buff, gso_segs)), 1006 offsetof(struct __sk_buff, gso_segs)),
|
/linux-6.3-rc2/net/sched/ |
A D | sch_qfq.c | 1192 unsigned int len = qdisc_pkt_len(skb), gso_segs; in qfq_enqueue() local 1218 gso_segs = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 1; in qfq_enqueue() 1230 _bstats_update(&cl->bstats, len, gso_segs); in qfq_enqueue()
|
/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/ |
A D | lio_vf_main.c | 53 u16 gso_segs; member 57 u16 gso_segs; 1586 tx_info->s.gso_segs = skb_shinfo(skb)->gso_segs; in liquidio_xmit() 1614 if (tx_info->s.gso_segs) in liquidio_xmit() 1615 stats->tx_done += tx_info->s.gso_segs; in liquidio_xmit()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_txrx.c | 258 total_pkts += tx_buf->gso_segs; in ice_clean_tx_irq() 2114 first->gso_segs = skb_shinfo(skb)->gso_segs; in ice_tso() 2115 first->bytecount += (first->gso_segs - 1) * off->header_len; in ice_tso() 2381 first->gso_segs = 1; in ice_xmit_frame_ring()
|