[dpdk-dev] [PATCH] net/nfp: use generic PCI config access functions
Ferruh Yigit
ferruh.yigit at intel.com
Tue Jun 26 11:03:36 CEST 2018
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 <alejandro.lucero at netronome.com>
Applied to dpdk-next-net/master, thanks.
More information about the dev
mailing list