Searched refs:gso_type (Results 1 - 25 of 101) sorted by relevance

12345

/linux-master/drivers/net/ethernet/sfc/siena/
H A Dtx.h29 !(skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL) &&
30 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_TUNNEL_CSUM))
/linux-master/include/linux/
H A Dvirtio_net.h12 static inline bool virtio_net_hdr_match_proto(__be16 protocol, __u8 gso_type) argument
14 switch (gso_type & ~VIRTIO_NET_HDR_GSO_ECN) {
34 switch (hdr->gso_type & ~VIRTIO_NET_HDR_GSO_ECN) {
55 unsigned int gso_type = 0; local
60 if (hdr->gso_type != VIRTIO_NET_HDR_GSO_NONE) {
61 switch (hdr->gso_type & ~VIRTIO_NET_HDR_GSO_ECN) {
63 gso_type = SKB_GSO_TCPV4;
68 gso_type = SKB_GSO_TCPV6;
74 gso_type = SKB_GSO_UDP;
79 gso_type
[all...]
H A Dudp.h147 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) {
176 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4 &&
180 if (skb_shinfo(skb)->gso_type & SKB_GSO_FRAGLIST &&
190 !(skb_shinfo(skb)->gso_type &
/linux-master/drivers/net/ethernet/sfc/
H A Dtx.h36 !(skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL) &&
37 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_TUNNEL_CSUM))
H A Def100_tx.c190 bool gso_partial = skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL;
203 if (skb_shinfo(skb)->gso_type & SKB_GSO_TCP_FIXEDID)
216 if (skb_shinfo(skb)->gso_type &
224 outer_csum = skb_shinfo(skb)->gso_type & SKB_GSO_UDP_TUNNEL_CSUM;
/linux-master/net/openvswitch/
H A Dopenvswitch_trace.h29 __field( u16, gso_type )
54 __entry->gso_type = skb_shinfo(skb)->gso_type;
69 TP_printk("dpaddr=%p dp_name=%s dev=%s skbaddr=%p len=%u data_len=%u truesize=%u nr_frags=%d gso_size=%d gso_type=%#x ovs_flow_hash=0x%08x recirc_id=0x%08x keyaddr=%p eth_type=0x%04x ct_state=%02x ct_orig_proto=%02x ct_Zone=%04x flow_key_valid=%d action_type=%u action_len=%u action_data=%p is_last=%d",
73 __entry->gso_type, __entry->ovs_flow_hash,
100 __field( u16, gso_type )
124 __entry->gso_type = skb_shinfo(skb)->gso_type;
138 TP_printk("dpaddr=%p dp_name=%s dev=%s skbaddr=%p len=%u data_len=%u truesize=%u nr_frags=%d gso_size=%d gso_type=%#x ovs_flow_hash=0x%08x recirc_id=0x%08x keyaddr=%p eth_type=0x%04x ct_state=%02x ct_orig_proto=%02x ct_zone=%04x flow_key_valid=%d upcall_cmd=%u upcall_port=%u upcall_mru=%u",
142 __entry->gso_type, __entr
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_trace.h27 __field(unsigned int, gso_type)
38 __entry->gso_type = skb_shinfo(skb)->gso_type;
50 __entry->gso_type, __entry->fraglist, __entry->nr_frags,
/linux-master/include/trace/events/
H A Dnet.h37 __field( u16, gso_type )
59 __entry->gso_type = skb_shinfo(skb)->gso_type;
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)
190 __field( u16, gso_type )
216 __entry->gso_type = skb_shinfo(skb)->gso_type;
219 TP_printk("dev=%s napi_id=%#x queue_mapping=%u skbaddr=%p vlan_tagged=%d vlan_proto=0x%04x vlan_tci=0x%04x protocol=0x%04x ip_summed=%d hash=0x%08x l4_hash=%d len=%u data_len=%u truesize=%u mac_header_valid=%d mac_header=%d nr_frags=%d gso_size=%d gso_type=%#x",
226 __entry->nr_frags, __entry->gso_size, __entry->gso_type)
[all...]
/linux-master/net/ipv6/
H A Dtcpv6_offload.c37 skb_shinfo(skb)->gso_type |= SKB_GSO_TCPV6;
48 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6))
H A Dip6_offload.c142 skb_shinfo(skb)->gso_type & (SKB_GSO_IPXIP4 | SKB_GSO_IPXIP6))
144 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP);
147 (skb_shinfo(skb)->gso_type & SKB_GSO_UDP);
160 gso_partial = !!(skb_shinfo(segs)->gso_type & SKB_GSO_PARTIAL);
404 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP4;
411 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP6;
418 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP6;
426 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_IPXIP4))
435 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_IPXIP6))
444 if (!(skb_shinfo(skb)->gso_type
[all...]
H A Dudp_offload.c33 if (skb->encapsulation && skb_shinfo(skb)->gso_type &
40 if (!(skb_shinfo(skb)->gso_type & (SKB_GSO_UDP | SKB_GSO_UDP_L4)))
46 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4)
174 skb_shinfo(skb)->gso_type |= (SKB_GSO_FRAGLIST|SKB_GSO_UDP_L4);
H A Desp6_offload.c202 skb_shinfo(skb)->gso_type |= SKB_GSO_TCPV6;
211 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP6;
250 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_ESP))
/linux-master/net/core/
H A Dgso.c152 if (likely(shinfo->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6)))
154 } else if (likely(shinfo->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6))) {
158 } else if (shinfo->gso_type & SKB_GSO_UDP_L4) {
H A Dlwt_bpf.c523 static int handle_gso_type(struct sk_buff *skb, unsigned int gso_type, argument
528 gso_type |= SKB_GSO_DODGY;
529 shinfo->gso_type |= gso_type;
545 if (!(skb_shinfo(skb)->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6)))
/linux-master/include/uapi/linux/
H A Dvirtio_net.h140 __u8 gso_type; member in struct:virtio_net_hdr_v1
192 __u8 gso_type; member in struct:virtio_net_hdr
/linux-master/net/netfilter/ipvs/
H A Dip_vs_xmit.c1133 int tun_type, gso_type; local
1186 gso_type = __tun_gso_type_mask(AF_INET, cp->af);
1190 gso_type |= SKB_GSO_UDP_TUNNEL_CSUM;
1192 gso_type |= SKB_GSO_UDP_TUNNEL;
1195 gso_type |= SKB_GSO_TUNNEL_REMCSUM;
1199 gso_type |= SKB_GSO_GRE_CSUM;
1201 gso_type |= SKB_GSO_GRE;
1204 if (iptunnel_handle_offloads(skb, gso_type))
1277 int tun_type, gso_type; local
1329 gso_type
[all...]
/linux-master/net/ipv4/
H A Dgre_offload.c45 need_csum = !!(skb_shinfo(skb)->gso_type & SKB_GSO_GRE_CSUM);
65 gso_partial = !!(skb_shinfo(segs)->gso_type & SKB_GSO_PARTIAL);
245 skb_shinfo(skb)->gso_type = SKB_GSO_GRE;
H A Dudp_offload.c42 if (skb_shinfo(skb)->gso_type & SKB_GSO_PARTIAL)
58 need_csum = !!(skb_shinfo(skb)->gso_type & SKB_GSO_UDP_TUNNEL_CSUM);
61 remcsum = !!(skb_shinfo(skb)->gso_type & SKB_GSO_TUNNEL_REMCSUM);
94 gso_partial = !!(skb_shinfo(segs)->gso_type & SKB_GSO_PARTIAL);
288 if (skb_shinfo(gso_skb)->gso_type & SKB_GSO_FRAGLIST)
386 (skb_shinfo(skb)->gso_type &
392 if (!(skb_shinfo(skb)->gso_type & (SKB_GSO_UDP | SKB_GSO_UDP_L4)))
398 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4)
673 skb_shinfo(skb)->gso_type |= SKB_GSO_UDP_L4;
694 skb_shinfo(skb)->gso_type
[all...]
H A Dtcp_offload.c34 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_TCPV4))
315 shinfo->gso_type |= SKB_GSO_TCP_ECN;
341 skb_shinfo(skb)->gso_type |= SKB_GSO_TCPV4 |
H A Desp4_offload.c167 skb_shinfo(skb)->gso_type |= SKB_GSO_TCPV4;
171 skb_shinfo(skb)->gso_type |= SKB_GSO_IPXIP4;
210 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_ESP))
/linux-master/drivers/net/xen-netback/
H A Drx.c233 if (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV4)
256 unsigned int gso_type; local
271 gso_type = xenvif_gso_type(skb);
272 if ((1 << gso_type) & queue->vif->gso_mask) {
277 extra->u.gso.type = gso_type;
/linux-master/tools/testing/selftests/net/
H A Dtap.c315 vh->gso_type = VIRTIO_NET_HDR_GSO_UDP;
332 vh->gso_type = VIRTIO_NET_HDR_GSO_NONE;
350 vh->gso_type = VIRTIO_NET_HDR_GSO_UDP;
/linux-master/include/net/
H A Dgre.h135 !(skb_shinfo(skb)->gso_type &
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Den_accel.h123 if (skb_is_gso(skb) && skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4)
/linux-master/net/sched/
H A Dact_csum.c211 if (skb_is_gso(skb) && skb_shinfo(skb)->gso_type & SKB_GSO_TCPV4)
235 if (skb_is_gso(skb) && skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6)
261 if (skb_is_gso(skb) && skb_shinfo(skb)->gso_type & SKB_GSO_UDP)
317 if (skb_is_gso(skb) && skb_shinfo(skb)->gso_type & SKB_GSO_UDP)

Completed in 252 milliseconds

12345