Re: [dpdk-dev] [PATCH v4 03/10] eal: move virtual device probing into a bus

2017-03-27 Thread Jan Blunck
On Mon, Mar 13, 2017 at 6:44 PM, Thomas Monjalon wrote: > 2017-03-06 11:56, Jan Blunck: >> +static int >> +vdev_scan(void) >> +{ >> + /* for virtual devices we don't need to scan anything */ >> + return 0; >> +} > > The vdev_scan could save the devargs. > The vdev args are the equivalent o

Re: [dpdk-dev] [PATCH v4 03/10] eal: move virtual device probing into a bus

2017-03-13 Thread Thomas Monjalon
2017-03-06 11:56, Jan Blunck: > +static int > +vdev_scan(void) > +{ > + /* for virtual devices we don't need to scan anything */ > + return 0; > +} The vdev_scan could save the devargs. The vdev args are the equivalent of PCI BDF.

[dpdk-dev] [PATCH v4 03/10] eal: move virtual device probing into a bus

2017-03-06 Thread Jan Blunck
This is a refactoring of the virtual device probing which moves into into a proper bus structure. Signed-off-by: Jan Blunck Tested-by: Ferruh Yigit Acked-by: Shreyansh Jain --- lib/librte_eal/common/eal_common_dev.c | 22 - lib/librte_eal/common/eal_common_vdev.c | 44