From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/nfp: use generic PCI config access functions Date: Tue, 26 Jun 2018 10:03:36 +0100 Message-ID: References: <1529352372-22198-1-git-send-email-alejandro.lucero@netronome.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Alejandro Lucero , dev@dpdk.org Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 69A821B429 for ; Tue, 26 Jun 2018 11:03:43 +0200 (CEST) In-Reply-To: <1529352372-22198-1-git-send-email-alejandro.lucero@netronome.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 6/18/2018 9:06 PM, Alejandro Lucero wrote: > This patch avoids direct access to device config sysfs file using > rte_pci_read_config instead. > > Apart from replicating code, it turns out this direct access does > not always work if non-root users execute DPDK apps. In those cases > it is mandatory to go through VFIO specific function for reading pci > config space. > > Signed-off-by: Alejandro Lucero Applied to dpdk-next-net/master, thanks.