/linux-6.12.1/net/sctp/ |
D | offload.c | 59 pinfo->gso_segs = 0; in sctp_gso_segment() 62 pinfo->gso_segs++; in sctp_gso_segment() 66 pinfo->gso_segs++; in sctp_gso_segment()
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/ |
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.12.1/include/trace/events/ |
D | net.h | 36 __field( u16, gso_segs ) 58 __entry->gso_segs = skb_shinfo(skb)->gso_segs; 69 __entry->gso_size, __entry->gso_segs, __entry->gso_type)
|
/linux-6.12.1/drivers/net/ethernet/sfc/siena/ |
D | tx.h | 28 if (skb_shinfo(skb)->gso_segs > 1 && in efx_tx_csum_type_skb()
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_skb_ctx.c | 25 if (skb->gso_segs != 8) in process()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | skb_helpers.c | 9 .gso_segs = 8, in test_skb_helpers()
|
D | skb_ctx.c | 18 .gso_segs = 8, in test_skb_ctx()
|
/linux-6.12.1/drivers/net/ethernet/sfc/ |
D | tx.h | 35 if (skb_shinfo(skb)->gso_segs > 1 && in efx_tx_csum_type_skb()
|
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.12.1/include/net/ |
D | tso.h | 23 return skb_shinfo(skb)->gso_segs * 2 + skb_shinfo(skb)->nr_frags; in tso_count_descs()
|
/linux-6.12.1/net/ipv4/ |
D | tcp_offload.c | 165 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(skb->len, mss); in tcp_gso_segment() 188 mss *= skb_shinfo(segs)->gso_segs; in tcp_gso_segment() 401 shinfo->gso_segs = NAPI_GRO_CB(skb)->count; in tcp_gro_complete() 470 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in tcp4_gro_complete()
|
D | udp_offload.c | 294 skb_shinfo(gso_skb)->gso_segs = DIV_ROUND_UP(gso_skb->len - sizeof(*uh), in __udp_gso_segment() 339 mss *= skb_shinfo(segs)->gso_segs; in __udp_gso_segment() 685 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in udp_gro_complete_segment() 743 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in udp4_gro_complete()
|
/linux-6.12.1/drivers/net/ethernet/intel/iavf/ |
D | iavf_txrx.c | 247 total_packets += tx_buf->gso_segs; in iavf_clean_tx_irq() 1511 u16 gso_segs, gso_size; in iavf_tso() local 1586 gso_segs = skb_shinfo(skb)->gso_segs; in iavf_tso() 1589 first->gso_segs = gso_segs; in iavf_tso() 1590 first->bytecount += (first->gso_segs - 1) * *hdr_len; in iavf_tso() 2100 first->gso_segs = 1; in iavf_xmit_frame_ring()
|
/linux-6.12.1/drivers/net/ethernet/sun/ |
D | sunvnet_common.c | 1230 int gso_size, gso_type, gso_segs; in vnet_handle_offloads() local 1252 gso_segs = skb_shinfo(skb)->gso_segs; in vnet_handle_offloads() 1255 gso_segs = DIV_ROUND_UP(skb->len - hlen, datalen); in vnet_handle_offloads() 1257 if (unlikely(vnet_tx_dring_avail(dr) < gso_segs)) { in vnet_handle_offloads() 1262 if (vnet_tx_dring_avail(dr) < skb_shinfo(skb)->gso_segs) in vnet_handle_offloads() 1276 skb_shinfo(skb)->gso_segs = gso_segs; in vnet_handle_offloads() 1291 skb_shinfo(curr)->gso_segs = in vnet_handle_offloads()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/ |
D | octep_vf_tx.h | 235 u16 gso_segs; member
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_tx.h | 278 u16 gso_segs; member
|
/linux-6.12.1/net/bpf/ |
D | test_run.c | 917 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, gso_segs), in convert___skb_to_skb() 948 if (__skb->gso_segs > GSO_MAX_SEGS) in convert___skb_to_skb() 950 skb_shinfo(skb)->gso_segs = __skb->gso_segs; in convert___skb_to_skb() 971 __skb->gso_segs = skb_shinfo(skb)->gso_segs; in convert_skb_to___skb()
|
/linux-6.12.1/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 771 first->gso_segs = skb_shinfo(skb)->gso_segs; in fm10k_tso() 772 first->bytecount += (first->gso_segs - 1) * hdrlen; in fm10k_tso() 1080 first->gso_segs = 1; in fm10k_xmit_frame_ring() 1214 total_packets += tx_buffer->gso_segs; in fm10k_clean_tx_irq()
|
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_xsk.c | 419 tx_bi->gso_segs = 1; in ixgbe_xmit_zc() 474 total_packets += tx_bi->gso_segs; in ixgbe_clean_xdp_tx_irq()
|
/linux-6.12.1/net/xfrm/ |
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.12.1/tools/testing/selftests/bpf/verifier/ |
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.12.1/net/ipv6/ |
D | udp_offload.c | 176 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in udp6_gro_complete()
|
D | tcpv6_offload.c | 81 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in tcp6_gro_complete()
|
/linux-6.12.1/include/linux/ |
D | virtio_net.h | 195 shinfo->gso_segs = 0; in virtio_net_hdr_to_skb()
|
/linux-6.12.1/net/sched/ |
D | sch_qfq.c | 1215 unsigned int len = qdisc_pkt_len(skb), gso_segs; in qfq_enqueue() local 1241 gso_segs = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 1; in qfq_enqueue() 1253 _bstats_update(&cl->bstats, len, gso_segs); in qfq_enqueue()
|