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

lihuisong (C) lihuisong at huawei.com
Thu Jan 16 10:35:31 CET 2025


在 2025/1/16 17:09, Thomas Monjalon 写道:
> 16/01/2025 07:14, lihuisong (C):
>> 在 2025/1/15 19:36, Thomas Monjalon 写道:
>>> 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".
>> "During probing, before the port becomes generally available, its socket
>> id and owner id can be considered as valid."
>> How about say it like this?
> I prefer when you give the function names, it is more explicit.
ok
>
>
>
> .


More information about the dev mailing list