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 1ED71A0542; Fri, 28 Oct 2022 10:13:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BBD71400D5; Fri, 28 Oct 2022 10:13:07 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 2D5FC40041; Fri, 28 Oct 2022 10:13:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666944786; x=1698480786; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=3eLKUCTEA03JsUDyuVS723EUMDfbKKEHMgHSKxbimMg=; b=ZAyvoj5/vAqdxWSQYO1+0kDsUKwajwRK/PL6bg6K5urcSZgpCLmnRGmr FQ3cTrzf4Hs87TqZdPS+bbM44gCtrjm5WT58sHFDaDnL8ylZnrez+h2/u oM8LX/Co94EEPp2TNoLON+xowalrCqiYx8koK2xqw12xwnxBRAF8C5BVU cy8y0x3VO5uzdWXZa4afYCyV+9Q7T8XICA0JXaWrODQOgUUHT58GR9eGM 8HnFomzP9xRoNA+WtIzHHy3fd/ItXkXy3W9IxX1q7Pf8trWm0/eo5KuvR 79AjgavQ9B1go8bPnNrsdev/2YTpEw2XMNbOrjk16ho9mLJlNNE9OaK3E w==; X-IronPort-AV: E=McAfee;i="6500,9779,10513"; a="288156239" X-IronPort-AV: E=Sophos;i="5.95,220,1661842800"; d="scan'208";a="288156239" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2022 01:13:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10513"; a="610668329" X-IronPort-AV: E=Sophos;i="5.95,220,1661842800"; d="scan'208";a="610668329" Received: from unknown (HELO localhost.localdomain) ([10.190.213.60]) by orsmga006.jf.intel.com with ESMTP; 28 Oct 2022 01:13:02 -0700 From: Megha Ajmera To: dev@dpdk.org, jasvinder.singh@intel.com, cristian.dumitrescu@intel.com, stephen@networkplumber.org Cc: stable@dpdk.org, Dumitrescu@dpdk.org Subject: [PATCH v5 1/3] sched: fix subport profile ID Date: Fri, 28 Oct 2022 08:09:44 +0000 Message-Id: <20221028080946.676201-1-megha.ajmera@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221006190038.431828-1-megha.ajmera@intel.com> References: <20221006190038.431828-1-megha.ajmera@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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