From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 86CBAA04DB; Tue, 17 Nov 2020 11:06:29 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1A4024C90; Tue, 17 Nov 2020 11:06:27 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id AF21637B1 for ; Tue, 17 Nov 2020 11:06:25 +0100 (CET) IronPort-SDR: KpXQKqlGp3f1X227jks6VETn+64aeWp9zDUkBm+hykL0AHw9FH+AHVJ6P/uHzgIBPNXZMmNnpU K4n8C5cV2jEw== X-IronPort-AV: E=McAfee;i="6000,8403,9807"; a="150166454" X-IronPort-AV: E=Sophos;i="5.77,485,1596524400"; d="scan'208";a="150166454" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2020 02:06:23 -0800 IronPort-SDR: 4hdMiPQa5IO+VqW4Sm1dXtj2oVTBwixQIAGnTyZt4Nfunz8v12XhL5xk/i6yOBwns9udu4eFq5 4RjA6KrXXiyw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,485,1596524400"; d="scan'208";a="532169716" Received: from silpixa00400629.ir.intel.com ([10.237.214.112]) by fmsmga006.fm.intel.com with ESMTP; 17 Nov 2020 02:06:21 -0800 From: Savinay Dharmappa To: cristian.dumitrescu@intel.com, jasvinder.singh@intel.com, dev@dpdk.org, david.marchand@redhat.com Cc: savinay.dharmappa@intel.com Date: Tue, 17 Nov 2020 10:06:05 +0000 Message-Id: <20201117100605.70739-1-savinay.dharmappa@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201027092205.21325-1-savinay.dharmappa@intel.com> References: <20201027092205.21325-1-savinay.dharmappa@intel.com> Subject: [dpdk-dev] [PATCH v3] examples/qos_sched: update profile config file 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" update the qos_sched user guide and profile config file with default subport profile. Fixes: 802d214dc880 ("examples/qos_sched: update subport rate dynamically") Signed-off-by: Savinay Dharmappa Acked-by: Cristian Dumitrescu --- v3: addressed the review comments of patch v2 --- doc/guides/sample_app_ug/qos_scheduler.rst | 4 ++++ examples/qos_sched/profile_ov.cfg | 3 +++ 2 files changed, 7 insertions(+) diff --git a/doc/guides/sample_app_ug/qos_scheduler.rst b/doc/guides/sample_app_ug/qos_scheduler.rst index 3fb50d3654..e50f3cd536 100644 --- a/doc/guides/sample_app_ug/qos_scheduler.rst +++ b/doc/guides/sample_app_ug/qos_scheduler.rst @@ -135,6 +135,10 @@ The profile file has the following format: [subport 0] number of pipes per subport = 4096 queue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64 + + subport 0-8 = 0 ; These subports are configured with subport profile 0 + + [subport profile 0] tb rate = 1250000000; Bytes per second tb size = 1000000; Bytes tc 0 rate = 1250000000; Bytes per second diff --git a/examples/qos_sched/profile_ov.cfg b/examples/qos_sched/profile_ov.cfg index ab509d28d7..14c89ae340 100644 --- a/examples/qos_sched/profile_ov.cfg +++ b/examples/qos_sched/profile_ov.cfg @@ -11,6 +11,9 @@ number of subports per port = 1 number of pipes per subport = 32 queue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64 +subport 0-8 = 0 + +[subport profile 0] tb rate = 8400000 ; Bytes per second tb size = 100000 ; Bytes -- 2.17.1