Home
last modified time | relevance | path

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

12345

/linux-6.3-rc2/net/sctp/
A Doffload.c58 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 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.3-rc2/include/trace/events/
A Dnet.h36 __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 Dtx.h28 if (skb_shinfo(skb)->gso_segs > 1 && in efx_tx_csum_type_skb()
A Dtx.c150 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 Dtest_skb_ctx.c23 if (skb->gso_segs != 8) in process()
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dskb_helpers.c9 .gso_segs = 8, in test_skb_helpers()
A Dskb_ctx.c18 .gso_segs = 8, in test_skb_ctx()
/linux-6.3-rc2/include/net/
A Dtso.h23 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 Dtx.h35 if (skb_shinfo(skb)->gso_segs > 1 && in efx_tx_csum_type_skb()
A 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.3-rc2/net/ipv4/
A Dtcp_offload.c88 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 Dudp_offload.c302 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 Diavf_txrx.c227 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 Dsunvnet_common.c1229 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 Dfm10k_main.c772 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 Dtest_run.c1048 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 Dvirtio_net.h165 shinfo->gso_segs = 0; in virtio_net_hdr_to_skb()
/linux-6.3-rc2/net/xfrm/
A 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.3-rc2/net/ipv6/
A Dudp_offload.c172 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in udp6_gro_complete()
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_xsk.c424 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 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.3-rc2/net/sched/
A Dsch_qfq.c1192 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 Dlio_vf_main.c53 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 Dice_txrx.c258 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()

Completed in 155 milliseconds

12345