/linux/drivers/net/ |
A D | tun.c | 1737 if (!copy_from_iter_full(&gso, sizeof(gso), from)) in tun_get_user() 1741 …tun16_to_cpu(tun, gso.csum_start) + tun16_to_cpu(tun, gso.csum_offset) + 2 > tun16_to_cpu(tun, gso… in tun_get_user() 1742 …gso.hdr_len = cpu_to_tun16(tun, tun16_to_cpu(tun, gso.csum_start) + tun16_to_cpu(tun, gso.csum_off… in tun_get_user() 1752 (gso.hdr_len && tun16_to_cpu(tun, gso.hdr_len) < ETH_HLEN))) in tun_get_user() 1765 copylen = gso.hdr_len ? tun16_to_cpu(tun, gso.hdr_len) : GOODCOPY_LEN; in tun_get_user() 2014 if (unlikely(copy_to_iter(&gso, sizeof(gso), iter) != in tun_put_user_xdp() 2015 sizeof(gso))) in tun_put_user_xdp() 2064 struct virtio_net_hdr gso; in tun_put_user() local 2085 if (copy_to_iter(&gso, sizeof(gso), iter) != sizeof(gso)) in tun_put_user() 2388 struct virtio_net_hdr *gso = &hdr->gso; in tun_xdp_one() local [all …]
|
A D | xen-netfront.c | 776 gso->u.gso.size = skb_shinfo(skb)->gso_size; in xennet_start_xmit() 777 gso->u.gso.type = (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6) ? in xennet_start_xmit() 780 gso->u.gso.pad = 0; in xennet_start_xmit() 781 gso->u.gso.features = 0; in xennet_start_xmit() 784 gso->flags = 0; in xennet_start_xmit() 1068 if (!gso->u.gso.size) { in xennet_set_skb_gso() 1074 if (gso->u.gso.type != XEN_NETIF_GSO_TYPE_TCPV4 && in xennet_set_skb_gso() 1075 gso->u.gso.type != XEN_NETIF_GSO_TYPE_TCPV6) { in xennet_set_skb_gso() 1077 pr_warn("Bad GSO type %d\n", gso->u.gso.type); in xennet_set_skb_gso() 1081 skb_shinfo(skb)->gso_size = gso->u.gso.size; in xennet_set_skb_gso() [all …]
|
A D | tap.c | 1135 struct virtio_net_hdr *gso = &hdr->gso; in tap_get_user_xdp() local 1159 err = virtio_net_hdr_to_skb(skb, gso, tap_is_little_endian(q)); in tap_get_user_xdp()
|
A D | virtio_net.c | 29 static bool csum = true, gso = true, napi_tx = true; variable 31 module_param(gso, bool, 0444); 3159 if (gso) in virtnet_probe()
|
/linux/net/sctp/ |
A D | output.c | 436 struct sk_buff *head, int gso, gfp_t gfp) in sctp_packet_pack() argument 446 if (gso) { in sctp_packet_pack() 529 if (gso) in sctp_packet_pack() 535 if (gso) { in sctp_packet_pack() 573 int pkt_count, gso = 0; in sctp_packet_transmit() local 592 gso = 1; in sctp_packet_transmit() 597 head = alloc_skb((gso ? packet->overhead : packet->size) + in sctp_packet_transmit() 620 pkt_count = sctp_packet_pack(packet, head, gso, gfp); in sctp_packet_transmit()
|
/linux/drivers/net/xen-netback/ |
A D | netback.c | 645 struct xen_netif_extra_info *gso) in xenvif_set_skb_gso() argument 647 if (!gso->u.gso.size) { in xenvif_set_skb_gso() 653 switch (gso->u.gso.type) { in xenvif_set_skb_gso() 661 netdev_err(vif->dev, "Bad GSO type %d.\n", gso->u.gso.type); in xenvif_set_skb_gso() 666 skb_shinfo(skb)->gso_size = gso->u.gso.size; in xenvif_set_skb_gso() 950 struct xen_netif_extra_info *gso; in xenvif_tx_build_gops() local 951 gso = &extras[XEN_NETIF_EXTRA_TYPE_GSO - 1]; in xenvif_tx_build_gops() 953 if (xenvif_set_skb_gso(queue->vif, skb, gso)) { in xenvif_tx_build_gops()
|
A D | rx.c | 275 extra->u.gso.type = gso_type; in xenvif_rx_next_skb() 276 extra->u.gso.size = skb_shinfo(skb)->gso_size; in xenvif_rx_next_skb() 277 extra->u.gso.pad = 0; in xenvif_rx_next_skb() 278 extra->u.gso.features = 0; in xenvif_rx_next_skb()
|
/linux/drivers/vhost/ |
A D | net.c | 700 struct virtio_net_hdr *gso; in vhost_net_build_xdp() local 727 offsetof(struct tun_xdp_hdr, gso), in vhost_net_build_xdp() 733 gso = &hdr->gso; in vhost_net_build_xdp() 735 if ((gso->flags & VIRTIO_NET_HDR_F_NEEDS_CSUM) && in vhost_net_build_xdp() 736 vhost16_to_cpu(vq, gso->csum_start) + in vhost_net_build_xdp() 737 vhost16_to_cpu(vq, gso->csum_offset) + 2 > in vhost_net_build_xdp() 738 vhost16_to_cpu(vq, gso->hdr_len)) { in vhost_net_build_xdp() 739 gso->hdr_len = cpu_to_vhost16(vq, in vhost_net_build_xdp() 740 vhost16_to_cpu(vq, gso->csum_start) + in vhost_net_build_xdp() 741 vhost16_to_cpu(vq, gso->csum_offset) + 2); in vhost_net_build_xdp() [all …]
|
/linux/include/linux/ |
A D | if_tun.h | 24 struct virtio_net_hdr gso; member
|
/linux/include/xen/interface/io/ |
A D | netif.h | 870 } gso; member
|
/linux/drivers/net/ethernet/emulex/benet/ |
A D | be_hw.h | 235 u8 gso[2]; member
|
/linux/drivers/net/ethernet/mediatek/ |
A D | mtk_eth_soc.c | 954 int tx_num, struct mtk_tx_ring *ring, bool gso) in mtk_tx_map() argument 979 if (gso) in mtk_tx_map() 1167 bool gso = false; in mtk_start_xmit() local 1198 gso = true; in mtk_start_xmit() 1203 if (mtk_tx_map(skb, dev, tx_num, ring, gso) < 0) in mtk_start_xmit()
|
/linux/drivers/net/ethernet/microchip/ |
A D | lan743x_main.c | 1585 bool gso = false; in lan743x_tx_xmit_frame() local 1616 gso = skb_is_gso(skb); in lan743x_tx_xmit_frame() 1617 if (gso) { in lan743x_tx_xmit_frame() 1631 if (gso) in lan743x_tx_xmit_frame()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_main.c | 4229 int gso = skb_shinfo(skb)->gso_type; in stmmac_xmit() local 4245 if (gso & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6)) in stmmac_xmit() 4247 if (priv->plat->has_gmac4 && (gso & SKB_GSO_UDP_L4)) in stmmac_xmit() 5924 int gso = skb_shinfo(skb)->gso_type; in stmmac_select_queue() local 5926 if (gso & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6 | SKB_GSO_UDP_L4)) { in stmmac_select_queue()
|
/linux/ |
A D | modules.builtin.modinfo | 13 …Virtio network drivervirtio_net.parmtype=napi_tx:boolvirtio_net.parmtype=gso:boolvirtio_net.par…
|
A D | System.map | 156874 ffff80001207b69e d gso
|
A D | .tmp_System.map | 156874 ffff80001207b69e d gso
|