From patchwork Mon Oct 22 08:46:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xu, Rosen" X-Patchwork-Id: 47110 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0D3564CA5; Mon, 22 Oct 2018 10:46:32 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 2ECF24C9F for ; Mon, 22 Oct 2018 10:46:30 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Oct 2018 01:46:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,411,1534834800"; d="scan'208";a="273346954" Received: from dpdkx8602.sh.intel.com ([10.67.110.200]) by fmsmga005.fm.intel.com with ESMTP; 22 Oct 2018 01:46:27 -0700 From: Rosen Xu To: dev@dpdk.org Cc: cristian.dumitrescu@intel.com, wenzhuo.lu@intel.com, jasvinder.singh@intel.com, rosen.xu@intel.com, ferruh.yigit@intel.com Date: Mon, 22 Oct 2018 16:46:39 +0800 Message-Id: <1540198001-127116-1-git-send-email-rosen.xu@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1534156498-57837-1-git-send-email-rosen.xu@intel.com> References: <1534156498-57837-1-git-send-email-rosen.xu@intel.com> Subject: [dpdk-dev] [PATCH v2 0/2] Add and identify shaper profile parameters 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" v2 updates: ========== - Updated commmand section - Updated the documentation v1 updates: ========== - Added committed and peak parameters As struct rte_tm_shaper_params defined, the command line of test-pmd should include committed and peak parameters, but right now the command line doesn't identify whether it's committed or peak parameter. This patch identifies and adds the clarify definition. This patch also update command section and the documentation. Rosen Xu (2): app/test-pmd: add and identify shaper profile parameters doc/guides/testpmd_app_ug: update documentation for added shaper profile parameters app/test-pmd/cmdline.c | 3 ++- app/test-pmd/cmdline_tm.c | 34 ++++++++++++++++++++--------- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 9 +++++--- 3 files changed, 32 insertions(+), 14 deletions(-)