Neil, John, I think we all want the same thing: simple and generic APIs.
2014-04-14 10:10, John W. Linville: > On Mon, Apr 14, 2014 at 03:45:31PM +0200, Thomas Monjalon wrote: > > From the user's point of view, it must be possible to create some virtual > > devices instead of using real ones. That's --vdev option. Then the device > > is handled as any other one thanks to its PMD. > > Except that it isn't, or at least it wasn't -- hence my patch to make > rte_pmd_init_all initialize _all_ PMDs rather than just the hardware > ones. I hope that will be remedied once all the dust settles with > the patchsets currently in flight. Yes there should not be any difference between PMDs for registering them. And rte_pmd_init_all is not needed. Please provide a patch to register all of them with constructors. -- Thomas