Re: [dpdk-dev] [PATCH] net/nfp: use generic PCI config access functions

2018-06-26 Thread Ferruh Yigit
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 manda

[dpdk-dev] [PATCH] net/nfp: use generic PCI config access functions

2018-06-18 Thread Alejandro Lucero
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