[dpdk-dev] [PATCH v2 1/3] nic_uio: Fix to allow any device to be bound to nic_uio

2015-07-20 Thread Rahul Lakkireddy
Hi David, On Mon, Jul 20, 2015 at 09:43:57 +0200, David Marchand wrote: >Hum, what bothers me is that you do not rely on the same criteria to >re-attach the devices to nic_uio. >See below. > > ?lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 48 > +

[dpdk-dev] [PATCH v2 1/3] nic_uio: Fix to allow any device to be bound to nic_uio

2015-07-20 Thread Rahul Lakkireddy
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 Signed-off-by

[dpdk-dev] [PATCH v2 1/3] nic_uio: Fix to allow any device to be bound to nic_uio

2015-07-20 Thread David Marchand
Hello Rahul, On Mon, Jul 20, 2015 at 8:41 AM, Rahul Lakkireddy < rahul.lakkireddy at chelsio.com> wrote: > 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