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 C74B7C28B2B for ; Wed, 17 Aug 2022 17:53:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239752AbiHQRxr (ORCPT ); Wed, 17 Aug 2022 13:53:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238082AbiHQRxp (ORCPT ); Wed, 17 Aug 2022 13:53:45 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E94A631214 for ; Wed, 17 Aug 2022 10:53:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660758822; 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=SQOVouI0K9iJWnYSVBtpjkA3WVldpQ/o4YTxV/vt74M=; b=OjDxCM1eIEnL+4fTMGvGGB2oaS/l/orgtk9MpM/+In6BQ1QyhGwtFUBCtyFXc6tmrh/Sk6 dqoSJ9tArPjswYWHeU6edfzfqNp0TkFZyQYloTo3uUk3L2Z1/39fBi6p28yWB65qudvEqH fQmm3kI5AVF6TrJjTW1uScVR/iJduF0= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-675-HESCEE4DOAyzK7YfmnICrg-1; Wed, 17 Aug 2022 13:53:41 -0400 X-MC-Unique: HESCEE4DOAyzK7YfmnICrg-1 Received: by mail-wm1-f72.google.com with SMTP id c25-20020a05600c0ad900b003a5ebad295aso500626wmr.5 for ; Wed, 17 Aug 2022 10:53:41 -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=SQOVouI0K9iJWnYSVBtpjkA3WVldpQ/o4YTxV/vt74M=; b=ubu9xvKZZ0ZMlu1bdzEndpH45kMp4jhA8ntkwqjEjoJVcbfUDK3AyRvzivNmFzX4Yt ccaloEw7mLMb+HWKKQ9fGJnmN/GR4Lc9LO/dyvMAyYemH47MxGDFTIdv+EhKGrbAhS4d 3L4zlIuZ9t6L9TIkrkRoVc91lavlzO+pOvfhpvCH3fcMQzC6VuEtHRnGa+GP/YkUdXzA EZV1wuqE+jtQmnhCnCPG5P/g8UVygMFawafTRVQOahIKDtyFIgnIeERSo8bZU2c5N4ge derz2Aw+DeUXGWngGecJwdQOEnfFL29s79oeOrlI3D8gQd7OJIcqE2NAx9J5iyO5HZEc brhg== X-Gm-Message-State: ACgBeo2HUYTyujj3Kgv1+FJFg2zxd6IL0VowCtvC0FbxI80S2uFa3T/U zW0XuTuYaHPMn35YhM0zpCUbvne86cq7bZLJSwlEuTRVQczzpJZbFbjRVCAZqppJbF3uVvzgVo9 kIkrrEl1okuXqqTVm X-Received: by 2002:a05:6000:4083:b0:21f:fb6:9293 with SMTP id da3-20020a056000408300b0021f0fb69293mr14792307wrb.303.1660758820166; Wed, 17 Aug 2022 10:53:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR4ONxUsrUHKKEaZOO44Ixn5LdAH2Y94mokPuvnN34a8r6PY+eKWeMnaGAVNXB2YU7T+If8QUw== X-Received: by 2002:a05:6000:4083:b0:21f:fb6:9293 with SMTP id da3-20020a056000408300b0021f0fb69293mr14792286wrb.303.1660758819888; Wed, 17 Aug 2022 10:53:39 -0700 (PDT) Received: from redhat.com ([2.55.43.215]) by smtp.gmail.com with ESMTPSA id y11-20020adfe6cb000000b00220592005edsm1060157wrm.85.2022.08.17.10.53.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 10:53:39 -0700 (PDT) Date: Wed, 17 Aug 2022 13:53:32 -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: <20220817135311-mutt-send-email-mst@kernel.org> References: <20220817025250-mutt-send-email-mst@kernel.org> <20220817130044-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: netdev@vger.kernel.org On Tue, Aug 16, 2022 at 11:08:26AM +0000, Bobby Eshleman wrote: > On Wed, Aug 17, 2022 at 01:02:52PM -0400, Michael S. Tsirkin wrote: > > 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. > > > > Oops, s/DNS/dhcp. That too. -- MST