Re: [dpdk-dev] [PATCH] pci: fix check uio bind

2017-10-22 Thread Tan, Jianfeng
Hi Gaëtan, > -Original Message- > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > Sent: Saturday, October 21, 2017 4:08 AM > To: Tan, Jianfeng > Cc: dev@dpdk.org; santosh.shu...@caviumnetworks.com; > jerin.ja...@caviumnetworks.com; Burakov, Anatoly > Subject: Re: [PATCH] pci: fix chec

Re: [dpdk-dev] [PATCH] pci: fix check uio bind

2017-10-20 Thread Gaëtan Rivet
On Sat, Oct 21, 2017 at 12:47:14AM +0800, Tan, Jianfeng wrote: > Hi Gaëtan, > > > On 10/19/2017 7:42 PM, Gaëtan Rivet wrote: > >Hi Jianfeng, > > > >On Thu, Oct 19, 2017 at 11:18:29AM +, Jianfeng Tan wrote: > >>When checking if any devices bound to uio, we did not exclud > >>those which are bl

Re: [dpdk-dev] [PATCH] pci: fix check uio bind

2017-10-20 Thread Tan, Jianfeng
Hi Gaëtan, On 10/19/2017 7:42 PM, Gaëtan Rivet wrote: Hi Jianfeng, On Thu, Oct 19, 2017 at 11:18:29AM +, Jianfeng Tan wrote: When checking if any devices bound to uio, we did not exclud those which are blacklisted (or in the case that a whitelist is specified). This patch fixes it by onl

Re: [dpdk-dev] [PATCH] pci: fix check uio bind

2017-10-19 Thread Gaëtan Rivet
Hi Jianfeng, On Thu, Oct 19, 2017 at 11:18:29AM +, Jianfeng Tan wrote: > When checking if any devices bound to uio, we did not exclud > those which are blacklisted (or in the case that a whitelist > is specified). > > This patch fixes it by only checking whitelisted devices. > > Fixes: 815c7

[dpdk-dev] [PATCH] pci: fix check uio bind

2017-10-19 Thread Jianfeng Tan
When checking if any devices bound to uio, we did not exclud those which are blacklisted (or in the case that a whitelist is specified). This patch fixes it by only checking whitelisted devices. Fixes: 815c7deaed2d ("pci: get IOMMU class on Linux") Signed-off-by: Jianfeng Tan --- lib/librte_ea