Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6607264rwb; Tue, 15 Nov 2022 00:40:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf6iB8jFd2awxuytGzvH8i80XQD4yI10ivck963Dw20bRMOBZDS7DQoMcO82ks5SOcFsxMIa X-Received: by 2002:a17:902:9043:b0:188:8e14:b4df with SMTP id w3-20020a170902904300b001888e14b4dfmr2879598plz.136.1668501641613; Tue, 15 Nov 2022 00:40:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668501641; cv=none; d=google.com; s=arc-20160816; b=cj+D4Yb56f+q58WKulePOkADJQQ3eZQIqXxcBBAyT78sxjYjgwoXJ5ZuCAuhmdj0mi ozBRnirhI88Ibrmf/ANMmS/6bHpOxGZNSfRGJM06+yjmYSS4jo0dX6kCCIeN+HxMAF6E a/Vh8vXuH/oT3xip+p1Qpa72rnl65deHu3DNwVtbTFf+9a38J+Zj73JCZdoCAtzPyhh5 WoYujr9eigo0AtGd4+Z68h/Bj+HsGun/m952fcr4qHd276P0p9YG6Kz9pJACKgxoSyr8 zEa5wzJwfgPtlIGcBHgxq/k+idj9dTzVC+90KioTQ9/cv5J+b9Hecl0FOTTEO1htzwHm HrKQ== 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=yV+jEHqPqYQF/bYFtw3GU+nj7FvPrzcmjVMWddzQu88=; b=tw5dvBP15sU8Mv4NNnoCkDz1YmTKgBr2mt0AT83eDoIvHYxzXITxU2daSPa4/wyPm+ 6CJRqQmrj3MB0S9UshNManhSebT7KKbWnwE54w4OwWewi/+RyNy5uKUo/7zzGqbGVC9g ECQI4EnwJoPTVZjDmmJXtWwKmyIinGvoyhAb6dDA3188r9iDspnB0em/7CqvHRqcMAw1 LzbDttlCcm/Yym5UQnWRoQ4L3ojo1EuS2k5GGQb2GwQ+J0SsE94pq1yMPO+YlaMt9TTE zlD64sDKqD10HnTiEua4AOHcqnumYHYl12zAgs4LwNo0b21G2LPCVqaoDLM/TbYQ8nlr wK3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aWbubnBI; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p19-20020a170902c71300b00188bc18bd02si5996785plp.421.2022.11.15.00.40.29; Tue, 15 Nov 2022 00:40:41 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=aWbubnBI; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232598AbiKOIco (ORCPT + 88 others); Tue, 15 Nov 2022 03:32:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229664AbiKOIcm (ORCPT ); Tue, 15 Nov 2022 03:32:42 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB7AE631F; Tue, 15 Nov 2022 00:32:41 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0161961576; Tue, 15 Nov 2022 08:32:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 925F4C433C1; Tue, 15 Nov 2022 08:32:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668501160; bh=qvc4PkjbFLd4d9FhXUQJc9o0AtNm4ofX85R/Lkx1n2g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aWbubnBI1qXAmT9YJM8uICvKoBgnifdj8lYcpO/3SbrGURsWQAqoILnDn9fly3wlt 8feq45FgKdoGQ2PxCK6uDetR0y0Cq6YXs3K6RxR/CoAONUXuq8aZ0u1+0HzBimz8uR FkYQgeZBMggFeBhMhaR37zXzNqtk4vchiBQlOXnjVm8rUKakxiy6WHL11+xAblnac6 iZCdRdg55asb/6qEkGtKABPmLLRcy6sm2fizsRnf1MOrkIDrY7asmN0im5CeQ9m8IQ vJWupfvTQBz7PrMEblCyill8286guDqdwRjrN127NB5d6zC9LjB1qkjbQERgP5OFTb DsUpJ2Tv3QH0A== Date: Tue, 15 Nov 2022 10:32:35 +0200 From: Leon Romanovsky To: Oliver O'Halloran Cc: "Longpeng (Mike, Cloud Infrastructure Service Product Dept.)" , bhelgaas@google.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, jianjay.zhou@huawei.com, zhuangshengen@huawei.com, arei.gonglei@huawei.com, yechuan@huawei.com, huangzhichao@huawei.com, xiehong@huawei.com Subject: Re: [RFC 0/4] pci/sriov: support VFs dynamic addition Message-ID: References: <20221111142722.1172-1-longpeng2@huawei.com> <0b2202bf-18d3-b288-9605-279208165080@huawei.com> <3a8efc92-eda8-9c61-50c5-5ec97e2e2342@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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, Nov 15, 2022 at 12:50:34PM +1100, Oliver O'Halloran wrote: > On Tue, Nov 15, 2022 at 1:27 AM Leon Romanovsky wrote: > > > > *snip* > > > > Anyway, I'm aware of big cloud providers who are pretty happy with live > > migration in production. > > I could see someone sufficiently cloudbrained deciding that rebooting > the hypervisor is fine provided the downtime doesn't violate any > customer uptime SLAs. Personally I'd only be brave enough to do that > for a HV hosting internal services which I know are behind a load > balancer, but apparently there are people at Huawei far braver than I. My main point in this discussion that Huawei team doesn't actually provide any meaningful justification why it is great idea to add new sysfs file. They use HPC as an argument, but in that world, you won't see many VMs on one server, as it is important to provide separate MSI-X vectors and CPUs to each VM. They ask from us optimization (do not add device hierarchy for existing HW) that doesn't exist in the kernel. I would say that they are trying to meld SIOV architecture of subfunctions (SFs) into PCI and SR-IOV world. Thanks