From patchwork Thu Aug 18 06:03:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ajmera, Megha" X-Patchwork-Id: 115219 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id ACAA7A00C4; Thu, 18 Aug 2022 08:04:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A13E40E2D; Thu, 18 Aug 2022 08:04:52 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 3C0EA40DDC for ; Thu, 18 Aug 2022 08:04:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660802691; x=1692338691; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=YRplA0CNaqtJSAMH7VK6NxhwZxyiHV3tnNCJK1FknD4=; b=LHT5lYDcrUEF/h41qVmsF7wXFSv+UFPzdOwW0z4tgDRDRI3b6INgog76 EsBjL1k0qdbKHCqfZHKOwUIrozfQTJiS3F3JBVPzdz5NvbAhQHhFtxD94 ES9J/0HNbk3nC8simZTifuPKNxl31bhaYOh6FClu471bK8n7cSLbQCDgE SJyC1CifxxZEgNFipoViw1RcKSp+IBeprPesBYPMLmPrxcNc1b7duSN/M hk+jBz05vqev8wB5wL0HD3TJGlYxGV+hSqmhMIRuiishbvHGKMYu3eBau 3R1H7QMfeNouSZJZ8PNgWIONywNvWtBtWa0YxEkHqt3J4zjg/tZZpLd1A Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10442"; a="378966929" X-IronPort-AV: E=Sophos;i="5.93,245,1654585200"; d="scan'208";a="378966929" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2022 23:04:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,245,1654585200"; d="scan'208";a="710832571" Received: from unknown (HELO localhost.localdomain) ([10.190.213.60]) by fmsmga002.fm.intel.com with ESMTP; 17 Aug 2022 23:04:49 -0700 From: Megha Ajmera To: dev@dpdk.org, jasvinder.singh@intel.com, cristian.dumitrescu@intel.com Subject: [PATCH] sched: Fix subport profile id not set correctly. Date: Thu, 18 Aug 2022 06:03:15 +0000 Message-Id: <20220818060315.1454280-1-megha.ajmera@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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. 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 599c7e9536..09f855a04b 100644 --- a/lib/sched/rte_sched.c +++ b/lib/sched/rte_sched.c @@ -1263,8 +1263,6 @@ rte_sched_subport_config(struct rte_sched_port *port, n_subports++; - subport_profile_id = 0; - /* Port */ port->subports[subport_id] = s;