From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rahul Lakkireddy Subject: Does FreeBSD's nic_uio have bind/unbind interface support? Date: Thu, 16 Jul 2015 17:42:16 +0530 Message-ID: <20150716121214.GA3103@scalar.blr.asicdesigners.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Kumar Sanghvi , Felix Marti , Nirranjan Kirubaharan To: dev@dpdk.org 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) Content-Disposition: inline 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" 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