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 at 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 > >