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 0A53DA00C4; Tue, 26 Jul 2022 15:49:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E24BA40E0F; Tue, 26 Jul 2022 15:49:31 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 8B1FE40697 for ; Tue, 26 Jul 2022 15:49:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658843369; x=1690379369; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=eEZS9V0iiDORsfqVhcAlibkbHAmP9yut6oz+3h35PG8=; b=f6ae9ZzfLsrIe9g/3fwEYiCt9pwV/exMiYGbhjNnZ7KZcuG1pec5SMub kk4ydV0Qf/lnXcYoWSGhhCwWrREYLmMKFSyc+wHmTtIDrdZOmrQtw79P/ e9s6GT1MH4vGtq1DAWStFV3ABCfHzmhi1EtGaiTyghDOdl6sD0uhc+Nj9 HudHsbJ/aXP8VYcaBlT3E3Z5PjZ840AUckcKumolJU3oYbHiqbxJzkREE KXLb/9KN11IJ6npCdPnAdKwegT4qibOVDrR2c5/PdWl6D6FimNyMKhPpH kXHxJWnRtFch3kNJU1fFzyW5EPfl+hONc3CN8n7xfyslSb+PFhSiPh2mi Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10420"; a="285505701" X-IronPort-AV: E=Sophos;i="5.93,193,1654585200"; d="scan'208";a="285505701" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2022 06:49:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,193,1654585200"; d="scan'208";a="776310639" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga005.jf.intel.com with ESMTP; 26 Jul 2022 06:49:09 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Tue, 26 Jul 2022 06:49:09 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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; Tue, 26 Jul 2022 06:49:09 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.105) 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.2375.28; Tue, 26 Jul 2022 06:49:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eV2ZxTOewsUuEKtBdg+xC0OF7MKICp6Y7iZ60/Px0CwPzsmm8a4I7Naa+aKyEALZVk2A0PJTxP/AjLFuu7sw6exF3tc0ZHWcmqoj7UTKGVOncDfEJe/PEX5Cdj0VRXMShi2YoRo9p/YhF+jDsM/C4yWuQybSvjKsjmWdgG+fGeCUT0SfdVzWhptUORwfuosb5YxygNxMiLOk+HIB5Yf8mdpPGOwvtb7VyxcneWnJoYj6/AC7UuhFMD5fkwPoATkOerb7Y01G4rsdTWDMMUuasX4WiPU4fX4SXvRkbdCYYRhAtvB6I0JsYSCjEXGBfcc2UYLFeXbvtpGkIyCiTBq/sg== 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=WQHoX3SC8Ii4IxB5VJZjea7gqIf2s0PcmUVQ52m3Jlk=; b=GdGlcuAi+pecHYDvx02QuDazvXAoxyra3ixs7oOKhax01WI03KYa92M4WvHvz8iRau7G9A5ZuomztPqIJC4Q1uif0tbOEzsudEEvaIgoS6O61D1pGclVbxOTjxkwkY291EIXWlrRPTnmiGh7NpUT6SBMzh5tdSynlkU9Tz4QW1SyJ0+bnA1cP9xshBzSgyPMYAxaQu4qvpf660MlZisbToWdUnQH3rgq3wDPxBV5DS41k35a7CgtTeb7FX+7dcPwrUD5FgaBrNxBIFiTq0wDinbIUkEmQz71PqH419iCmkwo7l/5qY6efNb/rJhMX2Y7ollVqzK1Od5jS8qDH5wxmA== 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 CY4PR11MB1589.namprd11.prod.outlook.com (2603:10b6:910:e::13) by MW3PR11MB4555.namprd11.prod.outlook.com (2603:10b6:303:2e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.20; Tue, 26 Jul 2022 13:49:02 +0000 Received: from CY4PR11MB1589.namprd11.prod.outlook.com ([fe80::d8a8:752a:a43c:b7db]) by CY4PR11MB1589.namprd11.prod.outlook.com ([fe80::d8a8:752a:a43c:b7db%10]) with mapi id 15.20.5458.025; Tue, 26 Jul 2022 13:49:02 +0000 From: "Singh, Jasvinder" To: "Danilewicz, MarcinX" , "dev@dpdk.org" , "Dumitrescu, Cristian" CC: "Ajmera, Megha" Subject: RE: [PATCH v11] sched: enable CMAN at runtime Thread-Topic: [PATCH v11] sched: enable CMAN at runtime Thread-Index: AQHYmFpZDpeYCQeUgUOF/X8zkY3QcK2Qu89g Date: Tue, 26 Jul 2022 13:49:02 +0000 Message-ID: References: <20220708142245.206968-1-marcinx.danilewicz@intel.com> <20220715145110.592908-1-marcinx.danilewicz@intel.com> In-Reply-To: <20220715145110.592908-1-marcinx.danilewicz@intel.com> Accept-Language: en-GB, 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: 9d088a34-d152-4745-796e-08da6f0d997c x-ms-traffictypediagnostic: MW3PR11MB4555:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jk9+cnu4EaoOq4TPURRGI2E0algFS0Q/yV5gC3gB20DY4QiSYMVqrNNje8TSGwmhjMbTzyASJs98x5Odl2XpUyjtaQZm4eQUqaMXItyVchS3sz1iIrzVco1B0llPxKkwJUV7bllStgBZbpPcZsRbWd6BsFCrYEomExViBiAyPZ29Gk2iJHGqkV60WnlyNaZU+vA9MBo1NvY16ziNxinvJayDEtU2LMB2Ij3iZyP8u7HKWa30rbDVl9AzFa1rh/ryDHZpFc8MnRHPqpVcoFb1S5Wu/c22FPQtNrxcj2Ue2nyiQeuQZkCIBcHQnJQiYX59ldIO4RavGiB+zD3lapO+KWLqGVldxhTmFuDLPHMI68t+ofWDdsOXyqzlsRNsKEPbzwfqEno+LQvHtBu4CJlPXewRdNrmaF4XsjG3nWnGgzcycCegytEKwGEVc+LHtWXP4eopFCj3tWL2Ey38+MudNhjoyFEr0ns9kK2tT8g206VKWFZSRoooR5lcfznKhvNpcv/1VClrjvx1zesSBc3fyqI+hXuYPeX8P4DUfugn98ThiLwI/yyJmkMWrGGlx+rfxqJd7DXElI9mvYzsFWcfVJKSGYRp815yJwBa/HmUJ3X4Zt6+qHbwMQm9mJXqzlRJn6AQcSjiS1nbXYgpMT5rl6eyDQWFz/9LJykd7W22VtFZBzDU885pbntPj14bdS/97Ppm/K6Kg0cUIDXP2TkXhzyBfJX5bZOvoKZV/1qM31V7L3LoplTeGZUoIcYE/PxiP3EgY4LFkK4sr23osjKDGeu5NObvat7ZYXqAJnAENRz3f5yfQT5TsJcJ9nVgVIyY x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR11MB1589.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(346002)(376002)(396003)(366004)(39860400002)(136003)(107886003)(316002)(52536014)(8936002)(83380400001)(55016003)(71200400001)(41300700001)(2906002)(38100700002)(5660300002)(122000001)(478600001)(6636002)(9686003)(26005)(110136005)(33656002)(86362001)(66446008)(66476007)(4326008)(82960400001)(53546011)(64756008)(38070700005)(8676002)(66946007)(76116006)(7696005)(186003)(6506007)(66556008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?yCl7W6s4JPHPDhqWmoIuFPRcO1oZgol45IVYFfgfl9AHCvHonnIssrN/A1cV?= =?us-ascii?Q?rPxvaEJofV7X2yr/r7QfFQ6Js2H5HO33z0Holm47KzMi3L9kJUQ6FC6pLjyb?= =?us-ascii?Q?lATYlEhjipEiYApYiTzvscv7tAZ8RDBoho1yWpUuLPiQmXNvOBnwbZiJsxy0?= =?us-ascii?Q?ECwHaxhMdLO+PpC87wnrUZYWRu3R6cX0vtQz97KfLhTJFXfJZ3W6Qa81mTK0?= =?us-ascii?Q?wwFMS/Yeo08F8DAjcuh1SPGfY9ruJe25c31TzfkXd0sjE5HOAWHlIZ3zt9B/?= =?us-ascii?Q?9uVxdDiDhQjU+BorpkNuxDCN53Atf0a0gHNh5UI3uZSZu/uktSOXQ7dPNqwo?= =?us-ascii?Q?8DtmdhPJsSZq+HKycxieTKG7RYOjbeDy5XWhcBBc8x4bR6pncyH6vdhdue2g?=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bNd7Pi6dBXaIkmoHPFGA0JdAkNoJeqOOf2Mi7zl?= =?us-ascii?Q?fIlGWRxRQmDWGniWRr/pWW1EVd8Bbt9Kj9ZcUeapPLHjzV+oAVdKQBRK/ixW?= =?us-ascii?Q?AVXakmGFdEyrffxY4TW4eW5PpuGS2FxXwYAxR2JvPwTSLJw6Bn3N+fCg5JCM?= =?us-ascii?Q?c/nIJhfZC3DMBVspxxPCJ43IrHiOv6W9MoICf9b0oECgMJC72HyVzrx0Kfnw?= =?us-ascii?Q?EIS0K8KSELP+pQxHRYLGaCZSSCVVXZlLs8zwfk21Pad2nEjrU1H8Tw09HKTd?= =?us-ascii?Q?r/+fcv/g48xdiDU60S4xfSaTINjD65YkvHVCLw+QsAGWtVkV695zdT2FNxQ6?= =?us-ascii?Q?Yg=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: CY4PR11MB1589.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9d088a34-d152-4745-796e-08da6f0d997c X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jul 2022 13:49:02.6519 (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: 6WdLxaEpaQntS63I5A+w/BBOXXeklTnXSzdA2Ox1owweIWu/ackkYH6WgUUxAkhaOhTOq28/vlLNONjOYBbpCGc+Uyn0ojKblocbzM4IuyQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4555 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: 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 >=20 > Added changes to enable CMAN (RED or PIE) at init from profile configurat= ion > file. >=20 > By default CMAN code is enable but not in use, when there is no RED or PI= E > profile configured. >=20 > 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 > --- Acked-by: Jasvinder Singh