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 AEE0BA06CD for ; Thu, 20 Oct 2022 11:50:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A35E442D09; Thu, 20 Oct 2022 11:50:58 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 03F3542C7C; Thu, 20 Oct 2022 11:50:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666259456; x=1697795456; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5ITX72APCQuVTlanoY6vQpzpkZZtMniIfc89ed8I3Hc=; b=NW2xJL4RbtP9rzFSvFTMkC2osPHvhT9ycBLCJnjXfHzadpo5zO8Cfkc0 ZXkKPd1mbkahemW+9J8sY8qgSFQ0pFZnfl46cgI6qePGSPY9Opf3epCCu HPqJksTUQ63attQHsXW+p1tfLCvWCzbJ2ooSEcTLv+t9f4CyLwGrfiZ4Y yPjFTns48ISlui/8TmDOkDK+hNxlvbcvgN0dDLWfIyb/2gINCqPlMUtnV a8ylYdm1xYyFk2CT+ORCsWtJvQzIg4H5tgy5CcSPR3jP/r+7WF+BSxp1t a88Mpf+4NqzkjFBXnXYAVtcNMJqiwCC10RDMVr+TPY0RXCJAze3Z8Fti2 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10505"; a="289974282" X-IronPort-AV: E=Sophos;i="5.95,198,1661842800"; d="scan'208";a="289974282" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2022 02:50:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10505"; a="874904023" X-IronPort-AV: E=Sophos;i="5.95,198,1661842800"; d="scan'208";a="874904023" Received: from unknown (HELO localhost.localdomain) ([10.190.213.60]) by fmsmga006.fm.intel.com with ESMTP; 20 Oct 2022 02:50:53 -0700 From: Megha Ajmera To: dev@dpdk.org, jasvinder.singh@intel.com, cristian.dumitrescu@intel.com, stephen@networkplumber.org Cc: stable@dpdk.org Subject: [PATCH v4 1/3] sched: fix subport profile ID Date: Thu, 20 Oct 2022 09:47:45 +0000 Message-Id: <20221020094747.605087-1-megha.ajmera@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221019113714.1e949cd2@hermes.local> References: <20221019113714.1e949cd2@hermes.local> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 In rte_sched_subport_config() API, subport_profile_id is not set correctly. Fixes: ac6fcb841b0f ("sched: update subport rate dynamically") Cc: cristian.dumitrescu@intel.com Signed-off-by: Megha Ajmera Acked by: Dumitrescu, Cristian --- lib/sched/rte_sched.c | 2 -- 1 file changed, 2 deletions(-) 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, n_subports++; - subport_profile_id = 0; - /* Port */ port->subports[subport_id] = s; -- 2.25.1