/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | tx.h | 28 if (skb_shinfo(skb)->gso_segs > 1 &&
|
H A D | tx.c | 150 segments = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 0;
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_skb_ctx.c | 25 if (skb->gso_segs != 8)
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | tx.h | 35 if (skb_shinfo(skb)->gso_segs > 1 &&
|
H A D | ef100_tx.c | 77 if (skb_shinfo(skb)->gso_segs > nic_data->tso_max_payload_num_segs) { 392 segments = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 0;
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | skb_helpers.c | 9 .gso_segs = 8,
|
H A D | skb_ctx.c | 18 .gso_segs = 8,
|
/linux-master/include/net/ |
H A D | tso.h | 23 return skb_shinfo(skb)->gso_segs * 2 + skb_shinfo(skb)->nr_frags;
|
/linux-master/net/sctp/ |
H A D | offload.c | 55 /* Packet is from an untrusted source, reset gso_segs. */ 59 pinfo->gso_segs = 0; 62 pinfo->gso_segs++; 66 pinfo->gso_segs++;
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/ |
H 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-master/include/trace/events/ |
H A D | net.h | 36 __field( u16, gso_segs ) 58 __entry->gso_segs = skb_shinfo(skb)->gso_segs; 62 TP_printk("dev=%s queue_mapping=%u skbaddr=%p vlan_tagged=%d vlan_proto=0x%04x vlan_tci=0x%04x protocol=0x%04x ip_summed=%d len=%u data_len=%u network_offset=%d transport_offset_valid=%d transport_offset=%d tx_flags=%d gso_size=%d gso_segs=%d gso_type=%#x", 69 __entry->gso_size, __entry->gso_segs, __entry->gso_type)
|
/linux-master/net/ipv4/ |
H A D | tcp_offload.c | 87 /* Packet is from an untrusted source, reset gso_segs. */ 89 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(skb->len, mss); 112 mss *= skb_shinfo(segs)->gso_segs; 312 shinfo->gso_segs = NAPI_GRO_CB(skb)->count;
|
H A D | udp_offload.c | 282 /* Packet is from an untrusted source, reset gso_segs. */ 283 skb_shinfo(gso_skb)->gso_segs = DIV_ROUND_UP(gso_skb->len - sizeof(*uh), 310 mss *= skb_shinfo(segs)->gso_segs; 672 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; 729 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count;
|
/linux-master/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_tx.h | 278 u16 gso_segs; member in struct:tx_mdata
|
/linux-master/drivers/net/ethernet/marvell/octeon_ep_vf/ |
H A D | octep_vf_tx.h | 235 u16 gso_segs; member in struct:tx_mdata
|
/linux-master/drivers/net/ethernet/sun/ |
H A D | sunvnet_common.c | 1230 int gso_size, gso_type, gso_segs; local 1252 gso_segs = skb_shinfo(skb)->gso_segs; 1255 gso_segs = DIV_ROUND_UP(skb->len - hlen, datalen); 1257 if (unlikely(vnet_tx_dring_avail(dr) < gso_segs)) { 1262 if (vnet_tx_dring_avail(dr) < skb_shinfo(skb)->gso_segs) 1276 skb_shinfo(skb)->gso_segs = gso_segs; 1291 skb_shinfo(curr)->gso_segs =
|
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_txrx.c | 246 total_packets += tx_buf->gso_segs; 1870 u16 gso_segs, gso_size; local 1945 gso_segs = skb_shinfo(skb)->gso_segs; 1948 first->gso_segs = gso_segs; 1949 first->bytecount += (first->gso_segs - 1) * *hdr_len; 2459 first->gso_segs = 1;
|
H A D | iavf_txrx.h | 267 unsigned short gso_segs; member in struct:iavf_tx_buffer
|
/linux-master/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_singleq_txrx.c | 397 first->gso_segs = offload.tso_segs; 398 first->bytecount = skb->len + ((first->gso_segs - 1) * offload.tso_hdr_len); 401 first->gso_segs = 1; 498 total_pkts += tx_buf->gso_segs;
|
/linux-master/include/linux/ |
H A D | virtio_net.h | 185 /* Header must be checked, and gso_segs computed. */ 187 shinfo->gso_segs = 0;
|
/linux-master/net/ipv6/ |
H A D | udp_offload.c | 175 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count;
|
/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 772 first->gso_segs = skb_shinfo(skb)->gso_segs; 773 first->bytecount += (first->gso_segs - 1) * hdrlen; 1081 first->gso_segs = 1; 1215 total_packets += tx_buffer->gso_segs;
|
/linux-master/net/bpf/ |
H A D | test_run.c | 890 /* gso_segs is allowed */ 892 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, gso_segs), 923 if (__skb->gso_segs > GSO_MAX_SEGS) 925 skb_shinfo(skb)->gso_segs = __skb->gso_segs; 946 __skb->gso_segs = skb_shinfo(skb)->gso_segs;
|
/linux-master/tools/testing/selftests/bpf/verifier/ |
H A D | ctx_skb.c | 967 "read gso_segs from CGROUP_SKB", 970 offsetof(struct __sk_buff, gso_segs)), 978 "read gso_segs from CGROUP_SKB", 981 offsetof(struct __sk_buff, gso_segs)), 989 "write gso_segs from CGROUP_SKB", 993 offsetof(struct __sk_buff, gso_segs)), 1003 "read gso_segs from CLS", 1006 offsetof(struct __sk_buff, gso_segs)),
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_xsk.c | 420 tx_bi->gso_segs = 1; 475 total_packets += tx_bi->gso_segs;
|