[PATCH v2] bus/vmbus: add device_order field to rte_vmbus_dev
Stephen Hemminger
stephen at networkplumber.org
Tue Jun 25 02:02:34 CEST 2024
On Mon, 24 Jun 2024 11:15:21 +0000
Vladimir Ratnikov <vratnikov at netgate.com> wrote:
> Field can be used to have static interface naming
> in DPDK based applications instead of uuid.
> RTE_FOREACH_DEV won't return the correct order of
> such devices due to vmbus_ignore_device in case of
> blocklisting/allowlisting. So device_order field
> will be helpful in that case.
>
> Signed-off-by: Vladimir Ratnikov <vratnikov at netgate.com>
> ---
Not sure the order of device discovery is predictable.
The order of devices on vmbus is when they were reported by the host OS.
That is why Linux driver use other ways to have persistent naming.
More information about the dev
mailing list