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 9698AA0543 for ; Wed, 5 Oct 2022 19:25:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8F6FB42686; Wed, 5 Oct 2022 19:25:52 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 31BF040694; Wed, 5 Oct 2022 19:25:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664990750; x=1696526750; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=bm+/nwch/bVcj/4E6sY2RWPz+N/bOuiygbRzScfwQ00=; b=l/w5HsB6mZL8mL7CeVu/wHctwzdAQP22i+0vSqQk+wztK/mrJzktEi5g IQuuezYgLspKmTjgJAdYQhCvI2Ld8WYCO7nWueweLwksrplrWiCvx16fX rW4SyNDyM/NrxK3VHoWtCGcTmNL50ZfPMytR2EjOm2jt+vk8/et8dhwTk Ty9NrHvLXwyY3qz35DCuHaSoZBpe4n3E35VDtyDM1QfCrcxB1FBeiqL9k 9OH7HFWmOStNXIDqOnHXLLqHZQNtGUjRFmDfrodepQ9cGBarW1ZLhNrNg 3rgbLkwp+JHexhrMM6rjQWYbqg5wOPkNcJdcpkDY+Yj7YkaMzvbCYcus5 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10491"; a="283587499" X-IronPort-AV: E=Sophos;i="5.95,161,1661842800"; d="scan'208";a="283587499" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2022 10:25:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10491"; a="626654489" X-IronPort-AV: E=Sophos;i="5.95,161,1661842800"; d="scan'208";a="626654489" Received: from unknown (HELO localhost.localdomain) ([10.190.213.60]) by fmsmga007.fm.intel.com with ESMTP; 05 Oct 2022 10:25:47 -0700 From: Megha Ajmera To: dev@dpdk.org, jasvinder.singh@intel.com, cristian.dumitrescu@intel.com Cc: stable@dpdk.org Subject: [PATCH v2] sched: Fix subport profile id not set correctly. Date: Wed, 5 Oct 2022 17:22:39 +0000 Message-Id: <20221005172239.254327-1-megha.ajmera@intel.com> X-Mailer: git-send-email 2.25.1 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 --- 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