Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5115623rwb; Wed, 17 Aug 2022 11:19:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR5mETA+RHpi33M2zGEhbHtMvOZMSwNlmoIyZQOIcva5Zv6jWyMPUzZa0bghiywRLX8MqxvM X-Received: by 2002:a17:906:8441:b0:730:7bd1:17ca with SMTP id e1-20020a170906844100b007307bd117camr17801658ejy.229.1660760356964; Wed, 17 Aug 2022 11:19:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660760356; cv=none; d=google.com; s=arc-20160816; b=bCXg94XPjEE0F1V92lcN2YZ7Z3mMleGuYglWEEb8TB06P75Z4BHup/pjfRgh5a5q4v ag3cy2tizzZRe12/Af8bn4662ZtMLnvczFWdub23ekamekqKbrhlXw3q5KHVDsAh9Z3I U1sY4bpVj3Fqc/yIeG9vfSjFnnY94Dur8SB0H0xHD3SxtEjfD3FJyBG0kAeFSHn9IliZ XYgYBTXXY3vZTZ5MGBFc/BpUclfxaCrMnH05Q8h9RxBzafqo8Xs5wqzpX6w9gZv+AOY6 o+Crn5HEW0pURTaXo7qALiQAJXM/vS1BIzveTj+MTZlB0tO3Lde12ISbL0ckAAHlty9z 5rEQ== 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=SQOVouI0K9iJWnYSVBtpjkA3WVldpQ/o4YTxV/vt74M=; b=Oxrmia7iRhjeEQHXNP7U+ofKJhVD1PTDCwziZ4fnrCaSUjIoa1u1IEWWzsP3wqDQMV sM/0gkRgUJiA2/pKyL8O/3uWvBYaBv5K+h0EWvX+B/Ra4baMhQZOaBd871I07OE+VCmM ERK6xvsphr3CgoEfG2QNqgJ+e6uB/xWhmnvjxVmykd9cVLr4p1MXZGntOsufBt0QOZTj sRsyKjkPodUyJLji76dD+6HWO9I1vo03batAqkY8kiIKr/WcIMVq73wozSgOtk7JwGkJ YvXP5DfrtGKrVc4rFmjyhNAa4T+5gXhI5nM9uvXciZlpwbtcBDEkk1hCNUOeW9CXvIax ov5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OjDxCM1e; 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 q3-20020a056402248300b00445ef5c7240si931193eda.519.2022.08.17.11.18.50; Wed, 17 Aug 2022 11:19:16 -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=OjDxCM1e; 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 S237632AbiHQRxs (ORCPT + 99 others); Wed, 17 Aug 2022 13:53:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237783AbiHQRxp (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 4FF1430F71 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-459-GWmNcG_zMEqQt5R0bdSn1g-1; Wed, 17 Aug 2022 13:53:41 -0400 X-MC-Unique: GWmNcG_zMEqQt5R0bdSn1g-1 Received: by mail-wm1-f72.google.com with SMTP id z11-20020a05600c0a0b00b003a043991610so497913wmp.8 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=HRtVHoVUrZeeGD52IbpNc+coM4KzmG4YLldUUICxUmo/jgp8whhDGOk1n+Bp5rr0ii uyXjWn/XcQoaXynLVVlzf9hrjnlxZLpzIuZPuWqCRPHt7ycw054qoWOQb3hbTjiwa26w nxpfBn5stQpby7FV2R2uE1dXq5aoA9+RA93v9pfzgMX1dAOs1eCpUdZgu8nk9MKMf9q5 ZdcI32bVWMvtq2xAx/a6eUtT6PuoD+oOCVNuGNXee6qa5XsJCuzw0UAH9fitF83g0PqA okqZ110a0tTlVBekvwglKoZg/I6qH3enPk3gNtGa4BUAqYkVGP//cfV1oR2wVIY/hGGF +iQw== X-Gm-Message-State: ACgBeo3Ku7dp78KYAkxfyUI6v5LUYkL0uqgImgh67ztsvfGvXlKfaUwU uo6aoIUME/SBbpx2SYlzoD1pKj+URb869rI+Nq76IO8peALpIYJyRg3G2diURGOPcsrOlnLLGJO 4rLwNNCAqd4MIl5yS2wk3qdbJ X-Received: by 2002:a05:6000:4083:b0:21f:fb6:9293 with SMTP id da3-20020a056000408300b0021f0fb69293mr14792303wrb.303.1660758820166; Wed, 17 Aug 2022 10:53:40 -0700 (PDT) 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: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 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