[PATCH v2 2/2] ethdev: fix some functions are available in the new event

lihuisong (C) lihuisong at huawei.com
Fri Jan 17 09:43:16 CET 2025


在 2025/1/16 23:18, Thomas Monjalon 写道:
> 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>
Ack
>
>
> .


More information about the dev mailing list