[dpdk-dev] [PATCH v2 2/2] ethdev: pre-emptively document rte_eth_dev_reset error code
Thomas Monjalon
thomas at monjalon.net
Tue Oct 24 14:29:30 CEST 2017
24/10/2017 13:03, luca.boccassi at gmail.com:
> From: Luca Boccassi <bluca at debian.org>
>
> When VF reset will be supported by drivers, the API will most likely
> have to return -EAGAIN to avoid blocking when the VF cannot be reset
> because the PF is down.
> Document it immediately even if it's not yet supported, so that users
> and developers can already take into account about this use case, and
> thus avoid an API-incompatible change later on.
>
> This is based on real-world production usage and customer escalations,
> using earlier patches from Intel.
>
> Signed-off-by: Luca Boccassi <bluca at debian.org>
Suggested title: "ethdev: document new error code for reset"
Acked-by: Thomas Monjalon <thomas at monjalon.net>
More information about the dev
mailing list