On 12/02/2026 13:39, David Marchand wrote:
External email: Use caution opening links or attachments
On Thu, 12 Feb 2026 at 12:30, Eelco Chaudron <[email protected]> wrote:
rte_eal_init() fails and OVS aborts.
I could not compile DPDK without PCI support, so I think this is valid,
but not others.
Mm, you could put this under a #ifdef RTE_BUS_XXX, or query at runtime
which bus are available, via rte_bus_find_by_name().
I think a ifdef is fine. Please wrap each case (also the PCI, just to be safe)
with the right one.
Will this work when linking to dpdk dynamically?
The build configuration will contain the builtin buses, regardless of
the linking method.
It could be a problem for out of tree buses, if any.
I think there can be a problem like this:
1. link dynamically against a dpdk version that has all busses. if we go
with ifdefs those strings will be added.
2. replace dpdk libraries with a version that doesn't have the busses.
However, I think it's an edge case that the user can just fix and not
having the extra complexity in OVS.
--
David Marchand
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev