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 5884DA04FD; Wed, 8 Jun 2022 13:59:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 47A4942BA6; Wed, 8 Jun 2022 13:59:15 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 98BA242BA5 for ; Wed, 8 Jun 2022 13:59:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654689553; x=1686225553; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Wq6KAyxtjoNtm68hONas8mbFxIwjxKZMA4h6LEn1Btw=; b=Gs4TIFKKUbpEKf0aGTbgcaYjy9LQaqYoIE8Vw1T0fb8Z+iF5IlFN4Uz0 /vsdaRLClwl13lX94zUbTcjLL1UXand/Bz4mVMJUzzkAhsTzIV02vJ+sj OV06cD36XVQka1BcYykwf9pSzMJq8jN580hNwyC6XtBjMuFG3WVroKYfe mRNy9YUvQE8lMtAEBO9XQY9yfS+3kg23quw4BLmZlzjvvm/abmGqS69qe Xyr4gDtdxNPA1ZZYgfiWsU4+J3jAUmjNpTnQRuoRUGpXXEMrG167BhgwN 0547B1KHbArdWcL3UxcKVlsU7MXRbB9yMieXvsBh+MRgtHOjZVwpNATL1 w==; X-IronPort-AV: E=McAfee;i="6400,9594,10371"; a="302227939" X-IronPort-AV: E=Sophos;i="5.91,286,1647327600"; d="scan'208";a="302227939" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jun 2022 04:59:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,286,1647327600"; d="scan'208";a="723826392" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga001.fm.intel.com with ESMTP; 08 Jun 2022 04:59:12 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 8 Jun 2022 04:59:12 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Wed, 8 Jun 2022 04:59:12 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Wed, 8 Jun 2022 04:59:11 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fC5o3Or21oWlUwCnBAng/4fBl2A7rUBAstVgMRWxjwfglWP+3GiBn1hfG6z12fW/xd3BNDIw0KwPmN5aRN7Q9MOZAReUO4np/h+gjtNuRbBaWR2OblZ8uPonXXwKE4D5VLpbfB/bhnWw+qb29OalTvoQnVtCevaxmh4gy9BReVoqgsCG0UkxNbmHYYD9CE68E1mp+kWQcum+P6DhoZLDSJKlrucD0Zk/gCtEygOeufsKLpVdZjCAR6EXrm/ogCUMqDDaqITGluyZruPFWZXDhEkDmZy+xvgTI9TL/O58Lzihobpg6e/8HieV/P7lovBF2Fv25lh22NGkrvy8XcY0Eg== 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=T+LLc6otB/L66+KpYlQrCfs5AFGiLLXOQnXubGiDRpk=; b=FMUceYH8NZ6sGqLAl/ZjzhMsa6pAr3CCXxtYUJG6mLPCZFLYB2vJ8y1ZOtNu+0NQpmJe17YgYIvOZmecr9xyXUlLP3EC7wvyP/C/eTIJFI9hdYNaSyroHIBVYEtJVdV+n6uWX6J7txw3X1TjcJap96DKlUMkYPoN4nQTbdSDy/bTm1fp+gbx1RgAsbpScMKo4zN8lC+OzC36He1VAZRrGKYAuQvX2P0mlwrbBc0vtDQLECyL84iOC3LbrkAq+++8PHboF5pMvSJd+D3bwju1a3A/mP8h+AMzKP4S2Nkj3R2m9FoA/CbVlcbEei4/IQJqhNN7Maa3TI+N2ObdlQPF7g== 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 DM8PR11MB5670.namprd11.prod.outlook.com (2603:10b6:8:37::12) by DM5PR1101MB2106.namprd11.prod.outlook.com (2603:10b6:4:54::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.15; Wed, 8 Jun 2022 11:59:10 +0000 Received: from DM8PR11MB5670.namprd11.prod.outlook.com ([fe80::89de:bffb:b66b:516b]) by DM8PR11MB5670.namprd11.prod.outlook.com ([fe80::89de:bffb:b66b:516b%8]) with mapi id 15.20.5314.019; Wed, 8 Jun 2022 11:59:10 +0000 From: "Dumitrescu, Cristian" To: "Danilewicz, MarcinX" , "dev@dpdk.org" , "Singh, Jasvinder" CC: "Ajmera, Megha" , "Liu, Yu Y" Subject: RE: [PATCH v3] sched: enable CMAN at runtime Thread-Topic: [PATCH v3] sched: enable CMAN at runtime Thread-Index: AQHYexwU7KhKCVzCsEuaasIEyZXoQa1FZ9cg Date: Wed, 8 Jun 2022 11:59:10 +0000 Message-ID: References: <20220512131036.507178-1-marcinx.danilewicz@intel.com> <20220608094220.1015411-1-marcinx.danilewicz@intel.com> In-Reply-To: <20220608094220.1015411-1-marcinx.danilewicz@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-reaction: no-action 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: 573bb78b-1076-4c0c-a4bf-08da49464c8b x-ms-traffictypediagnostic: DM5PR1101MB2106:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: t6qZQ6Fir6N7RSvVWn0LNWLXOEZ+RlRc0XRRlJQl81TojzGx3nP7sReydNRHd+mxWKlpk+TF4Z6Cs5Uy3LYqneBW06ZR7m/aep61VjOoxZk6G/YPFqIjce2fGpv/9h1n8O70YYEibt9Bu5LHF7M9Mh5NhSYW4+YuxMXtkqtzIpqHG0Kust3PXZYwwPonJy8ODya7m1VJMHfiqJ3WHF56/jrKDwpPLSXCUrenZTk5HpulU0GLhvfU3MSff6OT+kUkW/dXi+yeRJvGvlIn2pySBhPh+b3CRcpx4zf7mN/m/p4mkcGYYV84kgqg7B4fhPDgGSSs+3H5A4M/ZleJsh87cSpjWq9Bv93elqmTXo7s0qM8JmTTC+BYdSW2zJ114OETo0uFnXlP1ANX+TsTsSvPN9P4iUDGWziSExztpDHA/X37HPr9mBtfnMQOU9+6Ed1iCliv2qZIM0ukN33D3CynoRfhtJ80nmEDXyVF/pFe+fMsNdMlJnjl6zfbOjoDoari+HoRe2lyUPHrmQsZeYCGQtu7Vb8/D0wvPsvCbxKsyfnFaN/oFSuBGQ98IlhfnIRhQxWhZqYzPuK07WjhxR5OUbTotqB9/SadD7qzX3dRu7Cw5Flv+353pLmt6xw6nC7HBtf/xIuAuy9tjSU8A+094kkI6sr79xuqtkjwb3RpqQiQ5mnhIY4aRyuozsomL/PHVCy+EdXXobcyh4qkq4dlEw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR11MB5670.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(66446008)(76116006)(66946007)(2906002)(54906003)(64756008)(66556008)(26005)(38100700002)(316002)(6506007)(7696005)(38070700005)(107886003)(9686003)(8676002)(4744005)(66476007)(53546011)(5660300002)(33656002)(55016003)(110136005)(4326008)(186003)(83380400001)(86362001)(6636002)(122000001)(71200400001)(508600001)(52536014)(8936002)(82960400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?dNPU1YcxRaXls+DpucWIsOR0e4zyRa+x6PYQKmCQqo8ZOazAWb3KMWQfWeS6?= =?us-ascii?Q?5WaL3UVUsVPvsqe272J+x+mRDafSrVyPPLOCLLIPygYrXFeNpp7Lh8bzpJWN?= =?us-ascii?Q?JsHV3ENEozVSUpMrlH59wCpjFmgz8iaRlGpccN4ex3Wg42Qh1bZi4Hf3KcOw?= =?us-ascii?Q?b7XTzJdx0SXR28N9hWkPlYpGb3JEkUqx+JbM8hVdINVQAmOyhW+4gI1JJ6C1?= =?us-ascii?Q?eT8Y4YTKhJcmhlyEKE0FbAJZfRJb9TQBwGULwpG3DXE8J7UvujPr7EWGnr0Q?= =?us-ascii?Q?3ud2bXEBvHDVwYpW7BVMqCMtTVmm2pJQkMvTYY+w0qr+qd1Gv1+KbDf28Y0I?= =?us-ascii?Q?E763rxRARmOXKk5HmWJl5Ysu44ri6AE4CGX68JyUC0ykd3ow5hCPYmN9LnoS?= =?us-ascii?Q?mnTSCrVo6VsFldhrcGU4wKfu3815lzqOQNce2ov9Fw60EhHd4/8CkIRFoQv3?= =?us-asc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OHmDwIzazZARSYycc?= =?us-ascii?Q?Xrpo5Dzbus+2M6YD2W8Yz9tx77+IL7FhHlJz/zLhBY1nJFe7RaA0ehZ+ICDq?= =?us-ascii?Q?2SrPV4aVgxAcK6pRpsA9SpP/D8ysxBG2GIU2MacSAKXVXvTh9CDb31RpKRt/?= =?us-ascii?Q?MVy8z7kl1Cc51GfYQlniCkiNAkpR21k+rv2manWp1ApQWjxqkwdL1bU1wlaS?= =?us-ascii?Q?/6cxfzgfxB+95TCjqOSLseWgFb6AzQUQWqwyI983hBigSefGWE2TN1GDXJnG?= =?us-ascii?Q?VUE2mZXb9NXvcRctm4tv3ESAx6TeEDItRmv2c/rOJ0UXzdZs4gfDRUd+FkoG?= =?us-ascii?Q?i3u373RqVwn+wbf9slPc+BX6rbn5v997RvfgIPfRQ+1A700N3PA7DFW2xft6?= =?us-ascii?Q?N4ddAs7obfW/PNMpfcz4Aq9sYICVjvo=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: DM8PR11MB5670.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 573bb78b-1076-4c0c-a4bf-08da49464c8b X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2022 11:59:10.6636 (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: 1r2zNw02X97sxYnD0pKAOVtx07cZ4QtScM5rAnJlsmD0QwkIp1hkTDuqdSAlqqeHjpWhQcJQ/SARLcEiV7FTJZsv+Ge6wBRlhTDgONCNun8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1101MB2106 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 > -----Original Message----- > From: Danilewicz, MarcinX > Sent: Wednesday, June 8, 2022 10:42 AM > To: dev@dpdk.org; Singh, Jasvinder ; > Dumitrescu, Cristian > Cc: Ajmera, Megha > Subject: [PATCH v3] sched: enable CMAN at runtime >=20 > Added changes to enable CMAN (RED or PIE) at init > from profile configuration file. >=20 > By default CMAN code is enable but not in use, when > there is no RED or PIE profile configured. >=20 > Signed-off-by: Marcin Danilewicz > --- > Log: v2 change in rte_sched.h to avoid ABI breakage. > v3 changes from comments > --- Marcin, Your patch does not apply cleanly on top of DPDK main latest, can you pleas= e fix. Regards, Cristian