/linux-4.4.14/include/trace/events/ |
D | net.h | 36 __field( u16, gso_type ) 57 __entry->gso_type = skb_shinfo(skb)->gso_type; 67 __entry->gso_size, __entry->gso_segs, __entry->gso_type) 165 __field( u16, gso_type ) 191 __entry->gso_type = skb_shinfo(skb)->gso_type; 201 __entry->nr_frags, __entry->gso_size, __entry->gso_type)
|
/linux-4.4.14/drivers/net/ |
D | macvtap.c | 627 unsigned short gso_type = 0; in macvtap_skb_from_vnet_hdr() local 628 if (vnet_hdr->gso_type != VIRTIO_NET_HDR_GSO_NONE) { in macvtap_skb_from_vnet_hdr() 629 switch (vnet_hdr->gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in macvtap_skb_from_vnet_hdr() 631 gso_type = SKB_GSO_TCPV4; in macvtap_skb_from_vnet_hdr() 634 gso_type = SKB_GSO_TCPV6; in macvtap_skb_from_vnet_hdr() 637 gso_type = SKB_GSO_UDP; in macvtap_skb_from_vnet_hdr() 643 if (vnet_hdr->gso_type & VIRTIO_NET_HDR_GSO_ECN) in macvtap_skb_from_vnet_hdr() 644 gso_type |= SKB_GSO_TCP_ECN; in macvtap_skb_from_vnet_hdr() 656 if (vnet_hdr->gso_type != VIRTIO_NET_HDR_GSO_NONE) { in macvtap_skb_from_vnet_hdr() 658 skb_shinfo(skb)->gso_type = gso_type; in macvtap_skb_from_vnet_hdr() [all …]
|
D | virtio_net.c | 492 if (hdr->hdr.gso_type != VIRTIO_NET_HDR_GSO_NONE) { in receive_buf() 494 switch (hdr->hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in receive_buf() 496 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; in receive_buf() 499 skb_shinfo(skb)->gso_type = SKB_GSO_UDP; in receive_buf() 502 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6; in receive_buf() 506 dev->name, hdr->hdr.gso_type); in receive_buf() 510 if (hdr->hdr.gso_type & VIRTIO_NET_HDR_GSO_ECN) in receive_buf() 511 skb_shinfo(skb)->gso_type |= SKB_GSO_TCP_ECN; in receive_buf() 521 skb_shinfo(skb)->gso_type |= SKB_GSO_DODGY; in receive_buf() 884 if (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV4) in xmit_skb() [all …]
|
D | tun.c | 1219 if (gso.gso_type != VIRTIO_NET_HDR_GSO_NONE) { in tun_get_user() 1221 switch (gso.gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in tun_get_user() 1223 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; in tun_get_user() 1226 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6; in tun_get_user() 1229 skb_shinfo(skb)->gso_type = SKB_GSO_UDP; in tun_get_user() 1237 if (gso.gso_type & VIRTIO_NET_HDR_GSO_ECN) in tun_get_user() 1238 skb_shinfo(skb)->gso_type |= SKB_GSO_TCP_ECN; in tun_get_user() 1248 skb_shinfo(skb)->gso_type |= SKB_GSO_DODGY; in tun_get_user() 1333 if (sinfo->gso_type & SKB_GSO_TCPV4) in tun_put_user() 1334 gso.gso_type = VIRTIO_NET_HDR_GSO_TCPV4; in tun_put_user() [all …]
|
D | xen-netfront.c | 643 gso->u.gso.type = (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6) ? in xennet_start_xmit() 860 skb_shinfo(skb)->gso_type = in xennet_set_skb_gso() 866 skb_shinfo(skb)->gso_type |= SKB_GSO_DODGY; in xennet_set_skb_gso()
|
/linux-4.4.14/net/ipv6/ |
D | udp_offload.c | 39 int type = skb_shinfo(skb)->gso_type; in udp6_ufo_fragment() 63 if (skb->encapsulation && skb_shinfo(skb)->gso_type & in udp6_ufo_fragment() 163 skb_shinfo(skb)->gso_type |= SKB_GSO_UDP_TUNNEL_CSUM; in udp6_gro_complete() 167 skb_shinfo(skb)->gso_type |= SKB_GSO_UDP_TUNNEL; in udp6_gro_complete()
|
D | ip6_offload.c | 71 if (unlikely(skb_shinfo(skb)->gso_type & in ipv6_gso_segment() 104 skb_shinfo(skb)->gso_type & (SKB_GSO_SIT|SKB_GSO_IPIP)) in ipv6_gso_segment() 289 skb_shinfo(skb)->gso_type |= SKB_GSO_SIT; in sit_gro_complete()
|
D | tcpv6_offload.c | 39 skb_shinfo(skb)->gso_type |= SKB_GSO_TCPV6; in tcp6_gro_complete()
|
D | ip6_output.c | 1134 skb_shinfo(skb)->gso_type = SKB_GSO_UDP; in ip6_ufo_append_data()
|
/linux-4.4.14/net/ipv4/ |
D | udp_offload.c | 42 bool need_csum = !!(skb_shinfo(skb)->gso_type & in __skb_udp_tunnel_segment() 44 bool remcsum = !!(skb_shinfo(skb)->gso_type & SKB_GSO_TUNNEL_REMCSUM); in __skb_udp_tunnel_segment() 188 (skb_shinfo(skb)->gso_type & in udp4_ufo_fragment() 203 int type = skb_shinfo(skb)->gso_type; in udp4_ufo_fragment() 407 skb_shinfo(skb)->gso_type |= SKB_GSO_TUNNEL_REMCSUM; in udp_gro_complete() 421 skb_shinfo(skb)->gso_type |= SKB_GSO_UDP_TUNNEL_CSUM; in udp4_gro_complete() 425 skb_shinfo(skb)->gso_type |= SKB_GSO_UDP_TUNNEL; in udp4_gro_complete()
|
D | tcp_offload.c | 86 int type = skb_shinfo(skb)->gso_type; in tcp_gso_segment() 285 skb_shinfo(skb)->gso_type |= SKB_GSO_TCP_ECN; in tcp_gro_complete() 311 skb_shinfo(skb)->gso_type |= SKB_GSO_TCPV4; in tcp4_gro_complete()
|
D | gre_offload.c | 31 if (unlikely(skb_shinfo(skb)->gso_type & in gre_gso_segment() 236 skb_shinfo(skb)->gso_type = SKB_GSO_GRE; in gre_gro_complete()
|
D | ip_tunnel_core.c | 165 skb_shinfo(skb)->gso_type |= gso_type_mask; in iptunnel_handle_offloads()
|
D | af_inet.c | 1210 if (unlikely(skb_shinfo(skb)->gso_type & in inet_gso_segment() 1254 skb_shinfo(skb)->gso_type & (SKB_GSO_SIT|SKB_GSO_IPIP)) in inet_gso_segment()
|
D | ip_output.c | 858 skb_shinfo(skb)->gso_type = SKB_GSO_UDP; in ip_ufo_append_data() 1247 skb_shinfo(skb)->gso_type = SKB_GSO_UDP; in ip_append_page()
|
D | ip_gre.c | 473 !(skb_shinfo(skb)->gso_type & in build_header()
|
D | tcp_output.c | 382 skb_shinfo(skb)->gso_type |= SKB_GSO_TCP_ECN; in tcp_ecn_send() 991 skb_shinfo(skb)->gso_type = sk->sk_gso_type; in tcp_transmit_skb()
|
/linux-4.4.14/drivers/net/xen-netback/ |
D | netback.c | 266 meta->gso_type = XEN_NETIF_GSO_TYPE_NONE; in get_next_rx_buffer() 282 int gso_type; member 330 if (info->head && ((1 << info->gso_type) & queue->vif->gso_mask)) in xenvif_setup_copy_gop() 364 .gso_type = XEN_NETIF_GSO_TYPE_NONE, in xenvif_gop_frag_copy() 369 if (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV4) in xenvif_gop_frag_copy() 370 info.gso_type = XEN_NETIF_GSO_TYPE_TCPV4; in xenvif_gop_frag_copy() 371 else if (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6) in xenvif_gop_frag_copy() 372 info.gso_type = XEN_NETIF_GSO_TYPE_TCPV6; in xenvif_gop_frag_copy() 432 int gso_type; in xenvif_gop_skb() local 436 gso_type = XEN_NETIF_GSO_TYPE_NONE; in xenvif_gop_skb() [all …]
|
D | common.h | 74 int gso_type; member
|
/linux-4.4.14/include/uapi/linux/ |
D | virtio_net.h | 94 __u8 gso_type; member 111 __u8 gso_type; member
|
/linux-4.4.14/net/mpls/ |
D | mpls_gso.c | 29 if (unlikely(skb_shinfo(skb)->gso_type & in mpls_gso_segment()
|
/linux-4.4.14/net/packet/ |
D | af_packet.c | 2640 unsigned short gso_type = 0; in packet_snd() local 2706 if (vnet_hdr.gso_type != VIRTIO_NET_HDR_GSO_NONE) { in packet_snd() 2707 switch (vnet_hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in packet_snd() 2709 gso_type = SKB_GSO_TCPV4; in packet_snd() 2712 gso_type = SKB_GSO_TCPV6; in packet_snd() 2715 gso_type = SKB_GSO_UDP; in packet_snd() 2721 if (vnet_hdr.gso_type & VIRTIO_NET_HDR_GSO_ECN) in packet_snd() 2722 gso_type |= SKB_GSO_TCP_ECN; in packet_snd() 2739 if (!gso_type && (len > dev->mtu + reserve + VLAN_HLEN + extra_len)) in packet_snd() 2773 if (!gso_type && (len > dev->mtu + reserve + extra_len) && in packet_snd() [all …]
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 114 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; in mlx5e_lro_update_hdr() 119 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6; in mlx5e_lro_update_hdr()
|
/linux-4.4.14/include/net/ |
D | udp_tunnel.h | 114 skb_shinfo(skb)->gso_type |= uh->check ? in udp_tunnel_gro_complete()
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
D | sunvnet.c | 1124 skb_shinfo(nskb)->gso_type = skb_shinfo(skb)->gso_type; in vnet_skb_shape() 1154 int gso_size, gso_type, gso_segs; in vnet_handle_offloads() local 1175 gso_type = skb_shinfo(skb)->gso_type; in vnet_handle_offloads() 1217 skb_shinfo(curr)->gso_type = gso_type; in vnet_handle_offloads()
|
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/ |
D | vxge-main.h | 517 #define vxge_offload_type(skb) (skb_shinfo(skb)->gso_type)
|
/linux-4.4.14/net/openvswitch/ |
D | flow.c | 528 skb_shinfo(skb)->gso_type & SKB_GSO_UDP) in key_extract() 649 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP) in key_extract()
|
D | datapath.c | 336 unsigned short gso_type = skb_shinfo(skb)->gso_type; in queue_gso_packets() local 348 if (gso_type & SKB_GSO_UDP) { in queue_gso_packets() 360 if (gso_type & SKB_GSO_UDP && skb != segs) in queue_gso_packets()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_fcoe.c | 522 if (skb_is_gso(skb) && (skb_shinfo(skb)->gso_type != SKB_GSO_FCOE)) { in ixgbe_fso() 524 skb_shinfo(skb)->gso_type); in ixgbe_fso()
|
D | ixgbe_main.c | 1604 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; in ixgbe_set_rsc_gso_size()
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 1244 int gso_type; in __wil_tx_vring_tso() local 1270 gso_type = skb_shinfo(skb)->gso_type & (SKB_GSO_TCPV6 | SKB_GSO_TCPV4); in __wil_tx_vring_tso() 1271 switch (gso_type) { in __wil_tx_vring_tso()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 1339 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6; in qlcnic_process_lro() 1341 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; in qlcnic_process_lro() 1862 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6; in qlcnic_83xx_process_lro() 1864 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; in qlcnic_83xx_process_lro()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_fcoe.c | 1218 if (skb_shinfo(skb)->gso_type != SKB_GSO_FCOE) { in i40e_fcoe_tso() 1221 skb_shinfo(skb)->gso_type); in i40e_fcoe_tso()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 816 tpa_info->gso_type = SKB_GSO_TCPV4; in bnxt_tpa_start() 819 tpa_info->gso_type = SKB_GSO_TCPV6; in bnxt_tpa_start() 824 tpa_info->gso_type = 0; in bnxt_tpa_start() 863 skb_shinfo(skb)->gso_type = tpa_info->gso_type; in bnxt_gro_skb() 870 if (tpa_info->gso_type == SKB_GSO_TCPV4) { in bnxt_gro_skb() 881 } else if (tpa_info->gso_type == SKB_GSO_TCPV6) { in bnxt_gro_skb() 914 skb_shinfo(skb)->gso_type |= in bnxt_gro_skb() 917 skb_shinfo(skb)->gso_type |= SKB_GSO_UDP_TUNNEL; in bnxt_gro_skb()
|
D | bnxt.h | 553 unsigned short gso_type; member
|
/linux-4.4.14/include/linux/ |
D | skbuff.h | 338 unsigned short gso_type; member 3544 return skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6; in skb_is_gso_v6() 3556 unlikely(shinfo->gso_type == 0)) { in skb_warn_if_lro()
|
D | netdevice.h | 3774 static inline bool net_gso_ok(netdev_features_t features, int gso_type) in net_gso_ok() argument 3776 netdev_features_t feature = gso_type << NETIF_F_GSO_SHIFT; in net_gso_ok() 3798 return net_gso_ok(features, skb_shinfo(skb)->gso_type) && in skb_gso_ok()
|
/linux-4.4.14/Documentation/mic/mpssd/ |
D | mpssd.c | 623 copy.out_len, hdr->gso_type); in virtio_net() 688 hdr->gso_type); in virtio_net()
|
/linux-4.4.14/net/core/ |
D | skbuff.c | 989 skb_shinfo(new)->gso_type = skb_shinfo(old)->gso_type; in copy_skb_header() 4272 if (likely(shinfo->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6))) in skb_gso_transport_seglen() 4274 } else if (likely(shinfo->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6))) { in skb_gso_transport_seglen()
|
D | dev.c | 2422 skb_shinfo(skb)->gso_type, skb->ip_summed); in skb_warn_bad_offload() 2857 if (likely(shinfo->gso_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6))) in qdisc_pkt_len_init() 2862 if (shinfo->gso_type & SKB_GSO_DODGY) in qdisc_pkt_len_init() 4385 skb_shinfo(skb)->gso_type = 0; in napi_reuse_skb()
|
/linux-4.4.14/drivers/net/ethernet/neterion/ |
D | s2io.h | 1139 #define s2io_offload_type(skb) skb_shinfo(skb)->gso_type
|
/linux-4.4.14/drivers/scsi/fcoe/ |
D | fcoe.c | 1697 skb_shinfo(skb)->gso_type = SKB_GSO_FCOE; in fcoe_xmit() 1700 skb_shinfo(skb)->gso_type = 0; in fcoe_xmit()
|
/linux-4.4.14/drivers/vhost/ |
D | net.c | 532 .gso_type = VIRTIO_NET_HDR_GSO_NONE in handle_rx()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1624 (skb_shinfo(skb)->gso_type == SKB_GSO_TCPV6)) { in atl1e_cal_tdp_req() 1652 offload_type = skb_shinfo(skb)->gso_type; in atl1e_tso_csum()
|
/linux-4.4.14/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 373 skb_shinfo(skb)->gso_type = SKB_GSO_FCOE; in bnx2fc_xmit() 376 skb_shinfo(skb)->gso_type = 0; in bnx2fc_xmit()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 1972 if (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6) in atl1c_cal_tpd_req() 1995 offload_type = skb_shinfo(skb)->gso_type; in atl1c_tso_csum()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 524 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6; in bnx2x_set_gro_params() 527 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; in bnx2x_set_gro_params() 3848 ip_hdr(skb)->protocol, skb_shinfo(skb)->gso_type, xmit_type, in bnx2x_start_xmit()
|
/linux-4.4.14/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 1424 skb_shinfo(skb)->gso_type = rcd->v4 ? in vmxnet3_rq_rx_complete() 1436 skb_shinfo(skb)->gso_type = in vmxnet3_rq_rx_complete()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 1282 bool v6 = (ssi->gso_type & SKB_GSO_TCPV6) != 0; in t4vf_eth_xmit()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 1223 bool v6 = (ssi->gso_type & SKB_GSO_TCPV6) != 0; in t4_eth_xmit()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 6629 if (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6) { in bnx2_start_xmit()
|