From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from stargate3.asicdesigners.com (stargate.chelsio.com [67.207.112.58]) by dpdk.org (Postfix) with ESMTP id ADB535A6C for ; Thu, 16 Jul 2015 08:42:21 +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 t6G6gEqn030108; Wed, 15 Jul 2015 23:42:15 -0700 Date: Thu, 16 Jul 2015 17:42:16 +0530 From: Rahul Lakkireddy To: dev@dpdk.org Message-ID: <20150716121214.GA3103@scalar.blr.asicdesigners.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Kumar Sanghvi , Felix Marti , Nirranjan Kirubaharan Subject: [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 06:42:22 -0000 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