From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 008E7C25B08 for ; Wed, 17 Aug 2022 17:03:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236896AbiHQRDG (ORCPT ); Wed, 17 Aug 2022 13:03:06 -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-Google-Smtp-Source: AA6agR5AuDbo8GcZEnqQiqOeyM94DlUbLxyqrhdFN62DfedDuMFRt+WAj8nSt4Xs7jQmlw2zs7JUow== 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: 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