Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5053665rwb; Wed, 17 Aug 2022 10:11:42 -0700 (PDT) X-Google-Smtp-Source: AA6agR7H63ZXNnC3dlEXHvT/T/dfN3trmAIs+wys2bURocmBavo6dhlypEw9YpUSaHEpZL1ONPLu X-Received: by 2002:aa7:dd42:0:b0:440:916e:9a38 with SMTP id o2-20020aa7dd42000000b00440916e9a38mr24096135edw.302.1660756302214; Wed, 17 Aug 2022 10:11:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660756302; cv=none; d=google.com; s=arc-20160816; b=aXvLBowH9zSZZF9LuHC889m+4+SvdvkoSzgSXveKtBI2rd6ASSAAvpElCLaaDOfQBl lEBnsmFoEOVIRrP3Zf9i8ljzrXotP9VSStyRb9XxUSuelC2CpKC6tesNmJfidVfj1VEJ KdMwvc0xxjmGyXZBuxn9BtJXg+Fe3OIw3hh7DUC5hOuYNLYurmAs4i4+61tx2TMiLFJK uGAZ6itdvZMPWAI0P0gfZwdmjgkTKqrppmij9molDik7IAiLzGdaUTKS59GefHz/5cMl msyCAQKR2O/5avyjLkg8TdwVV+tnBzLqjBnPIvfVumByeghInTIozwalZUbX8ssBVfQD e6Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=iKDI4wZP72dFon1h0J2l9ajfalLVCP4U7tsE8KQrHV8=; b=atg9jo0ZLvfnm7m63HbNIVJFbHGn8TyComzzUFfqRIr3CfSG60YtmgRGnJ9Ekno65z bt3v//F80eTQDcY0Kh7YhTBlegINKyjPQA3TJ0K2K274OYYXkfiu6KoEOa8Jw9TUEXPN K+wf86Hxn7el7w3sJnucYrABVanFjdcjqQEILwxvX4PnsEfviD0BNkHt+h9SntnV5yXB 5EWGE/6M3laGg+DJ1T4+OFwmtL7gpr+o/Eg4EpXbu2CnvR5UFFezrAoC3xpfjM2hY4EZ ZvnxRq2FU4vkoBbuVpwi8ckccvjpNdnVMlojAqrJaEhRUklkVyDt0rc8zX5PCkp9931P 24aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="N5uUZzs/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qk6-20020a1709077f8600b007304a4dd41esi13958787ejc.762.2022.08.17.10.11.16; Wed, 17 Aug 2022 10:11:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="N5uUZzs/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240633AbiHQRDF (ORCPT + 99 others); Wed, 17 Aug 2022 13:03:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237915AbiHQRDD (ORCPT ); Wed, 17 Aug 2022 13:03:03 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FDF79BB40 for ; Wed, 17 Aug 2022 10:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660755781; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=iKDI4wZP72dFon1h0J2l9ajfalLVCP4U7tsE8KQrHV8=; b=N5uUZzs/qsOAIdgSFUavx+DNkWX8cxngxMjzNzeAveo5hDMh3l4EfKZ52s5llKPuyVTpKV EavasHaZ8MG7ZoD1epzKjnTPf5LNKKEz3u+/J1kfcZmIGJDMexz1LEbrzNtDATobsR/sFB tlrrGPha3XkMLylo/wVIq70ZsIVsAoQ= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-36-1dEwKtFxM6W7G40XTPN3Vw-1; Wed, 17 Aug 2022 13:03:00 -0400 X-MC-Unique: 1dEwKtFxM6W7G40XTPN3Vw-1 Received: by mail-wr1-f71.google.com with SMTP id d11-20020adfc08b000000b002207555c1f6so2596983wrf.7 for ; Wed, 17 Aug 2022 10:03:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=iKDI4wZP72dFon1h0J2l9ajfalLVCP4U7tsE8KQrHV8=; b=JQpeWUQNfOCitY3jEmLGP2QVIC3+JLKq42A20vo8blmJ2oPj+Kr/FY1j2pujgiwslv RWHgBuVpJssHpqAJiOuSV/f0QYAP1ZSiHiNewsXGYMb7y+TsBzK+3d6/C8ZWk6L/anBN QzQofZyavJ6bd1XjISoIpr+musp2/aN1BjW3TTU1KoiAGpWX1LV9YaymSv+0LZzLrwEm 9HwOk1f+MxKWylfx1SjeHfeOLdHouW1s/pRJCz1OZ5cYix1KML+hcvvxt598J2Jez49R wpUFelVQ1ZovycePgIeyHTmQZ0+Yt4vu8yNwXCz7KKrK6/cYX0YvCJ6+z03gllRY0bMU L5Vw== X-Gm-Message-State: ACgBeo3+M7C90Ivwe6AbapKjXJX5Mc4iSBIUD39PQT/RzLbj5jmKwihr YZU8xWMBj/0WYr+pLiXqYdKNyk6WeRx7pbHjGG9QGl/aGxgtdutp7XoSwTyEJ94vABfRZz2eZyH OP3kheQgs+Ck3HuhHG78T6Iq6 X-Received: by 2002:a5d:440b:0:b0:225:2106:2f30 with SMTP id z11-20020a5d440b000000b0022521062f30mr3175277wrq.533.1660755779425; Wed, 17 Aug 2022 10:02:59 -0700 (PDT) X-Received: by 2002:a5d:440b:0:b0:225:2106:2f30 with SMTP id z11-20020a5d440b000000b0022521062f30mr3175243wrq.533.1660755779078; Wed, 17 Aug 2022 10:02:59 -0700 (PDT) Received: from redhat.com ([2.55.43.215]) by smtp.gmail.com with ESMTPSA id h82-20020a1c2155000000b003a319bd3278sm2825504wmh.40.2022.08.17.10.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 10:02:58 -0700 (PDT) Date: Wed, 17 Aug 2022 13:02:52 -0400 From: "Michael S. Tsirkin" To: Bobby Eshleman Cc: Bobby Eshleman , Bobby Eshleman , Cong Wang , Jiang Wang , Stefan Hajnoczi , Stefano Garzarella , Jason Wang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org Subject: Re: [PATCH 0/6] virtio/vsock: introduce dgrams, sk_buff, and qdisc Message-ID: <20220817130044-mutt-send-email-mst@kernel.org> References: <20220817025250-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 16, 2022 at 09:42:51AM +0000, Bobby Eshleman wrote: > > The basic question to answer then is this: with a net device qdisc > > etc in the picture, how is this different from virtio net then? > > Why do you still want to use vsock? > > > > When using virtio-net, users looking for inter-VM communication are > required to setup bridges, TAPs, allocate IP addresses or setup DNS, > etc... and then finally when you have a network, you can open a socket > on an IP address and port. This is the configuration that vsock avoids. > For vsock, we just need a CID and a port, but no network configuration. Surely when you mention DNS you are going overboard? vsock doesn't remove the need for DNS as much as it does not support it. -- MST