From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 973AFA0547;
	Mon, 24 May 2021 12:59:30 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 65DD14112F;
	Mon, 24 May 2021 12:59:14 +0200 (CEST)
Received: from mga03.intel.com (mga03.intel.com [134.134.136.65])
 by mails.dpdk.org (Postfix) with ESMTP id 7F99B41116
 for <dev@dpdk.org>; Mon, 24 May 2021 12:59:10 +0200 (CEST)
IronPort-SDR: gNRg1cnlTQG+1Tb0Uxbf+WbROpGIrkiWslQK51Zgak0qjqXTtXezKir5anEDSYYrbhCOWar4EP
 SD6XFDP8583A==
X-IronPort-AV: E=McAfee;i="6200,9189,9993"; a="201948470"
X-IronPort-AV: E=Sophos;i="5.82,319,1613462400"; d="scan'208";a="201948470"
Received: from orsmga002.jf.intel.com ([10.7.209.21])
 by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 24 May 2021 03:59:10 -0700
IronPort-SDR: /Ye+quAaZG+hsr4y0sS3F4Tw0uMVAbzfRxgkLf3m0Y4o6TabUaCnaIDN0gnV4qpfDREpadxN1f
 /km/WWhBh+Ng==
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.82,319,1613462400"; d="scan'208";a="413548063"
Received: from silpixa00400629.ir.intel.com ([10.237.214.62])
 by orsmga002.jf.intel.com with ESMTP; 24 May 2021 03:59:08 -0700
From: "Liguzinski, WojciechX" <wojciechx.liguzinski@intel.com>
To: dev@dpdk.org,
	jasvinder.singh@intel.com,
	cristian.dumitrescu@intel.com
Cc: savinay.dharmappa@intel.com
Date: Mon, 24 May 2021 11:58:22 +0100
Message-Id: <20210524105822.63171-4-wojciechx.liguzinski@intel.com>
X-Mailer: git-send-email 2.17.1
In-Reply-To: <20210524105822.63171-1-wojciechx.liguzinski@intel.com>
References: <20210524105822.63171-1-wojciechx.liguzinski@intel.com>
Subject: [dpdk-dev] [RFC PATCH 3/3] example/ip_pipeline: add pie support
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

Signed-off-by: Liguzinski, WojciechX <wojciechx.liguzinski@intel.com>
---
 examples/ip_pipeline/tmgr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/ip_pipeline/tmgr.c b/examples/ip_pipeline/tmgr.c
index e4e364cbc0..406184e760 100644
--- a/examples/ip_pipeline/tmgr.c
+++ b/examples/ip_pipeline/tmgr.c
@@ -25,7 +25,7 @@ static const struct rte_sched_subport_params subport_params_default = {
 	.pipe_profiles = pipe_profile,
 	.n_pipe_profiles = 0, /* filled at run time */
 	.n_max_pipe_profiles = RTE_DIM(pipe_profile),
-#ifdef RTE_SCHED_RED
+#ifdef RTE_SCHED_CMAN
 .red_params = {
 	/* Traffic Class 0 Colors Green / Yellow / Red */
 	[0][0] = {.min_th = 48, .max_th = 64, .maxp_inv = 10, .wq_log2 = 9},
@@ -92,7 +92,7 @@ static const struct rte_sched_subport_params subport_params_default = {
 	[12][1] = {.min_th = 40, .max_th = 64, .maxp_inv = 10, .wq_log2 = 9},
 	[12][2] = {.min_th = 32, .max_th = 64, .maxp_inv = 10, .wq_log2 = 9},
 	},
-#endif /* RTE_SCHED_RED */
+#endif /* RTE_SCHED_CMAN */
 };
 
 static struct tmgr_port_list tmgr_port_list;
-- 
2.17.1

--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.