From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: Does FreeBSD's nic_uio have bind/unbind interface support? Date: Thu, 16 Jul 2015 09:57:15 +0100 Message-ID: <20150716085714.GA9348@bricha3-MOBL3> References: <20150716121214.GA3103@scalar.blr.asicdesigners.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev@dpdk.org" , Nirranjan Kirubaharan , Felix Marti , Kumar Sanghvi To: David Marchand Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 324223772 for ; Thu, 16 Jul 2015 10:57:38 +0200 (CEST) Content-Disposition: inline In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > > -- > David Marchand > > On Thu, Jul 16, 2015 at 2:12 PM, Rahul Lakkireddy < > rahul.lakkireddy@chelsio.com> wrote: > > > Hi All, > > > > It seems that on FreeBSD, nic_uio currently only binds the devices matched > > in > > rte_pci_dev_ids.h. On Linux, it's possible to bind any listed device with > > igb_uio or vfio. > > > > The pci device ids supported by cxgbe PMD, maintained in a table, are not > > part > > of rte_pci_dev_ids.h. Hence, Chelsio T5 cards don't get bound to nic_uio, > > resulting in probe failure on FreeBSD. > > > > On manually adding Chelsio pci device id to rte_pci_dev_ids.h, the Chelsio > > T5 > > card gets detected fine on FreeBSD. > > > > So, we would like to know and understand if adding all supported Chelsio > > pci > > device ids to rte_pci_dev_ids.h is the correct way of doing things for > > FreeBSD? > > > > Any suggestions are appreciated. > > > > Thanks, > > Rahul > >