Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5091873rwb; Wed, 17 Aug 2022 10:54:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR7TxaKt4CfZSIrdYSoTu4QPbz9qJ4JBYlPYdwr8nluW6TLqHZc/4TwNBIqp8IhNLzJUluat X-Received: by 2002:a17:902:8f87:b0:172:83b5:d771 with SMTP id z7-20020a1709028f8700b0017283b5d771mr7808576plo.159.1660758865837; Wed, 17 Aug 2022 10:54:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660758865; cv=none; d=google.com; s=arc-20160816; b=i4waDINYXX8FXjvzNZ6WcEicohYfDri3FXPPgCiC4JvDYME+dd6OvPyG3drYzltd2l JVYxFX8ixlNAjfeb6/Nvowp+ucBwPpm6xCMLKTsyxfXc10IWSgjyuTFFlWPTmGUCppt9 3hraY+wPDHUVmw8gQb/BvZK2UPo3TjxV771sRIPgxkONpEsPEyF+U3qoelbln2mkVc0A 3EHsL3mGlH5gOW5SHD1sKczbRkp1fO8huW9FsK7BHcnyNe6/SQ9G6JzHP+0xwNfEF5Bx P0qt0z2Qdv7KO6/czxRIM6sFXhkhkRVmgnFWrnPZKhPzyw4LzihFEFjhC3jDfM+J9b/T vr6g== 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=aM3wrL4Fp4MEnHsKbqc+hHkzDolBQyAgPj8hCdYOSxg=; b=G21HiJvRoDgbc/pLTDq1/oZaf0OzHZF/BU/aDHMXiMR+34R2giQUwJxX2X6kRlzAPu 94b4LRKkivl7gZOXFOpSD5i9ZVkOmv6nbKRzSHXdGQmfIYMbU7KCpl+JQmaz2jXGeE5/ if6gtjmf2jKrkQHyaasdrwaK4RkengodbUGO9l7TW+Q0Zjh2i3RsJlcODIWQJUnjW4Ja bztZBKVf/c7POCGg9uRSTIRqGAmETu2MwXLppSCfApJyFDr1jYjvq39bSvI2rURODizd 2CjDT3K/kaqKhgb8fESR+Qq6O5+RL1+OSx+o7MpnfYYmUjrv2d3CTnzebgC3mjWvLi5C 2dng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Rhxe4k4x; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u8-20020a170902e5c800b0016ed8e1897bsi353313plf.554.2022.08.17.10.54.14; Wed, 17 Aug 2022 10:54:25 -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=@gmail.com header.s=20210112 header.b=Rhxe4k4x; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241176AbiHQR3q (ORCPT + 99 others); Wed, 17 Aug 2022 13:29:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241106AbiHQR3c (ORCPT ); Wed, 17 Aug 2022 13:29:32 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59EA5130; Wed, 17 Aug 2022 10:29:32 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id s31-20020a17090a2f2200b001faaf9d92easo2444640pjd.3; Wed, 17 Aug 2022 10:29:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=aM3wrL4Fp4MEnHsKbqc+hHkzDolBQyAgPj8hCdYOSxg=; b=Rhxe4k4xHun8nsdmCVCBrJmiv1l4fwnoMler6GOgLSgZz205jK5YZ/0nhz9K9Q27Gq lHlRqEMXVGqq1eW0XXb46wbt7WWByYxxk9oPLrHAYwRGoCA9u80k5T2Yof6Euj9UupmT oBy/pcebDpgXE657jRwmVGCJJL2dPEQh3jH6Btdz0fC6aKVEmkcIUTmSZxuu+WkoVg/n HZC5ckQ/fB5V9tdRPDYlqbt4EhsN0ZQwxhR0j5R9e11bMHUwA2NIbRuT2fNqX2bNaWHc UcTmZEri35uQf1op67DuNSUl3No4SAegUxO3t6ubxjH6AXLmUDew/F3g3xomqhpyXMT1 6+jw== 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=aM3wrL4Fp4MEnHsKbqc+hHkzDolBQyAgPj8hCdYOSxg=; b=0ClJKoLVCQWTInE85q0xx3yNeFFWImEo7IMzNm7gJBQjxC48F2vcYT9kO765Jw0Ork EZ2uVxj5UK1uALz0uDSLPJaX8BzzMYWZPnLZ7GluJJ9mx1DRVJdJUgK0dpmGThPxGfRY Q32YaPjA4uxV0ZDNG/LcWfQYqp32i3XaUvgfaf5jjKf0niptPNu69xIOgfWIMhNHEbOS p57v2UpgwT7KKiL9wfpEb5RBQrg817gPpkhBbRrbqBQLvNd7NBC8aA6jx/PFkMca/RjO rrbJ0Ab4jJEJ2Zx9r9JTO3cQMQ+xsViaGr0QdaxTv3D05vojJDY/EWhm130u06cy9xTI w/hQ== X-Gm-Message-State: ACgBeo0qTeExYI1Ma51Y2SZRmDpzIxJJHyeZqZH3I5kQTOe0M5xTZQqB u8qkN6hvbuN9hcK8EYtJi2I= X-Received: by 2002:a17:90b:380b:b0:1fa:b6a7:87d7 with SMTP id mq11-20020a17090b380b00b001fab6a787d7mr3628620pjb.111.1660757371866; Wed, 17 Aug 2022 10:29:31 -0700 (PDT) Received: from localhost (c-73-164-155-12.hsd1.wa.comcast.net. [73.164.155.12]) by smtp.gmail.com with ESMTPSA id c7-20020aa79527000000b0052dd7d0ad02sm10747149pfp.162.2022.08.17.10.29.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 10:29:31 -0700 (PDT) Date: Tue, 16 Aug 2022 11:08:26 +0000 From: Bobby Eshleman To: "Michael S. Tsirkin" 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: 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: <20220817130044-mutt-send-email-mst@kernel.org> X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DATE_IN_PAST_24_48, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 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.