Re: [dpdk-dev] [PATCH] net/nfp: avoid sysfs resource file access

2018-06-27 Thread Alejandro Lucero
On Wed, Jun 27, 2018 at 3:56 PM, Ferruh Yigit wrote: > On 6/26/2018 2:25 PM, Alejandro Lucero wrote: > > Getting the bar size is required for NFP CPP interface configuration. > > However, this information can be obtained from the VFIO or UIO driver > > instead of accessing the sysfs resource file

Re: [dpdk-dev] [PATCH] net/nfp: avoid sysfs resource file access

2018-06-27 Thread Ferruh Yigit
On 6/26/2018 2:25 PM, Alejandro Lucero wrote: > Getting the bar size is required for NFP CPP interface configuration. > However, this information can be obtained from the VFIO or UIO driver > instead of accessing the sysfs resource file. > > Signed-off-by: Alejandro Lucero Applied to dpdk-next-n

Re: [dpdk-dev] [PATCH] net/nfp: avoid sysfs resource file access

2018-06-27 Thread Ferruh Yigit
On 6/27/2018 3:27 PM, Ferruh Yigit wrote: > On 6/26/2018 2:25 PM, Alejandro Lucero wrote: >> Getting the bar size is required for NFP CPP interface configuration. >> However, this information can be obtained from the VFIO or UIO driver >> instead of accessing the sysfs resource file. >> >> Signed-o

Re: [dpdk-dev] [PATCH] net/nfp: avoid sysfs resource file access

2018-06-27 Thread Ferruh Yigit
On 6/26/2018 2:25 PM, Alejandro Lucero wrote: > Getting the bar size is required for NFP CPP interface configuration. > However, this information can be obtained from the VFIO or UIO driver > instead of accessing the sysfs resource file. > > Signed-off-by: Alejandro Lucero > --- > drivers/net/nf

[dpdk-dev] [PATCH] net/nfp: avoid sysfs resource file access

2018-06-26 Thread Alejandro Lucero
Getting the bar size is required for NFP CPP interface configuration. However, this information can be obtained from the VFIO or UIO driver instead of accessing the sysfs resource file. Signed-off-by: Alejandro Lucero --- drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c | 27 +-