nic_uio: allow to bind any device
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Mon, 20 Jul 2015 17:31:35 +0000 (23:01 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 22 Jul 2015 13:01:14 +0000 (15:01 +0200)
commit82ecf62eded2429251b8e6773901a7fe2989fc86
tree8720751d7f571deb3720d808501e913ef81f1512
parent5fd61965ef818cccd9df309e1a54d9249a707dda
nic_uio: allow to bind any device

nic_uio requires the pci ids to be present in rte_pci_dev_ids.h in order to
bind the devices to nic_uio.  However, it's better to remove this whitelist
of pci ids, and instead rely on hw.nic_uio.bdfs kenv parameter to allow
binding any device to nic_uio.

Suggested-by: David Marchand <david.marchand@6wind.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Acked-by: David Marchand <david.marchand@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/bsdapp/nic_uio/nic_uio.c