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: Shreyansh Jain <hidden>
Date: 2017-02-15 14:15:28

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