Thread (91 messages) flat view 91 messages, 7 authors, 2017-04-14

Re: [PATCH 3/7] eal: move virtual device probing into a bus

From: Jan Blunck <hidden>
Date: 2017-02-15 14:13:41

On Wed, Feb 15, 2017 at 3:11 PM, Shreyansh Jain [off-list ref] wrote:
On Wednesday 15 February 2017 03:32 PM, Jan Blunck wrote:
quoted
quoted
+
+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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help