[PATCH v1 2/2] ethdev: fix some APIs can be used in the new event
Thomas Monjalon
thomas at monjalon.net
Thu Jan 16 10:09:40 CET 2025
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.
More information about the dev
mailing list