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 39769A0545 for ; Tue, 11 Oct 2022 16:23:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F64942E46; Tue, 11 Oct 2022 16:23:01 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id DFF3B42B7D; Tue, 11 Oct 2022 16:22:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665498180; x=1697034180; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=iw+UTaK+qmojFjS0EU9d+28Iwpl+Ihc+IAs5RAND1cg=; b=mi5etikgyKTKyLtnSsoFGVxdB6SAF48CKVr+54W+SzlsoswGYhgxTEwD JLNSXq6eh0bgxwqjRySraHPDn+PtrC5Oyt/m6vJDNVf53tvuiKulp/6dc +85c+oB++2Uv5gdq4SPR50tOue/rEt98W/XtkKLrOg06+zXet0bEyUC/z VUOOo75yuc00XAhFoKB6/568oWdF+cnSRwgCovUHrjt3l10N/wMTxWY3a qLnk+zDwU3UDus1sVjx2T/7TvKK5oLmBHKOiD++lSn8+ucWdo+QdPfjHa lWA6iLhuaDMgbj+++auTppanr/uBOZfK8+jQ81B0apcN0NSopGoGEWmmk A==; X-IronPort-AV: E=McAfee;i="6500,9779,10497"; a="366507287" X-IronPort-AV: E=Sophos;i="5.95,176,1661842800"; d="scan'208";a="366507287" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2022 07:22:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10497"; a="715526043" X-IronPort-AV: E=Sophos;i="5.95,176,1661842800"; d="scan'208";a="715526043" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by FMSMGA003.fm.intel.com with ESMTP; 11 Oct 2022 07:22:58 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 11 Oct 2022 07:22:58 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 11 Oct 2022 07:22:55 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Tue, 11 Oct 2022 07:22:55 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.45) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Tue, 11 Oct 2022 07:22:55 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JrMfxv78sIzyPIG+lBnUKiDap3l8HngCPuKlfoC84UPI8l2y88rd3NP3ye0yYRmGrAOAJJnY6fg1KPNnG0JakZMdYktZnLtMAddtEvb5GM8U3Itwr/JyxaUGbSInM+UyMKNX9bRwaBJLU33VxO+il7JBZj/gAOGV51snzXZoJpcv/JYfteBUJF5jSzdJ7HleYzZLMJpUMXXB7+FuB51aGWsjXJizLP7Fmc+iGrb7zLaje/XGlkEGsDEfi+u0C+GDu2iuCbUuf/SECmJfJb0jyi6rlD4u5sQSxbqGmhU6vLT7j0ifPz8+t1lHbMYkP4f7bAGRDAhlx9VTqIU9fW5Y/Q== 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=m1MDEh3PIhjPE7ecdJ6C+VOm/C/uy3nZXEWqzpM86gc=; b=dC2e1+XMdkMnWPakPadTpAb8HdJvUJKy7mkz+C5FDxvcLj8t4tgi90Om3ox249JerHKr0HUOS0TeTCgfsG/wv/eTRCa5zPECbAoY/SFUNph8Wkh0p5ZisR8+ZvnFQbcj1z2dak6Y/unvkF9FaAowi04RLOqzNN0xtjCpkHw1d1rIKXRUdI7G/uwGFa0cxSqJJWCgUHFcq3mZfF0aI73XXPRUf3mu/KW/SHsA9wKwgSvRu7bzgkPR/AtIsm3TQJidhXQCOUgRNSdliK16ENtoGhQppllaEfoP90MBKAkPOX8rUQnjC4ry/hOz7tqNv9hEqtOcpQzk0+KPpVN7ekIHRg== 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 CH0PR11MB5724.namprd11.prod.outlook.com (2603:10b6:610:101::22) by SN7PR11MB6702.namprd11.prod.outlook.com (2603:10b6:806:269::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.15; Tue, 11 Oct 2022 14:22:53 +0000 Received: from CH0PR11MB5724.namprd11.prod.outlook.com ([fe80::e9b2:d565:bd40:1152]) by CH0PR11MB5724.namprd11.prod.outlook.com ([fe80::e9b2:d565:bd40:1152%7]) with mapi id 15.20.5709.021; Tue, 11 Oct 2022 14:22:53 +0000 From: "Dumitrescu, Cristian" To: "Ajmera, Megha" , "dev@dpdk.org" , "Singh, Jasvinder" CC: "stable@dpdk.org" Subject: RE: [PATCH 1/3] sched: fix subport profile id not set correctly Thread-Topic: [PATCH 1/3] sched: fix subport profile id not set correctly Thread-Index: AQHY2bZd65jpVfLj1k2FlSLwnEelBK4JReWA Date: Tue, 11 Oct 2022 14:22:53 +0000 Message-ID: References: <20221005172239.254327-1-megha.ajmera@intel.com> <20221006190038.431828-1-megha.ajmera@intel.com> In-Reply-To: <20221006190038.431828-1-megha.ajmera@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-traffictypediagnostic: CH0PR11MB5724:EE_|SN7PR11MB6702:EE_ x-ms-office365-filtering-correlation-id: 0ddf934d-c08c-4f21-1aea-08daab9415e0 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: em9038li06GJXw/GsAnX/143NXlvfTdHUREcr0eyQ27/UdaLnMuchZedpcc5AR47QCVz6LzkbT3I6N73ipTvcF0dI2G9AcP8TavFCfd6bSxkBgiuTZtOG0pwJ8FPdczBYtRe+o7IVfHk6ARDlMzOFiQE8VQgAZJlI8gLR90AzGD13lunE9h6XHAuBoO9Vlm16SrFX/4HWLQHJo4iUW+yoVNyXGOklwZ7l3ytH/gErOPf9yMkqU14l8fFiuJA0m6biXGNjbxnlHHNKkaRjnJpxfCV5+qPEebT3z7mie1yk8gP5qBFrknNr2AuBsionumluJ0Y3XRSztRWGsuCEVUgHJ28QRJOsu1U8o+Lb+XlOI36fPo74fB7r/SW1cUjhuYWfJSz8MZ9OmDiCHFbs9JniTp9doctNQjgCnWmW+9ukOTcTvzdaBnjKxMAaXOIfGp7VbwQPxjridnR5f7H1qrEKJGurtXDZ0iW9/hSNuVi01zP8TOHlktH18ZFju8xFlfZG45M3JyhQx8aU9s4Ufinb9TfnYbKuym+BcMxntTEClZGORwDTCHFsy+c9iZzhamby+wEkCtoU6pvznhRf0qnBsUlIb+KrgLnoniicwb1vpFSPMpzRk9lCKcsU8OV3Qgl93XsxcRHxupEM2F5sXSGyzrDL8om7wlfSNE47aSONWbhmrwstKVxI2CJQVYUTz8Fcdqoibwb5NbAk6GZuiFU4sK/B9TmnE7Ps1fB0dA1bztUPIb+CBGVdlx9kajS5Oxro110x7wOPeqnCQkZyJku6g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH0PR11MB5724.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(376002)(346002)(39860400002)(396003)(136003)(451199015)(26005)(9686003)(8936002)(66446008)(38070700005)(71200400001)(6636002)(82960400001)(55016003)(38100700002)(186003)(110136005)(53546011)(86362001)(33656002)(122000001)(83380400001)(64756008)(316002)(6506007)(8676002)(76116006)(4326008)(66946007)(52536014)(450100002)(5660300002)(7696005)(66556008)(66476007)(41300700001)(2906002)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Q0YCzFsVzlTuYdLEhbJsiLq5mDRVYkHnkvPV58iqih1gfF2GqhJfUzl/66cK?= =?us-ascii?Q?U4aOEuL8MybTnM9GmJxjE9+B60Sain+TQ2jTSATrAv9hSr5obhEyEazL4I6s?= =?us-ascii?Q?MlgaeRWMOoWMYh/uiH4mOTuTtYaEhGYTlcQvekjj4iQpRjWJN7Z3hYM2V4R6?= =?us-ascii?Q?zoT8y1elLAQLgoYgdiR/u6kWeY5dLoi4VpilIgWHlizX08/gRigDYPusFNsZ?= =?us-ascii?Q?2vYSmsDOt4UpoCNFBK/YWImxSO8jazEeDKN4vXJDQybGt2X5lZ+t7ElCAU8U?= =?us-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f7Of0/l3R1VlCYx7P7lzsb4+jOca7?= =?us-ascii?Q?3nsoysi6ydhLEtEZscmH3qVvLgJmLyi5gzAhr122Xm+TAeJGty7nKYOFlaQv?= =?us-ascii?Q?k5WFfHEGfq1dI2CtLNPFzvw+2hBgTXmh3cTQ01Wf+k9yPkoXbmCw5QRPDv8B?= =?us-ascii?Q?zPkHRPWfGaUo66TeGgifM8GdqtSUebb4b1GkXYpM5gMoVeu6c20SNYLrwwg7?= =?us-ascii?Q?Tjnw+IvR2/dgChbHobL5CQPtOLr1RAXw5aeEKF+Ltbb45Ggw3pOPYJCGSwtg?= =?us-ascii?Q?2f5NXg/FhPdQJa3V0Qhb2cSd2F0eqO4OZb0pATVJmAizMpoh1eW3CZiSs465?= =?us-ascii?Q?8ptadQH2yfQiDk9s/sOvxxiCCQBCyU6gVi0Nmn8/86FeE3+6SW6xshEs18l8?= =?us-ascii?Q?j1zSiPOybSNucGP5L4LEG119iWqGBKynxE+cQgfOlZ4JgxHj9RKLCWfwVCNe?= =?us-ascii?Q?IQ=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: CH0PR11MB5724.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0ddf934d-c08c-4f21-1aea-08daab9415e0 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2022 14:22:53.6708 (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: 5+hDNfV3247i+FgVglcD3j3eixANH1jyZuHlkgrJ9EwHrYtbHnX4m10K/D9RcSw0letQbBF9nGBUcwYpa+/CQk+blNLerIJX9ms/RFg39DE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB6702 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Ajmera, Megha > Sent: Thursday, October 6, 2022 8:01 PM > To: dev@dpdk.org; Singh, Jasvinder ; > Dumitrescu, Cristian > Cc: stable@dpdk.org > Subject: [PATCH 1/3] sched: fix subport profile id not set correctly >=20 > In rte_sched_subport_config() API, subport_profile_id is not set correctl= y. >=20 > Fixes: ac6fcb841b0f ("sched: update subport rate dynamically") > Cc: cristian.dumitrescu@intel.com >=20 > Signed-off-by: Megha Ajmera > --- > lib/sched/rte_sched.c | 2 -- > 1 file changed, 2 deletions(-) >=20 > diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c > index c5fa9e4582..c91697131d 100644 > --- a/lib/sched/rte_sched.c > +++ b/lib/sched/rte_sched.c > @@ -1257,8 +1257,6 @@ rte_sched_subport_config(struct rte_sched_port > *port, >=20 > n_subports++; >=20 > - subport_profile_id =3D 0; > - > /* Port */ > port->subports[subport_id] =3D s; >=20 > -- > 2.25.1 Hi Megha, Please fix the title to: "sched: fix subport profile ID". Acked-by: Cristian Dumitrescu Regards, Cristian