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 11B68A0350; Tue, 22 Feb 2022 13:57:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A246C40E64; Tue, 22 Feb 2022 13:57:53 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id C87B840DF6 for ; Tue, 22 Feb 2022 13:57:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645534672; x=1677070672; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=YQ7RePi8sSlP5EUmZBE92jy3/9ndl8EQ1jP4NsjNqkQ=; b=KLDvK/FhY1HUjVFhzTrbm9+xrkEf8pDkmINyyUILIvq8mtiKOWb5HXIN MBNsuxxIZECUWqhG/G9VNJEiniy1u3ARY1L/vY5lljsxqpaMs+s3eLO4r 9dcXcjTA/dlw6/b7FMkb9OTDX9MqMHCA7xvAguQz+zHaXhS/c/y8qkGqT fptwB0jxtn0GbQt9w0kCxsFij7w5DEbW9aZP3KikJNuc9MUw7NeLrLjzw cfgpbMtPOsHSNbpd6lkbf+A/SEjjqw7SYRrx/NIhfiGGkmas+2Tn6ZMCi P9JFCM6lsAgYTmpxHWB7Kk5rzRgRU6OdyipU2gXK9e6LjGvfuqva2lRIH g==; X-IronPort-AV: E=McAfee;i="6200,9189,10265"; a="251627053" X-IronPort-AV: E=Sophos;i="5.88,387,1635231600"; d="scan'208";a="251627053" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2022 04:57:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,387,1635231600"; d="scan'208";a="542926647" Received: from silpixa00397515.ir.intel.com (HELO silpixa00397515.ger.corp.intel.com) ([10.237.222.51]) by fmsmga007.fm.intel.com with ESMTP; 22 Feb 2022 04:57:48 -0800 From: Megha Ajmera To: dev@dpdk.org, jasvinder.singh@intel.com, cristian.dumitrescu@intel.com, thomas@monjalon.net, david.marchand@redhat.com, sham.singh.thakur@intel.com Subject: [PATCH v3 0/4] sched: cleanup of sched library Date: Tue, 22 Feb 2022 12:57:41 +0000 Message-Id: <20220222125745.2944462-1-megha.ajmera@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220218093650.2549927-1-megha.ajmera@intel.com> References: <20220218093650.2549927-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 v3: This patchset involves the cleanup of sched library: * Addresses review comments on v2 patchset. * RTE_SCHED_CMAN is left unmodified in rte_config.h. Cleanup of this will be taken up later. * Removed unused flag RTE_SCHED_VECTOR from arm/meson.build. Only scalar version is now supported. * Added grinder configuration in docs. The configuration is moved from rte_config.h into sched library. Default number of grinders is 8. To override the default, specify RTE_SCHED_PORT_N_GRINDERS=N in CFLAGS before compiling sched library. * Sample app is updated to always collect statistics as this flag is removed. * Updated softnic library by enabling TC oversubscription. This flag is now removed from sched. v2: This patchset involves the cleanup of sched Library: * Removed unused sched #defines from rte_config. RTE_SCHED_CMAN, RTE_SCHED_COLLECT_STATS, RTE_SCHED_SUBPORT_TC_OV and 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 over subscription for best effort queues is now always enabled. * RTE_SCHED_VECTOR flag is removed from sched library as the code under this flag is no longer useful. Only scalar version is supported. * Rebased with latest main branch code. Megha Ajmera (4): sched: remove code no longer needed sched: move grinder configuration flag sched: enable statistics unconditionally sched: enable traffic class oversubscription unconditionally config/arm/meson.build | 1 - config/rte_config.h | 4 - doc/guides/sample_app_ug/qos_scheduler.rst | 5 +- drivers/net/softnic/rte_eth_softnic_tm.c | 18 --- examples/qos_sched/init.c | 2 - lib/sched/rte_sched.c | 156 +-------------------- 6 files changed, 4 insertions(+), 182 deletions(-) -- 2.25.1