Home
last modified time | relevance | path

Searched refs:gso (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/net/
A Dxen-netfront.c812 gso->u.gso.size = skb_shinfo(skb)->gso_size; in xennet_start_xmit()
813 gso->u.gso.type = (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6) ? in xennet_start_xmit()
816 gso->u.gso.pad = 0; in xennet_start_xmit()
817 gso->u.gso.features = 0; in xennet_start_xmit()
820 gso->flags = 0; in xennet_start_xmit()
1132 if (!gso->u.gso.size) { in xennet_set_skb_gso()
1138 if (gso->u.gso.type != XEN_NETIF_GSO_TYPE_TCPV4 && in xennet_set_skb_gso()
1139 gso->u.gso.type != XEN_NETIF_GSO_TYPE_TCPV6) { in xennet_set_skb_gso()
1141 pr_warn("Bad GSO type %d\n", gso->u.gso.type); in xennet_set_skb_gso()
1145 skb_shinfo(skb)->gso_size = gso->u.gso.size; in xennet_set_skb_gso()
[all …]
A Dtun.c1782 if (!copy_from_iter_full(&gso, sizeof(gso), from)) in tun_get_user()
1786 …tun16_to_cpu(tun, gso.csum_start) + tun16_to_cpu(tun, gso.csum_offset) + 2 > tun16_to_cpu(tun, gso in tun_get_user()
1787gso.hdr_len = cpu_to_tun16(tun, tun16_to_cpu(tun, gso.csum_start) + tun16_to_cpu(tun, gso.csum_off… in tun_get_user()
1797 (gso.hdr_len && tun16_to_cpu(tun, gso.hdr_len) < ETH_HLEN))) in tun_get_user()
1810 copylen = gso.hdr_len ? tun16_to_cpu(tun, gso.hdr_len) : GOODCOPY_LEN; in tun_get_user()
2074 if (unlikely(copy_to_iter(&gso, sizeof(gso), iter) != in tun_put_user_xdp()
2075 sizeof(gso))) in tun_put_user_xdp()
2124 struct virtio_net_hdr gso; in tun_put_user() local
2147 if (copy_to_iter(&gso, sizeof(gso), iter) != sizeof(gso)) in tun_put_user()
2449 struct virtio_net_hdr *gso = &hdr->gso; in tun_xdp_one() local
[all …]
A Dtap.c1172 struct virtio_net_hdr *gso = &hdr->gso; in tap_get_user_xdp() local
1201 err = virtio_net_hdr_to_skb(skb, gso, tap_is_little_endian(q)); in tap_get_user_xdp()
A Dvirtio_net.c33 static bool csum = true, gso = true, napi_tx = true; variable
35 module_param(gso, bool, 0444);
196 VIRTNET_STATS_DESC_TX(gso, gso_packets_noseg),
197 VIRTNET_STATS_DESC_TX(gso, gso_bytes_noseg),
244 VIRTNET_STATS_DESC_RX_QSTAT(gso, gso_packets, hw_gro_packets),
245 VIRTNET_STATS_DESC_RX_QSTAT(gso, gso_bytes, hw_gro_bytes),
251 VIRTNET_STATS_DESC_TX_QSTAT(gso, gso_packets, hw_gso_packets),
252 VIRTNET_STATS_DESC_TX_QSTAT(gso, gso_bytes, hw_gso_bytes),
253 VIRTNET_STATS_DESC_TX_QSTAT(gso, gso_segments, hw_gso_wire_packets),
254 VIRTNET_STATS_DESC_TX_QSTAT(gso, gso_segments_bytes, hw_gso_wire_bytes),
[all …]
/linux/net/sctp/
A Doutput.c437 struct sk_buff *head, int gso, gfp_t gfp) in sctp_packet_pack() argument
447 if (gso) { in sctp_packet_pack()
530 if (gso) in sctp_packet_pack()
536 if (gso) { in sctp_packet_pack()
574 int pkt_count, gso = 0; in sctp_packet_transmit() local
593 gso = 1; in sctp_packet_transmit()
598 head = alloc_skb((gso ? packet->overhead : packet->size) + in sctp_packet_transmit()
621 pkt_count = sctp_packet_pack(packet, head, gso, gfp); in sctp_packet_transmit()
/linux/drivers/net/xen-netback/
A Dnetback.c761 struct xen_netif_extra_info *gso) in xenvif_set_skb_gso() argument
763 if (!gso->u.gso.size) { in xenvif_set_skb_gso()
769 switch (gso->u.gso.type) { in xenvif_set_skb_gso()
777 netdev_err(vif->dev, "Bad GSO type %d.\n", gso->u.gso.type); in xenvif_set_skb_gso()
782 skb_shinfo(skb)->gso_size = gso->u.gso.size; in xenvif_set_skb_gso()
1057 struct xen_netif_extra_info *gso; in xenvif_tx_build_gops() local
1058 gso = &extras[XEN_NETIF_EXTRA_TYPE_GSO - 1]; in xenvif_tx_build_gops()
1060 if (xenvif_set_skb_gso(queue->vif, skb, gso)) { in xenvif_tx_build_gops()
A Drx.c277 extra->u.gso.type = gso_type; in xenvif_rx_next_skb()
278 extra->u.gso.size = skb_shinfo(skb)->gso_size; in xenvif_rx_next_skb()
279 extra->u.gso.pad = 0; in xenvif_rx_next_skb()
280 extra->u.gso.features = 0; in xenvif_rx_next_skb()
/linux/drivers/vhost/
A Dnet.c669 struct virtio_net_hdr *gso; in vhost_net_build_xdp() local
694 copied = copy_from_iter(buf + offsetof(struct tun_xdp_hdr, gso), in vhost_net_build_xdp()
702 gso = &hdr->gso; in vhost_net_build_xdp()
707 if ((gso->flags & VIRTIO_NET_HDR_F_NEEDS_CSUM) && in vhost_net_build_xdp()
708 vhost16_to_cpu(vq, gso->csum_start) + in vhost_net_build_xdp()
709 vhost16_to_cpu(vq, gso->csum_offset) + 2 > in vhost_net_build_xdp()
710 vhost16_to_cpu(vq, gso->hdr_len)) { in vhost_net_build_xdp()
711 gso->hdr_len = cpu_to_vhost16(vq, in vhost_net_build_xdp()
712 vhost16_to_cpu(vq, gso->csum_start) + in vhost_net_build_xdp()
713 vhost16_to_cpu(vq, gso->csum_offset) + 2); in vhost_net_build_xdp()
[all …]
/linux/include/linux/
A Dif_tun.h24 struct virtio_net_hdr gso; member
/linux/Documentation/netlink/specs/
A Dnetdev.yaml429 name: tx-hw-gso-packets
435 name: tx-hw-gso-bytes
436 doc: See `tx-hw-gso-packets`.
439 name: tx-hw-gso-wire-packets
442 `tx-hw-gso-packets`
445 name: tx-hw-gso-wire-bytes
446 doc: See `tx-hw-gso-wire-packets`.
A Drt_link.yaml1058 name: gso-max-segs
1061 name: gso-max-size
1131 name: gso-ipv4-max-size
2230 - gso-max-size
2231 - gso-max-segs
2233 - gso-ipv4-max-size
2308 - gso-max-segs
2309 - gso-max-size
2332 - gso-ipv4-max-size
A Dtc.yaml2105 name: split-gso
/linux/net/core/
A DMakefile16 netdev-genl.o netdev-genl-gen.o gso.o
/linux/include/xen/interface/io/
A Dnetif.h870 } gso; member
/linux/drivers/net/ethernet/emulex/benet/
A Dbe_hw.h235 u8 gso[2]; member
/linux/drivers/net/ethernet/mediatek/
A Dmtk_eth_soc.c1324 if (info->gso) in mtk_tx_set_dma_desc_v1()
1373 if (info->gso) in mtk_tx_set_dma_desc_v2()
1405 int tx_num, struct mtk_tx_ring *ring, bool gso) in mtk_tx_map() argument
1409 .gso = gso, in mtk_tx_map()
1605 bool gso = false; in mtk_start_xmit() local
1636 gso = true; in mtk_start_xmit()
1641 if (mtk_tx_map(skb, dev, tx_num, ring, gso) < 0) in mtk_start_xmit()
A Dmtk_eth_soc.h1076 u8 gso:1; member
/linux/drivers/net/ethernet/microchip/
A Dlan743x_main.c1967 bool gso = false; in lan743x_tx_xmit_frame() local
2001 gso = skb_is_gso(skb); in lan743x_tx_xmit_frame()
2002 if (gso) { in lan743x_tx_xmit_frame()
2017 if (gso) in lan743x_tx_xmit_frame()
/linux/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_main.c4505 int gso = skb_shinfo(skb)->gso_type; in stmmac_xmit() local
4523 if (gso & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6)) in stmmac_xmit()
4525 if (priv->plat->has_gmac4 && (gso & SKB_GSO_UDP_L4)) in stmmac_xmit()
6253 int gso = skb_shinfo(skb)->gso_type; in stmmac_select_queue() local
6255 if (gso & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6 | SKB_GSO_UDP_L4)) { in stmmac_select_queue()
/linux/drivers/net/ethernet/intel/ice/
A Dice_main.c9565 bool gso = skb_is_gso(skb); in ice_features_check() local
9578 if (gso && (skb_shinfo(skb)->gso_size < ICE_TXD_CTX_MIN_MSS)) in ice_features_check()
9595 if (gso && (skb_shinfo(skb)->gso_type & in ice_features_check()

Completed in 108 milliseconds