From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id E9A9D5946 for ; Wed, 27 Aug 2014 12:34:26 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 27 Aug 2014 03:38:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,409,1406617200"; d="scan'208";a="590509775" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by fmsmga002.fm.intel.com with ESMTP; 27 Aug 2014 03:38:04 -0700 Received: from irsmsx106.ger.corp.intel.com (163.33.3.31) by IRSMSX103.ger.corp.intel.com (163.33.3.157) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 27 Aug 2014 11:37:01 +0100 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.194]) by IRSMSX106.ger.corp.intel.com ([169.254.8.3]) with mapi id 14.03.0195.001; Wed, 27 Aug 2014 11:37:01 +0100 From: "Burakov, Anatoly" To: Stephen Hemminger , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [RFC] PCI config access for drivers Thread-Index: AQHPwPqSoPlZ66IOAkSbaUZ6ZR4NeJvkQxTQ Date: Wed, 27 Aug 2014 10:37:00 +0000 Message-ID: References: <20140825174429.2065320b@urahara> In-Reply-To: <20140825174429.2065320b@urahara> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [RFC] PCI config access for drivers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2014 10:34:27 -0000 Hi Stephen, > Some drivers need ability to access PCI config (for example for power man= agement). This > adds an abstraction to do this; only implemented on Linux, but should be = possible on BSD. Since VFIO has to go to PCI config space too for some things, could you ple= ase amend your patch to make VFIO use this generic API also? Currently, it = uses VFIO to read and write from PCI config. Thanks, Anatoly