Received: by 10.192.165.148 with SMTP id m20csp692745imm; Fri, 20 Apr 2018 13:51:40 -0700 (PDT) X-Google-Smtp-Source: AIpwx49CmhBJB11FBn31v9xSr6jXRsuxceqUybVnaOusj1mSbvCcbL5MrKtAzDJ351taxCPZ8nmd X-Received: by 10.99.47.4 with SMTP id v4mr9938638pgv.42.1524257500623; Fri, 20 Apr 2018 13:51:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524257500; cv=none; d=google.com; s=arc-20160816; b=zyfrjpTADQmJAT1IptRd2tw+njHs9ZHwv4yfbIQV8TaM8JRkmlGaH5h5FtL3iHBaqz nN1R/RxPBAGhzNPrSwK4QGDtUw7ZzX9tD4HKnRlK+UnIU9b78vytFnmyzwDrgus8iqEI 2s9nX9vRahb5LF3HYp5lvgmUO4wI2zU5VuaQQyRfsHrwyZsIicdbrO4HZ0sq+gKnwXLr MiQ8vhBrKjNd2I8CHL98GoX6EPTctTPe0p8TbJzXuuTAABtS9F1z99OXqf9pWwxpA4eD sOnrDDvTpuAUS/ya/Ksysj0S3WvA3VALNQ6wXVpzw/U+WGUrohy33U6LTN5GalpzhH3w gRhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=7CtGdzyKYiSXS7grc66YMz3So+UMNbG23W4RyuFZiRY=; b=qYeimAIe0AmbCBfw9guUFT8vMor6GTUvQ3RoAp4FNP1empxJTgPonwFJYKhm5GN7u7 Mg+Wu05k6UmSaqo/yLl8NizHUAbsWBF0+u02LqT792ox+v+dse8ZtaYoRasaaYzP+T12 DD7rggJ2rn+yLvuhK9TpwcOD937xbcJ4IwwHWNo2ZSPkVv9FNUeTqfWlTPli5Es4HLo6 RlXyT3+BTd/Yr3GIg3SjftN6nB7xrGwD8takBBb5/qi0y59i+LNNUP1uktSmdq1zJUP1 edRIXIx6JntNkUU1Xxv2FgvSbCcolf8DgnPXkc+ESAnnRgBDW5FFtKIIwfiAoHEkQX+v Jozg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=L6E5f9Vv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x1si5321204pgp.89.2018.04.20.13.51.02; Fri, 20 Apr 2018 13:51:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=L6E5f9Vv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752380AbeDTUrz (ORCPT + 99 others); Fri, 20 Apr 2018 16:47:55 -0400 Received: from merlin.infradead.org ([205.233.59.134]:56368 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751860AbeDTUrx (ORCPT ); Fri, 20 Apr 2018 16:47:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7CtGdzyKYiSXS7grc66YMz3So+UMNbG23W4RyuFZiRY=; b=L6E5f9VvShAAMgUKPG/c85FURg ERsTwuZXWVkzOAv0XARbXidT7+wjp/qsYvTCuxpKgSHHCl/U/FksO/Xeo85pSy3bLEC7RDIKPxw9U SOfB2wNLhisIJ9ioSUlxRNuLN8Sd+piQfvVc9gSnX3/9W5jzm59GN3+ElSEevrzgp5xeIfXzMD5/E WvoEPWwV9gbGCEuGV/SrGoVEBSaJBll40EX2LPQHHN0HALvs357nyyBIKWgquRYP2Yms4lg0kwDQU pe9iSCG1N+qDCozv6eptUf2Blw93ORx/m4b/IsKg7I6Ep4XL3gJ8bRjK5cinY0ruU4vMOM8llly3Y XpcHRl/w==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1f9cwT-0008ET-E7; Fri, 20 Apr 2018 20:47:38 +0000 Subject: Re: [pci PATCH v8 0/4] Add support for unmanaged SR-IOV To: Alexander Duyck Cc: Alexander Duyck , Bjorn Helgaas , linux-pci@vger.kernel.org, virtio-dev@lists.oasis-open.org, kvm@vger.kernel.org, Netdev , "Daly, Dan" , LKML , linux-nvme@lists.infradead.org, Keith Busch , netanel@amazon.com, Don Dutile , Maximilian Heyne , "Wang, Liang-min" , "Rustad, Mark D" , David Woodhouse , Christoph Hellwig , dwmw@amazon.co.uk References: <20180420162633.46077.49012.stgit@ahduyck-green-test.jf.intel.com> <5fc62d10-790f-2356-c2f6-fd49f542dd3c@infradead.org> From: Randy Dunlap Message-ID: Date: Fri, 20 Apr 2018 13:47:33 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/20/18 13:01, Alexander Duyck wrote: > On Fri, Apr 20, 2018 at 10:23 AM, Randy Dunlap wrote: >> On 04/20/18 09:28, Alexander Duyck wrote: >>> This series is meant to add support for SR-IOV on devices when the VFs are >>> not managed by the kernel. Examples of recent patches attempting to do this >>> include: >>> virto - https://patchwork.kernel.org/patch/10241225/ >>> pci-stub - https://patchwork.kernel.org/patch/10109935/ >>> vfio - https://patchwork.kernel.org/patch/10103353/ >>> uio - https://patchwork.kernel.org/patch/9974031/ >> >> Hi, >> >> Somewhere in this patch series it would be nice to tell us what the heck >> a "PF" is. :) >> >> Thanks. > > Sorry, I was kind of operating on the assumption of everyone > understanding SR-IOV nomenclature. Yes, I understood that. :) > A "PF" is a PCIe Physical Function. When you bring up a PCIe device > that supports SR-IOV it is the device that is there to begin with. > > A "VF" is a PCIe Virtual Function. You could think of as a logical > device that is spawned from the physical function using a combination > of hardware configuration via the SR-IOV block in the PCIe extended > configuration space and kernel/driver features. > > There are also a number of online resources you could use to research > SR-IOV further. Hope that helps to clarify some of this. > > Thanks. Thank you. -- ~Randy