[dpdk-dev] [PATCH 03/12] ethdev: add deferred intermediate device state

Stephen Hemminger stephen at networkplumber.org
Fri Mar 3 18:34:12 CET 2017


On Fri,  3 Mar 2017 16:40:25 +0100
Gaetan Rivet <gaetan.rivet at 6wind.com> wrote:

> This device state means that the device is managed externally, by
> whichever party has set this state (PMD or application).
> 
> Note: this new device state is only an information. The related device
> structure and operators are still valid and can be used normally.
> 
> It is however made private by device management helpers within ethdev,
> making the device invisible to applications.
> ---
>  lib/librte_ether/rte_ethdev.c | 3 ++-
>  lib/librte_ether/rte_ethdev.h | 1 +
>  2 files changed, 3 insertions(+), 1 deletion(-)

Might be better to introduce RFC2863 operational states.
This is something management tools might want.


More information about the dev mailing list