From patchwork Fri Feb 18 09:36:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ajmera, Megha" X-Patchwork-Id: 107794 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 351FBA0032; Fri, 18 Feb 2022 10:37:04 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AAA7040395; Fri, 18 Feb 2022 10:37:03 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id A689F40150 for ; Fri, 18 Feb 2022 10:37:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645177021; x=1676713021; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=87Z3VwWnVDUgXCJc2k9xYuQlMp2yEIJn0+LuNhRXz1E=; b=WCD5dCvpf8uubExdO1L5Gf26vMiTtYToid8BHFK0wMAXHgtf4V+4cq7Z ulRB5jOb9Y+q5G6AOB2kR2k5kldvjsmJpNB0XDE6YLkpXGGjaVwgZspd5 4dAwVMelKyYG+sWIXgA0giVsP4TPkeMLuvDlUU6Zlc99M1R4OXQBajeot UkI7lMRtEdyZ3FdAXA1q3DN7BecV1M0dd7Dz2tz5hdNlhdGVICGgWCESI CgTqLGTEW5pJ9jTsphm+bZ52RKJtLtXoVUVfsslJ/hzJDLpMUvrYYPj1e bwaAJ14kfUL8/7tOdt70Z7lzDcIZ5KlwwjS6T21qzoGCHKZHC3XS+Jl59 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10261"; a="250849495" X-IronPort-AV: E=Sophos;i="5.88,378,1635231600"; d="scan'208";a="250849495" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Feb 2022 01:37:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,378,1635231600"; d="scan'208";a="489318628" Received: from silpixa00397515.ir.intel.com (HELO silpixa00397515.ger.corp.intel.com) ([10.237.222.51]) by orsmga003.jf.intel.com with ESMTP; 18 Feb 2022 01:36:59 -0800 From: Megha Ajmera To: dev@dpdk.org, jasvinder.singh@intel.com, cristian.dumitrescu@intel.com, thomas@monjalon.net, david.marchand@redhat.com Subject: [PATCH v2 0/4] sched: HQoS Library cleanup Date: Fri, 18 Feb 2022 09:36:46 +0000 Message-Id: <20220218093650.2549927-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 v2: * Rebased with latest main branch code resolved conflicts. v1: This patchset involves the cleanup of HQoS Library: * Removed unused HQoS #defines from rte_config. RTE_SCHED_CMAN, RTE_SCHED_COLLECT_STATS, RTE_SCHED_SUBPORT_TC_OV, RTE_SCHED_VECTOR * RTE_SCHED_COLLECT_STATS flag is removed from the code. Stats collection is now always enabled. * RTE_SCHED_SUBPORT_TC_OV flag is removed. TC subscription for best effort queues is always enabled in HQoS library. * RTE_SCHED_VECTOR flag is removed from HQoS library as the code under this flag is no longer useful. Megha Ajmera (4): sched: Cleanup qos scheduler defines from rte_config sched: Always enable stats in HQoS library. sched: Always enable best effort TC oversubscription in HQoS library. sched: Removed code defined under VECTOR Defines. config/rte_config.h | 8 +- doc/guides/sample_app_ug/qos_scheduler.rst | 3 +- lib/sched/rte_sched.c | 156 +-------------------- 3 files changed, 5 insertions(+), 162 deletions(-)