[PATCH v2 2/2] ethdev: fix some functions are available in the new event
Thomas Monjalon
thomas at monjalon.net
Thu Jan 16 16:18:34 CET 2025
16/01/2025 12:40, Huisong Li:
> During probing, before the port becomes generally available, the
> rte_eth_dev_socket_id() and rte_eth_dev_owner_*() are available to
> application.
>
> Fixes: 7dcd73e37965 ("drivers/bus: set device NUMA node to unknown by default")
> Fixes: 53ef1b34776b ("ethdev: add sanity checks in control APIs")
> Cc: stable at dpdk.org
>
> Signed-off-by: Huisong Li <lihuisong at huawei.com>
[...]
> /** The port is being probed, i.e. allocated and not yet available.
> * It is too early to check validity, query infos, and configure
> - * the port.
> + * the port. But some functions, like rte_eth_dev_socket_id() and
> + * rte_eth_dev_owner_*() are available to application.
I would add "the" before "application".
With this minor change,
Acked-by: Thomas Monjalon <thomas at monjalon.net>
More information about the dev
mailing list