From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=98YTyeT83iYw0Vmqscim/Nb4yHa9jVhcnjrV9PkNmFI=; b=ZfZCb1ndLWKdH6dEgMaDd+nkrwTVRalNZcJKaXWBGH/K4d1jLPBuKFqEWuJmS7g8/d HOJGYTf871S7N/Sv5xAmHUSVgwUsMdTVPmQbO6tjRJDARoO+/N8rnOOBtHH58jUIOZw6 LS6oVROuIRpZZgPycZOCcl30b4swf0USoEmt+tGxACpK6D77lNo0pJlpd7d2YjiUSjvv jiVncq0Mps/lA/HbiDYaXoX8N8DKjNT2G5RmgDilVhbtQslzJyzDIhDvUTZ6mPYwiL8j YJfmJpOBy/QH7/rl/JKNkDqVDlGHEFM9DFB9q3fPxEfAfsp++ND56runcM6si0diCx58 W5RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=98YTyeT83iYw0Vmqscim/Nb4yHa9jVhcnjrV9PkNmFI=; b=bOmAq2hIThsomi/pyGnipSw2MtWiYmvow8J14w2kxXgw3fVGexynvXswIvB1KKFRjP WYyc872UqFv1EGWkxbogxumgg0qvjMk2yc/tZb5ZsVAQ5UfdGTlw9r6IouueLspYTQZE vxdt3yxrqG8S1gLf/KFsuVKwD5Zir1dAkUfObi5vUvWcyZXgUac6wWZaHVNVEVOkMdZ9 eunw0Ww92t+AuyV52BG0kms0SevmXVCK7zrYksIgTG88/puyZglJNwU/NR/UiDP20oR0 WqVxKSmki8yquhDbxjn8nilIe/0t1yYdFIL3BbtdW0aXfwWDvixvpAzfsvrLFvbup6nU x3QQ== X-Gm-Message-State: AMke39m8X+I7OINgdlpHNQzZebwNg56seY6rmGHqDDZaPEcpT73jnNyFqegB091EZipvIw== X-Received: by 10.99.95.5 with SMTP id t5mr4844271pgb.27.1488562454333; Fri, 03 Mar 2017 09:34:14 -0800 (PST) Received: from xeon-e3 (204-195-18-65.wavecable.com. [204.195.18.65]) by smtp.gmail.com with ESMTPSA id d1sm24588345pfk.20.2017.03.03.09.34.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Mar 2017 09:34:14 -0800 (PST) Date: Fri, 3 Mar 2017 09:34:12 -0800 From: Stephen Hemminger To: Gaetan Rivet Cc: dev@dpdk.org Message-ID: <20170303093412.5840ac2e@xeon-e3> In-Reply-To: <360ef4b7a2f14e26ecc412ea5b964df7367d13d3.1488550982.git.gaetan.rivet@6wind.com> References: <360ef4b7a2f14e26ecc412ea5b964df7367d13d3.1488550982.git.gaetan.rivet@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 03/12] ethdev: add deferred intermediate device state X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2017 17:34:15 -0000 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.