From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 65DD32BD2 for ; Tue, 24 Apr 2018 14:44:07 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Apr 2018 05:43:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,322,1520924400"; d="scan'208";a="49490750" Received: from dpdk51.sh.intel.com ([10.67.110.184]) by fmsmga001.fm.intel.com with ESMTP; 24 Apr 2018 05:43:55 -0700 From: Qi Zhang To: thomas@monjalon.net, ferruh.yigit@intel.com Cc: konstantin.ananyev@intel.com, dev@dpdk.org, beilei.xing@intel.com, jingjing.wu@intel.com, wenzhuo.lu@intel.com, Qi Zhang Date: Tue, 24 Apr 2018 20:44:05 +0800 Message-Id: <20180424124410.229538-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20180212045314.171616-1-qi.z.zhang@intel.com> References: <20180212045314.171616-1-qi.z.zhang@intel.com> Subject: [dpdk-dev] [PATCH v8 0/5] runtime queue setup 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: Tue, 24 Apr 2018 12:44:07 -0000 v8: - re-order in default.ini and i40e.ini. - rebase v7: - update default.ini and i40e.ini. - rename runtime_queue_setup_capa to dev_capa for generic. - testpmd queue setup command be moved to "ports" command group. - remove ring_size and offload from queue setup command in testpmd. - enable per queue config in testpmd. - enable queue ring size configure command in testpmd. - fix couple typo. TODO: queue offload config commmand is not implemented yet, but per queue configure data structure is already supported in PATCH 3 v6: - fix tx queue state check in rte_eth_rx_queue_setup - fix error message in testpmd. v5: - fix first tx queue check in i40e. v4: - fix i40e rx/tx funciton conflict handle. - no need conflict check for first rx/tx queue at runtime setup. - fix missing offload paramter in testpmd cmdline. v3: - not overload deferred start. - rename deferred setup to runtime setup. - remove unecessary testpmd parameters (patch 2/4 of v2) - add offload support to testpmd queue setup command line - i40e fix: return fail when required rx/tx function conflict with exist setup. v2: - enhance comment in rte_ethdev.h Qi Zhang (5): ethdev: support runtime queue setup app/testpmd: add command for queue setup app/testpmd: enable per queue configure app/testpmd: enable queue ring size configure net/i40e: enable runtime queue setup app/test-pmd/cmdline.c | 217 ++++++++++++++++++++++++++++ app/test-pmd/config.c | 67 ++++++--- app/test-pmd/testpmd.c | 101 ++++++++----- app/test-pmd/testpmd.h | 6 +- doc/guides/nics/features.rst | 18 +++ doc/guides/nics/features/default.ini | 2 + doc/guides/nics/features/i40e.ini | 2 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 16 ++ drivers/net/i40e/i40e_ethdev.c | 4 + drivers/net/i40e/i40e_rxtx.c | 183 ++++++++++++++++++++--- lib/librte_ether/rte_ethdev.c | 30 ++-- lib/librte_ether/rte_ethdev.h | 7 + 12 files changed, 554 insertions(+), 99 deletions(-) -- 2.13.6