From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 16 Jul 2015 01:57:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,486,1432623600"; d="scan'208";a="525243040" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.220.113]) by FMSMGA003.fm.intel.com with SMTP; 16 Jul 2015 01:57:15 -0700 Received: by (sSMTP sendmail emulation); Thu, 16 Jul 2015 09:57:15 +0025 Date: Thu, 16 Jul 2015 09:57:15 +0100 From: Bruce Richardson To: David Marchand Message-ID: <20150716085714.GA9348@bricha3-MOBL3> References: <20150716121214.GA3103@scalar.blr.asicdesigners.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "dev@dpdk.org" , Nirranjan Kirubaharan , Felix Marti , Kumar Sanghvi 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jul 2015 08:57:39 -0000 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 > >