From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <rahul.lakkireddy@chelsio.com>
Received: from stargate3.asicdesigners.com (stargate.chelsio.com
 [67.207.112.58]) by dpdk.org (Postfix) with ESMTP id 1C9C7CE7
 for <dev@dpdk.org>; Thu, 16 Jul 2015 13:12:37 +0200 (CEST)
Received: from localhost (scalar.blr.asicdesigners.com [10.193.185.94])
 by stargate3.asicdesigners.com (8.13.8/8.13.8) with ESMTP id t6GBCKFH032547;
 Thu, 16 Jul 2015 04:12:21 -0700
Date: Thu, 16 Jul 2015 16:42:06 +0530
From: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
To: Bruce Richardson <bruce.richardson@intel.com>,
 David Marchand <david.marchand@6wind.com>
Message-ID: <20150716111203.GA3535@scalar.blr.asicdesigners.com>
References: <20150716121214.GA3103@scalar.blr.asicdesigners.com>
 <CALwxeUtvgYRtqV4vFgKAKcJV=EJC2TosOdRgqwQqpAZiSx81Pw@mail.gmail.com>
 <20150716085714.GA9348@bricha3-MOBL3>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20150716085714.GA9348@bricha3-MOBL3>
User-Agent: Mutt/1.5.23 (2014-03-12)
Cc: "dev@dpdk.org" <dev@dpdk.org>, Felix Marti <felix@chelsio.com>,
 Kumar Sanghvi <kumaras@chelsio.com>,
 Nirranjan Kirubaharan <nirranjan@chelsio.com>
Subject: Re: [dpdk-dev] Does FreeBSD's nic_uio have bind/unbind interface
 support?
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Jul 2015 11:12:38 -0000

Hi Bruce and David,

On Thu, Jul 16, 2015 at 09:57:15 +0100, Bruce Richardson wrote:
> On Thu, Jul 16, 2015 at 09:57:03AM +0200, David Marchand wrote:
> > Hello Rahul,
> > 
> > (cc Bruce)
> > 
> > How about removing this "whitelist" from the nic_uio driver and just rely
> > on the hw.nic_uio.bdfs parameter to find out which devices to bind ?
> >
> Yes, that would be my thinking too. It probably should work that way, much as
> linux does.
> 
> /Bruce
> 

Tried the suggestion on removing the "whitelist" checks and it seems to work
fine for us.  It's allowing T5 devices to be bound to nic_uio and also results
in successful probe.

Will prepare a patch to remove the whitelist checks and pci id entries from
nic_uio and post soon.

Thanks,
Rahul