From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH 03/12] ethdev: add deferred intermediate device state Date: Fri, 3 Mar 2017 09:34:12 -0800 Message-ID: <20170303093412.5840ac2e@xeon-e3> References: <360ef4b7a2f14e26ecc412ea5b964df7367d13d3.1488550982.git.gaetan.rivet@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Gaetan Rivet Return-path: Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by dpdk.org (Postfix) with ESMTP id 3712EFA40 for ; Fri, 3 Mar 2017 18:34:14 +0100 (CET) Received: by mail-pf0-f179.google.com with SMTP id j5so35366485pfb.2 for ; Fri, 03 Mar 2017 09:34:14 -0800 (PST) In-Reply-To: <360ef4b7a2f14e26ecc412ea5b964df7367d13d3.1488550982.git.gaetan.rivet@6wind.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, 3 Mar 2017 16:40:25 +0100 Gaetan Rivet 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.