[PATCH v1 2/2] ethdev: fix some APIs can be used in the new event

Thomas Monjalon thomas at monjalon.net
Wed Jan 15 12:36:13 CET 2025


15/01/2025 04:41, Huisong Li:
> The rte_eth_dev_socket_id() and rte_eth_dev_owner_*() can be used after
> allocating an ethdev. So this patch relaxes the conditions for using them.

You should be more explicit:
"during probing, before it becomes generally available and considered as valid".

Should we add these functions in the comment for RTE_ETH_EVENT_NEW?




More information about the dev mailing list