Home
last modified time | relevance | path

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

12345

/linux-6.12.1/net/sctp/
Doffload.c59 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/
Dhns3_trace.h26 __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/
Dnet.h36 __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/
Dtx.h28 if (skb_shinfo(skb)->gso_segs > 1 && in efx_tx_csum_type_skb()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_skb_ctx.c25 if (skb->gso_segs != 8) in process()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dskb_helpers.c9 .gso_segs = 8, in test_skb_helpers()
Dskb_ctx.c18 .gso_segs = 8, in test_skb_ctx()
/linux-6.12.1/drivers/net/ethernet/sfc/
Dtx.h35 if (skb_shinfo(skb)->gso_segs > 1 && in efx_tx_csum_type_skb()
Def100_tx.c77 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/
Dtso.h23 return skb_shinfo(skb)->gso_segs * 2 + skb_shinfo(skb)->nr_frags; in tso_count_descs()
/linux-6.12.1/net/ipv4/
Dtcp_offload.c165 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()
Dudp_offload.c294 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/
Diavf_txrx.c247 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/
Dsunvnet_common.c1230 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/
Doctep_vf_tx.h235 u16 gso_segs; member
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/
Doctep_tx.h278 u16 gso_segs; member
/linux-6.12.1/net/bpf/
Dtest_run.c917 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/
Dfm10k_main.c771 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/
Dixgbe_xsk.c419 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/
Dxfrm_replay.c629 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/
Dctx_skb.c970 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/
Dudp_offload.c176 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in udp6_gro_complete()
Dtcpv6_offload.c81 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in tcp6_gro_complete()
/linux-6.12.1/include/linux/
Dvirtio_net.h195 shinfo->gso_segs = 0; in virtio_net_hdr_to_skb()
/linux-6.12.1/net/sched/
Dsch_qfq.c1215 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()

12345