From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 53723A00C4; Wed, 27 Jul 2022 13:58:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB3A640141; Wed, 27 Jul 2022 13:58:53 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id CA017400D7 for ; Wed, 27 Jul 2022 13:58:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658923133; x=1690459133; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=HFj8NBLvHQDtwOIHrGmciZU1UdU7aq6U+miDfyXeTF4=; b=evMT3ktBhP+kh0FdIZM0ji8epyNp3NmaPVQgYjc2bR4gJ5r23YhHdSfe liFq9DSDlEctlYK2olPROLZZgee/Vu7ikO7DZK4rvx3kb0Lbxdu0gYLfe L+/S5CPr5IieG2DY8IkclJUCh21u/OZwCv1P43FKGrSG/yUdc/i3+58ns PunABE+hyT+wMhfm1iKrlV3y++U4pIX7Qwei/q+I79Kk3acQEsm5dI5KP Ov85j5oMILTcJnfdb+abSfYdXq4PHU4AOXdcSRi5I/dNk9fFiDp45NY2h uOiD7+nJJLkN1OwRdw7HYE3tukqTc08wk914701Xy3gymW/pm7JXY/3po Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10420"; a="349918342" X-IronPort-AV: E=Sophos;i="5.93,195,1654585200"; d="scan'208";a="349918342" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2022 04:58:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,195,1654585200"; d="scan'208";a="659167462" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga008.fm.intel.com with ESMTP; 27 Jul 2022 04:58:51 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Wed, 27 Jul 2022 04:58:51 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Wed, 27 Jul 2022 04:58:50 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Wed, 27 Jul 2022 04:58:50 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.28; Wed, 27 Jul 2022 04:58:50 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SUsXwcBxO8PBuKR96NMqIbIHCsZ2NM3/NrX/zScIwBh+WXzuccSlXok9yJ02w8LBQ8+K+IMH7JyxIkwqHTPqRiUcsMmDo8q56lH8gJ90Eoaaj/ZiifEF1/1IKYlfOfjq1ePa58Gp1gv9qB7iGB1seJFp5/h7DMlTOI8Kj1k+mzHbFtRcjj4BFzaxgPf8yltuJPICXrgM62dVzYKyoQ1d2IyuJfZq4lBIwEzvxzcsbagmtrJadVhB9pyDilK71H40po61f+HrOta+Ma5kg0krXN5q3Fqw5E8fp+uILQpp66ZZ1ACmG8W6aNn6OhZKYJk/yLiRc/oUiSMmgfFOtcncbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XeXGTVcHgF7X4cKMPCT3ggHx/1ZYgmNqa6l70EwoJes=; b=j3XaGgfge4hMXoPxuN/rTamR0idugsN3++lpYPbpLwmmmQlrokxO4+VA+L3whl7UtdOrC8fBaxdsCxv8FfpRM0d4ZOzohfYC0YDkfcpHbORhwdw8QtwwT2jTZQdoWG8xDRD982a7n7ogwuBIOZjpKDxTl6sWPBX0yzfEDCOfl5p/VXlCNCVy1GzLCp/tICKNGK/3ezbLrznMCJFcYyCPeqqlWKaLx3LWuB+2At+SSV8abnBpa9fN0Wljn2B8L0047NpjlOTD7rPG+Lg2eW5NyoWOHYGRDkiQhUficaQcKae3LrTgwjSQEc9WQ6zlwU7j11epAxCynfyIDyHRBXumbw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from PH0PR11MB5784.namprd11.prod.outlook.com (2603:10b6:510:129::22) by SA2PR11MB4794.namprd11.prod.outlook.com (2603:10b6:806:f9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.19; Wed, 27 Jul 2022 11:58:43 +0000 Received: from PH0PR11MB5784.namprd11.prod.outlook.com ([fe80::a46c:7c4e:dead:27e6]) by PH0PR11MB5784.namprd11.prod.outlook.com ([fe80::a46c:7c4e:dead:27e6%3]) with mapi id 15.20.5458.024; Wed, 27 Jul 2022 11:58:43 +0000 From: "Danilewicz, MarcinX" To: Thomas Monjalon , "dev@dpdk.org" CC: "Ajmera, Megha" , "Singh, Jasvinder" , "Dumitrescu, Cristian" Subject: RE: [PATCH v11] sched: enable CMAN at runtime Thread-Topic: [PATCH v11] sched: enable CMAN at runtime Thread-Index: AQHYmFpZDpeYCQeUgUOF/X8zkY3QcK2Qu89ggAFzJSA= Date: Wed, 27 Jul 2022 11:58:43 +0000 Message-ID: References: <20220708142245.206968-1-marcinx.danilewicz@intel.com> <20220715145110.592908-1-marcinx.danilewicz@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.500.17 dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0aff0166-fdf4-4604-4aff-08da6fc75acc x-ms-traffictypediagnostic: SA2PR11MB4794:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ihQIEagJzVBsAENFGMBbsP258+k9QfJV+Fb7gWv++BIlFVUlK/ofAwJZvHlNi1aEwibyeBqnV1vrJZd9NcfNDiOqcjUwOOwoYPSQ0EXtLymLT52n4WCB7npXY7Q9oYmA9my2Ez6L1ELrpqi1s5DRNiojbrHmwm6JnxT6vQ1QkwTIKSFCorLCls65LQX+azUeQch6TCFPx5kFA2nweR7i8uj4hFPvADHKOwPNnNrXP1awgXngwEeVUbU//sXD01H+TRDVVLyF/UUStd1+vS6A76vbL2copJuVNRczcHUumYIrCuQm/jaFZo3hyEI9d54IeK48J1fx2v9oiJnSnsjfq+++4Zjb6yX4lJGyDiF79qrhH3ogtLU+az8O1hCZObQll4hwt66mRfvrNAQHwxn0YSdoeVosjJxMoZAhehYja6BAIz+oREnUIJ99gsZ8Rj7PZgQp48eUTSQfWwr4jsbNr7U02VMnLD/zvHcFlcZkj2LCDyd4LUOP3J13FBakEP8UIBe+2ITwCkU3C0YGRNzSi6P7gFoRA7JuZfNvm2MxchiBf5pfKVnOqHQIWg4o7Ml6CTUbBlgJAoedgykuBiwBarvykTPzDaeBA7b1wABCYx9x38na+HEFKwIWbGPzTCt1EVxPd3q1IbJK7utW2mJprlF1keVjOadFDXrTAuVYlqTt3CmKcZKW057vVPsOFtPzvNGuAulXD0QvVQkkrX2w3D6irMm2u4GYmYpPgBcH1RAHBZF1ZzVIqZZa7OYBpJL4Q9DnYJSUlQ0OhvHq50+leKin4kPfqa+QwBxZpPDbRX9PUPxEd8EBomQVwxn7MHxW x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5784.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(346002)(366004)(376002)(396003)(39860400002)(136003)(6506007)(55016003)(107886003)(41300700001)(86362001)(316002)(122000001)(478600001)(33656002)(54906003)(38070700005)(38100700002)(83380400001)(2906002)(110136005)(7696005)(186003)(66556008)(9686003)(66446008)(4326008)(8676002)(66476007)(53546011)(66946007)(76116006)(52536014)(82960400001)(5660300002)(71200400001)(8936002)(64756008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?HbUo7KHPJYexToUtx2cYIEszFTnbJAGEh2ix4pwCni7eJrIMWZf0EKehVdO2?= =?us-ascii?Q?gvye359hoxe/xDKloazWYqSd3N3/ZEmm07IvG8k7TGST1B72MquKvQZ7gQJ8?= =?us-ascii?Q?Xsp3z4cw4EweODYbmHezaQEfXV7DbRDe1ost3iYXhlgRyk3N+yiDCv+2QFdx?= =?us-ascii?Q?GCF1liteCL+D9QVM5QVZdYnuRuyQa6loMegRnBgBE7JmuASPapjMn+/DF5TC?= =?us-ascii?Q?IB4LxPdm/1r65sOlshPZWiZwIo6UoxWT7GhE1CqZs9y3njyDq61R7WYahqs5?= =?us-ascii?Q?4JHyF0BHATMy9tR9m+CeNl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ii?Q?mZUDimghN8oR2couDix5txNnOOV8pkGZOjsOnHUH8+FWqS67i8VaO5gmYnZj?= =?us-ascii?Q?js+QPfnLi4HljuZltaowXXANB/nFqMowZeq/6WhETiESivIUOeqT6c67YoZV?= =?us-ascii?Q?SmVyH0UNIqkEvKKrlgqoTlab6M0DS/WbbhtHKA673C8pegh9uvA9iI5jfYLB?= =?us-ascii?Q?G9d64XRU1JrEvC5U1UELY9indtS8Idgv/QEWCHZ7CrG/dkWQf3bZeXKgv+BH?= =?us-ascii?Q?bYwwiPYcOdswxi0JZMrL8otkI/Obta7/B9Zk8ucx0a6IYeMzEQBGJMB1mMZi?= =?us-ascii?Q?GrDb7L+9Uj1gydI88nnRHxFvIWsFHC62ZwRHyLxtyJ1zhJ5KJjyGEEhoIwxj?= =?us-ascii?Q?4K5BlyQ12S2vaOW6VbL8LQnGT+qnFSkBnO1GMx4Sj7WRLAMrNiPRejAh51EW?= =?us-ascii?Q?MAxqbg0AvPhUBmB6uShfhV0ydYfRDbn5+pZGMiom6l74dOAYycZaZOKxazEQ?= =?us-ascii?Q?tiWGJA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5784.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0aff0166-fdf4-4604-4aff-08da6fc75acc X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jul 2022 11:58:43.8390 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: m6J2M8v9f4q7z8ipk8DZmqlZc1BZt+6dsnPeDBo4VHrnTZM6586z+rX8fy/i1UHy0aV/+Mjon8sxqFKQT0yKUs8wvTWDmbO0D8hSdlWnHvs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB4794 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi Thomas, Could you merge this change with the latest DPDK?=20 Thanks! Kind Regards, /Marcin > -----Original Message----- > From: Singh, Jasvinder > Sent: Tuesday, July 26, 2022 3:49 PM > To: Danilewicz, MarcinX ; dev@dpdk.org; > Dumitrescu, Cristian > Cc: Ajmera, Megha > Subject: RE: [PATCH v11] sched: enable CMAN at runtime >=20 >=20 >=20 > > -----Original Message----- > > From: Danilewicz, MarcinX > > Sent: Friday, July 15, 2022 3:51 PM > > To: dev@dpdk.org; Singh, Jasvinder ; > > Dumitrescu, Cristian > > Cc: Ajmera, Megha > > Subject: [PATCH v11] sched: enable CMAN at runtime > > > > Added changes to enable CMAN (RED or PIE) at init from profile > > configuration file. > > > > By default CMAN code is enable but not in use, when there is no RED or > > PIE profile configured. > > > > Signed-off-by: Marcin Danilewicz > > --- > > Log: v2 change in rte_sched.h to avoid ABI breakage. > > v3 changes from comments > > v4 rebase to 22.07-rc1 > > v5 rebase to main latest > > v6 commit message fixed > > v7 changes from comments > > v8 with changes from comments > > v9 changes from comments > > tmgr.c > > cman_params set to null > > qos_sched/cfg_file.c > > removed redundant cman_params to NULL assignement > > subport_params[].cman_params assigned > > only when CMAN enabled > > v10 removed ip_pipeline app build error from change > > in tmgr.c > > v11 added cman_enabled flag instead > > of testing cman_params.cman_mode variable > > --- >=20 > Acked-by: Jasvinder Singh