Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1281163rdb; Sat, 18 Nov 2023 09:39:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IES2pBWgR8hdnPZ46t9XePvZ41PeQbwDb0qSrwvCFkp1pmHsiKLcRusoXneD3cdG+t1Wn/b X-Received: by 2002:a05:6a21:33aa:b0:187:2203:e8c with SMTP id yy42-20020a056a2133aa00b0018722030e8cmr3697222pzb.42.1700329160302; Sat, 18 Nov 2023 09:39:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700329160; cv=none; d=google.com; s=arc-20160816; b=H9r3jAfZzp2qSRKDEnR+KiQBgoqfO44j4ti+2TLGUjFWJyVcdSSgRZJ9Zhc8Q+Phdy oScREpH56ckmua1xeiieFyjH7onv3bo47tH71GBFAk0UlDWKfGBVbPQx9MrXLHjIL8Hy 9Y3GzMXTzpxFmgOMyjOUnkPB4PPM5MCuK6jvgHYV545OvC3PUn33ajTZKKgeFTR1jp8G dspeyrRAUt8KPEICN2uwDdzF0PqH9bchmHRzviOBlnRAbYHBGWBL9h0AS7uZni6EHT7W c4TKwJLSTu0ga5or/tDAApZZaRz+jm6rDH1rkptTe0ch68YVKznFx2A14KBqQlvexbrl NEbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=losrmXlk+odVwrmRe07GJMSdH6r8vdY76JOEkrAnT8w=; fh=37ue/+2GvjwpstGFBnFQKm/+brRvsbwOwmhU5hIZACI=; b=swAlnaTJfdOaCK5Sf3X6ehNiZ50wmhWnt3Mxz7xjm6NiSbB6E64nBx60d9/3Wv1TG+ qBw1EKDWY9uiqS4Ksn9spwxP4pbcJ1+y1M3CfTeguAA+babB5qpJnUos19kg/84N6Wba iOUfeo3+lJ9zp6wduSNPcZl+fBO2fgLZS1plKCplSKBdcHGG6jwHMd5pOtepCS79+LgJ tyfx5Wew8FcUXNSj/l0qkHEY7XsAAWJPaoX7gzNBGgkPebwtsKBnRCoP1MaFaIaoe2WK I/7zIAq6en3tPRdgrjaI8Myac7kFLo61B0+Ee/nwhnu//YEUE3Qh2vNhjs1NEzATsgAf mssQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dByqGueY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id s17-20020a170902ea1100b001cc51ca52f0si4996395plg.405.2023.11.18.09.39.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 09:39:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dByqGueY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 850D2805A789; Sat, 18 Nov 2023 09:39:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229896AbjKRRiz (ORCPT + 99 others); Sat, 18 Nov 2023 12:38:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbjKRRiy (ORCPT ); Sat, 18 Nov 2023 12:38:54 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AC03C0 for ; Sat, 18 Nov 2023 09:38:51 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74C23C433C7; Sat, 18 Nov 2023 17:38:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700329131; bh=losrmXlk+odVwrmRe07GJMSdH6r8vdY76JOEkrAnT8w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dByqGueYLz6b8vlOUGniQt46dHd66x1kFnRLjJoHw1Hsw7ap5Hv0cLdxFq2R12Pt9 0v7hy1j2j7i5h3ntlKizusHrv8ilYQyGMH547b5A7PBANk1xTOtFDL+SFPjAWHkkpi hzW/90cbNGqQMOO8zfnR1jjFhklycNUr3v0E/WD+majI3yk4fwhdTk3Ak6fZl3yv/R fUz03ZUmfzLnot7uFZmXs1e+4JeMfjzJ059NIBzIGi1rUYm28QWJBmDPdu3DucQxnz qXGmyxbYnDamT/VZzFGsyCupkhj6eL/Oncyv+CVaUvB1ga36HmLi8frpE19ZsTdErw dYjKI4+y3XU+w== Date: Sat, 18 Nov 2023 09:38:49 -0800 From: Jakub Kicinski To: Stephen Hemminger Cc: Long Li , "longli@linuxonhyperv.com" , KY Srinivasan , Haiyang Zhang , Wei Liu , Dexuan Cui , "David S. Miller" , Eric Dumazet , Paolo Abeni , "linux-hyperv@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH net-next v4] hv_netvsc: Mark VF as slave before exposing it to user-mode Message-ID: <20231118093849.14e36043@kernel.org> In-Reply-To: <20231115081406.1bd9a4ed@hermes.local> References: <1699484212-24079-1-git-send-email-longli@linuxonhyperv.com> <20231108181318.5360af18@kernel.org> <20231110120513.45ed505c@kernel.org> <20231115081406.1bd9a4ed@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sat, 18 Nov 2023 09:39:11 -0800 (PST) On Wed, 15 Nov 2023 08:14:06 -0800 Stephen Hemminger wrote: > Jakub is right that in an ideal world, this could all be managed by > userspace. But the management of network devices in Linux is a > dumpster fire! Every distro invents there own solution, last time > I counted there were six different tools claiming to be the > "one network device manager to rule them all". And that doesn't > include all the custom scripts and vendor appliances. To be clear, I thought Long Li was saying that the goal is work around cases where VF is probed before netvsc. That seems like something that can be prevented by the hypervisor.