Received: by 10.213.65.68 with SMTP id h4csp3882390imn; Tue, 3 Apr 2018 12:20:03 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/8JsGRLIgX5IcXu7i9wDf2pNx/1LyMY5NpIy1cXE6o+UMMC5y6eaepwRkpumjZjIKp7A91 X-Received: by 10.98.69.26 with SMTP id s26mr11595677pfa.29.1522783203724; Tue, 03 Apr 2018 12:20:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522783203; cv=none; d=google.com; s=arc-20160816; b=mBxxwiWF2MVIiABtRgRveIIh29AZv2snyJUhFbtQ39pmWa3CIW0RNzDG1b0tbIn0I5 s4wc3UGUxBiwTaOaKvfIIMAKXLoVuCagzfwNVOsA/M4ZfpUYUTEKw/ofigL4sMd92nIh EMmyUnOC7JxjT+FvQLsLHYpSrOYm+rl3czNdEY/kIEbQJJXlolC6xmZbNxNUvBUMvHkt OLqCiHDuH18Z1oMuiOfE2TYIOJ2hrmX9pogqJUesP69jttHX9lT6vn/vbNOH1CxmoWi2 AiuEaRSVlE3jOO+zsZrPT6btB8DAmgC98jBVm7XBMC4lZ/Rfxz3k1d88p/fT+XkZzwTU CENg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:arc-authentication-results; bh=yWG6HjsQae6qo/ylXFcYD4vVc9Vd1lnYyshGmi5PyQw=; b=HKJphoObnWarhifri5zm214OonOBzN9DyJYyNTMd4oAYgYjVNg4Jn64A5e28q23Gnw fRvZWCbr8qOnaiSACbMLagFy8ql9kjvJP6EfAxA9CdTi2kLPFGJTupX3RA/5vwQSJAGq oUVmplTnn+v/h5S8xvcamdd7TRwzjzWCQaRM6y39YR3YXfxK7EpU/6aZA5CvacRktkk3 tBD4KwzmXKhhR1vPHfrzVXm8wgkj/yEYXWyrrVnHvtXKdJcRjuWnxebg5YvYkVb6Bs/R qBsRC9cq3DfzYVYYAG5lcb9w9hCONYTBwr+CNvGzu5B2A94l8qevHl2rHLaGKvC7GjOf hPlQ== ARC-Authentication-Results: i=1; mx.google.com; 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 f14si2422530pgu.742.2018.04.03.12.19.49; Tue, 03 Apr 2018 12:20:03 -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; 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 S1753223AbeDCTS2 (ORCPT + 99 others); Tue, 3 Apr 2018 15:18:28 -0400 Received: from mga09.intel.com ([134.134.136.24]:53419 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752924AbeDCTS0 (ORCPT ); Tue, 3 Apr 2018 15:18:26 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Apr 2018 12:18:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,402,1517904000"; d="asc'?scan'208";a="31253898" Received: from orsmsx109.amr.corp.intel.com ([10.22.240.7]) by orsmga006.jf.intel.com with ESMTP; 03 Apr 2018 12:18:25 -0700 Received: from orsmsx115.amr.corp.intel.com (10.22.240.11) by ORSMSX109.amr.corp.intel.com (10.22.240.7) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 3 Apr 2018 12:18:25 -0700 Received: from orsmsx101.amr.corp.intel.com ([169.254.8.10]) by ORSMSX115.amr.corp.intel.com ([169.254.4.6]) with mapi id 14.03.0319.002; Tue, 3 Apr 2018 12:18:24 -0700 From: "Rustad, Mark D" To: "Michael S. Tsirkin" CC: Alexander Duyck , "Daly, Dan" , Bjorn Helgaas , "Duyck, Alexander H" , "linux-pci@vger.kernel.org" , "virtio-dev@lists.oasis-open.org" , kvm-devel , Netdev , LKML , "linux-nvme@lists.infradead.org" , "Busch, Keith" , "netanel@amazon.com" , Don Dutile , Maximilian Heyne , "Wang, Liang-min" , David Woodhouse , Christoph Hellwig , "dwmw@amazon.co.uk" Subject: Re: [virtio-dev] [pci PATCH v7 2/5] virtio_pci: Add support for unmanaged SR-IOV on virtio_pci devices Thread-Topic: [virtio-dev] [pci PATCH v7 2/5] virtio_pci: Add support for unmanaged SR-IOV on virtio_pci devices Thread-Index: AQHTvI1siq32SjdMxU+NwObgk2U5/6PThamAgAABlwCAHA/fgIAASHYAgAAPkYCAAA4nAA== Date: Tue, 3 Apr 2018 19:18:23 +0000 Message-ID: <0927465E-0B56-4903-9F5E-288A7D9C46E6@intel.com> References: <20180315183449.3102.64791.stgit@localhost.localdomain> <20180315184132.3102.90947.stgit@localhost.localdomain> <20180316183042-mutt-send-email-mst@kernel.org> <20180403161151-mutt-send-email-mst@kernel.org> <20180403212503-mutt-send-email-mst@kernel.org> In-Reply-To: <20180403212503-mutt-send-email-mst@kernel.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.233.81.62] Content-Type: multipart/signed; boundary="Apple-Mail=_C63078D8-EFD9-47F7-B81E-F2320701BA1F"; protocol="application/pgp-signature"; micalg=pgp-sha256 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Apple-Mail=_C63078D8-EFD9-47F7-B81E-F2320701BA1F Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; delsp=yes; format=flowed On Apr 3, 2018, at 11:27 AM, Michael S. Tsirkin wrote: >> I'm not sure why you would need a feature bit. The capability is >> controlled via PCI configuration space. If it is present the device >> has the capability. If it is not then it does not. >> >> Basically if the PCI configuration space is not present then the sysfs >> entries will not be spawned and nothing will attempt to use this >> function. >> >> - ALex > > It's about compability with older guests which ignore the > capability. > > The feature is thus helpful so host knows whether guest supports VFs. This is not about a guest creating its own VFs. This is about a host PF that happens to have a virtio interface to be able to create virtio VFs that can be assigned to guests. Nothing changes at all from a guest perspective. Or maybe I am not understanding what you mean by "whether guest supports VFs". -- Mark Rustad, Networking Division, Intel Corporation --Apple-Mail=_C63078D8-EFD9-47F7-B81E-F2320701BA1F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQIzBAEBCAAdFiEE6ug8b0Wg+ULmnksNPA7/547j7m4FAlrD034ACgkQPA7/547j 7m5NWBAAwS8hSMcLsTqh7qp59nFGFZgOM91t49d2Hh4eZI2XOtGG/4uKk7oiQx6/ S6p8c3FnA2IFPKSc3HpGk4lha6JL45LE6emSeYmGoyOTaUR+u48HrB65IIPbLjJA 8B8X+do+vtLyp31t61UH1BcO6oYwgRnAIojrKFjM7ga8fnbn0YprCDuGxIeDF/QY iXZ373KYf8rbPDIDt9I9USntO6Id47/usTVeTAiyn6Fvjp0AxWm0/JRdOZvoNn2D ZEpugdAm3oPG59IZSk9zQzh61VxAL7qOIsGBON60tYQZsHpJKLmsiwwksW3hhmCB cE6bcSKmHA5KkA230UtHVizVnja7zJ4TC5luJmctQ1uNzxUL5kMqDuGpCxpGaBml 7JlF6mhyTGuz3ZgkOkUaH+flpU2AXJ91kxAw1yB9cjZQ17S7ZHO0ke5/lyhzBV1Y oz+02LIpgN6KkSuKWS8M1jSDzWpTt7XXJII5ZdcOn8DYrguW2541vltoZlTh1B71 rCZgT1RfUjktaEaUlGJ7yZ6f4hPtI5cAdfLXw7BHOZNZgkJNxjCKO3Vvi/HRiyQJ KdE4pmd4cwOey0NKwcDR3wdYG1/dKrlQCGzb2siaOiCrdIK46FHA3Ubg8PmA1qNk 3xdRPPTgy3c8iGGWFnUyOTgLPMgPavz+fsZmtQrzBg4L3QV/CS4= =0tdq -----END PGP SIGNATURE----- --Apple-Mail=_C63078D8-EFD9-47F7-B81E-F2320701BA1F--