From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v6 1/3] ether: support runtime queue setup Date: Fri, 20 Apr 2018 12:16:34 +0100 Message-ID: References: <20180212045314.171616-1-qi.z.zhang@intel.com> <20180408024221.228450-1-qi.z.zhang@intel.com> <20180408024221.228450-2-qi.z.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, beilei.xing@intel.com, jingjing.wu@intel.com, wenzhuo.lu@intel.com To: Qi Zhang , thomas@monjalon.net, konstantin.ananyev@intel.com Return-path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 35B277286 for ; Fri, 20 Apr 2018 13:16:38 +0200 (CEST) In-Reply-To: <20180408024221.228450-2-qi.z.zhang@intel.com> Content-Language: en-US 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 4/8/2018 3:42 AM, Qi Zhang wrote: > The patch let etherdev driver expose the capability flag through > rte_eth_dev_info_get when it support runtime queue configuraiton, > then base on the flag rte_eth_[rx|tx]_queue_setup could decide > continue to setup the queue or just return fail when device already > started. > > Signed-off-by: Qi Zhang > Acked-by: Konstantin Ananyev > --- > v6: > - fix tx queue state check in rte_eth_tx_queue_setup > > doc/guides/nics/features.rst | 8 ++++++++ > lib/librte_ether/rte_ethdev.c | 30 ++++++++++++++++++------------ > lib/librte_ether/rte_ethdev.h | 7 +++++++ > 3 files changed, 33 insertions(+), 12 deletions(-) > > diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst > index 1b4fb979f..6983faa4e 100644 > --- a/doc/guides/nics/features.rst > +++ b/doc/guides/nics/features.rst > @@ -892,7 +892,15 @@ Documentation describes performance values. > > See ``dpdk.org/doc/perf/*``. > > +.. _nic_features_queue_runtime_setup_capabilities: > > +Queue runtime setup capabilities > +--------------------------------- > + > +Supports queue setup / release after device started. > + > +* **[provides] rte_eth_dev_info**: ``runtime_queue_config_capa:DEV_RUNTIME_RX_QUEUE_SETUP,DEV_RUNTIME_TX_QUEUE_SETUP``. > +* **[related] API**: ``rte_eth_dev_info_get()``. New feature added, can you please add this into default.ini file, and is it possible to shorten the feature name?