Received: by 10.192.165.148 with SMTP id m20csp656830imm; Fri, 20 Apr 2018 13:04:40 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+w5sQ5Bqbi3h1x+uFkY3+krhRLonjgzEndwLYNhRXTfLlVB55vTL4MnT0ty5e21f8ySrxG X-Received: by 10.167.131.203 with SMTP id j11mr11049717pfn.101.1524254680870; Fri, 20 Apr 2018 13:04:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524254680; cv=none; d=google.com; s=arc-20160816; b=ESxDkhfI2g7D2zToduaOQClTBVQIq246Th1my30a5agrRrwBb5UtFIXgrhodDlIecm pXGpu5udicJIeW27FYcg2UGChiHJMe9DXfaM4chhocgpKCtfbZ3GkSIBCfY0IFUYf/Wl dtJdSE44a2jjRZMqNJyhXJKiYyDkLWk9eyEjkTa+PrJcJYHI9em5EOSgiA/HuaAvLvd4 eQQNoGqm5cRbw4PWKWfeZz9DX3Z9LBqC2E5XRKon5UVSviWMJ5XkgRUPuDMvIxNpR4vw MBPVDAXN6Efb0rbBN9/8uHIVpIQalrhKOVwX1avVS8pZj522GLpc31IuqUf3IX/PoUd4 mHWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=y9K5mhHJbk21PD+v0hLa33Qu6fZy1QN3psoabqoI79s=; b=JEBh/05IGMr/om21t7GR//who3kVknLj7svqPdcM0v/8j/Rp2AZ0ztUhtqF3r21uyB fPjkDLhQ2mjQmtx7ulRISHZCqxm+L6lsk6bm2WOvbeKyLP2rp1GS1f+HXy1KQv7aaIR8 0CWQqiHVlbOvDK5t+3GjgdCH5K7Rli58zsZkNlgezUlclM+I8KFCcOca4fZhDKFBJmfk jvMtee0xv7o6zDRS9vXz0z/ASYwcZ6b7susQtIQetJmUrWwJWUksVJ3QLr9MJ801s9K2 LNRsmt0ax2DoqsBRjWUJvEG+dej5mlEVeady3BRPOy7N/13t5jJ6aQJ6/pOy8YCrs8H0 O8uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=f8jNz1Q5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10-v6si6467222plb.272.2018.04.20.13.04.04; Fri, 20 Apr 2018 13:04: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=pass header.i=@gmail.com header.s=20161025 header.b=f8jNz1Q5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752109AbeDTUBM (ORCPT + 99 others); Fri, 20 Apr 2018 16:01:12 -0400 Received: from mail-ot0-f169.google.com ([74.125.82.169]:32829 "EHLO mail-ot0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751136AbeDTUBK (ORCPT ); Fri, 20 Apr 2018 16:01:10 -0400 Received: by mail-ot0-f169.google.com with SMTP id l22-v6so372086otj.0; Fri, 20 Apr 2018 13:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=y9K5mhHJbk21PD+v0hLa33Qu6fZy1QN3psoabqoI79s=; b=f8jNz1Q5Y4iRFp2/wRyXz1ZFn2V404Otw/LV/bbc1cEngQJTlK38aQTYv/rGwxJxjv 7bo+suQhT5vFymPgfPQVqwg9mIIMwRVo00JywAmMs47s1dyW1wUyX2RuDnqOWXQChAsT GQrtuGlw7pSyurYRV7Jujv9yECm3JTNSf2bxv1ilcdq+qkSpzPuwsL85O7mEtkwcSvYW O00DGbZKHDv/rCpZ0+141bq/NBcLAuc1ea/SOhJQ5NV5eDJljQx43SZ9tfKGaROZIaJa Qjm6i7AMxbwkGNYwab1hEMs9FNQhz24YchModGH+sCMwJ6u2By0a5sCKqjynWR6WBbJv 0E6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=y9K5mhHJbk21PD+v0hLa33Qu6fZy1QN3psoabqoI79s=; b=j+GW1jesghUcauLNsXY2wiyj62wW/lSbtjyiisUpd09xYeJJeuQRFayptbJ1KcfUtY tKCbaSWhTIwRJLTpXegU0kRDhGzAUT7sePY9WaoAEmZT9ZDhoO6w3JkkI6OqWhh4B3Hl jRgd7yUTzM1as/zJoVAmyoBhSLnyIwPSIk7sw0RNDgJZWrTFDByyIOvU9KdT5sRk/cly ybugaj3CB//I1ohnLYsS7crhOrvDiCrna0g0GIgw7gvP1Aae1EJLkWDULE8/Tu0ToaL8 L+4lMUCQDUkbIFEXPCGeGtMsjN9PY4QAElqYm3oedu1wT6rdCBmUHmerroB6GjvgZNmW Enkw== X-Gm-Message-State: ALQs6tDMIvv7wCKdUElnyhh+S+lHaE+PdLE86fQ6OtL0+MVNXpyVgnWz Ihvzd42nqlI9VrBQ4/xDbSFd/LEwKxy9YfaSIvo= X-Received: by 2002:a9d:5e09:: with SMTP id d9-v6mr7838678oti.235.1524254468544; Fri, 20 Apr 2018 13:01:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.201.52.1 with HTTP; Fri, 20 Apr 2018 13:01:07 -0700 (PDT) In-Reply-To: <5fc62d10-790f-2356-c2f6-fd49f542dd3c@infradead.org> References: <20180420162633.46077.49012.stgit@ahduyck-green-test.jf.intel.com> <5fc62d10-790f-2356-c2f6-fd49f542dd3c@infradead.org> From: Alexander Duyck Date: Fri, 20 Apr 2018 13:01:07 -0700 Message-ID: Subject: Re: [pci PATCH v8 0/4] Add support for unmanaged SR-IOV To: Randy Dunlap 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. Alex