[PATCH v2 1/2] ethdev: clarify something about the new event
Thomas Monjalon
thomas at monjalon.net
Thu Jan 16 16:17:30 CET 2025
16/01/2025 12:40, Huisong Li:
> If application verify the validity of the port id or configure this port in
> the new event callback, application may happen to the port id is invalid.
>
> In case of similar confusion, this patch have to clarify something about
> RTE_ETH_EVENT_NEW in code.
>
> Signed-off-by: Huisong Li <lihuisong at huawei.com>
> ---
> - RTE_ETH_EVENT_NEW, /**< port is probed */
> + /** 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.
> + */
> + RTE_ETH_EVENT_NEW,
Acked-by: Thomas Monjalon <thomas at monjalon.net>
More information about the dev
mailing list