On Wednesday 15 February 2017 07:43 PM, Jan Blunck wrote:
On Wed, Feb 15, 2017 at 3:11 PM, Shreyansh Jain <shreyansh.j...@nxp.com> wrote:
On Wednesday 15 February 2017 03:32 PM, Jan Blunck wrote:
+
+static struct rte_bus rte_vdev_bus = {
+ .scan = vdev_scan,
+ .probe = vdev_probe,
+};
+
+RTE_REGISTER_BUS_LATE(virtual, rte_vdev_bus);
Does it matter if VDEV buses are registered before or after other
buses?
Yes, it does. Also see commit f4ce209a ("eal: postpone vdev initialization").
Either way, the callbacks would be called in the order specified
in EAL.
They are called in order of registration. That is why this defers the
registration of the vdev bus.
Agree - I realized the problem in my statement after I had sent the email.