[v3,00/15] sched: subport level configuration of pipe nodes
Message ID | 20190926085232.47667-1-jasvinder.singh@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6BAE61BED7; Thu, 26 Sep 2019 10:52:44 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 94F231BED5 for <dev@dpdk.org>; Thu, 26 Sep 2019 10:52:42 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2019 01:52:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,551,1559545200"; d="scan'208";a="189945535" Received: from silpixa00381635.ir.intel.com (HELO silpixa00381635.ger.corp.intel.com) ([10.237.223.4]) by fmsmga007.fm.intel.com with ESMTP; 26 Sep 2019 01:52:40 -0700 From: Jasvinder Singh <jasvinder.singh@intel.com> To: dev@dpdk.org Cc: cristian.dumitrescu@intel.com Date: Thu, 26 Sep 2019 09:52:17 +0100 Message-Id: <20190926085232.47667-1-jasvinder.singh@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190909100530.86020-1-jasvinder.singh@intel.com> References: <20190909100530.86020-1-jasvinder.singh@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 00/15] sched: subport level configuration of pipe nodes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Jasvinder Singh
Sept. 26, 2019, 8:52 a.m. UTC
This patchset refactors the dpdk qos sched library to allow subport
level configuration flexibility of the pipe nodes.
Currently, all parameters for the pipe nodes (subscribers)
configuration are part of the port level structure which forces
all groups of subscribers (pipes) in different subports to
have similar configurations in terms of their number, queue sizes,
traffic-classes, etc.
The new implementation moves pipe nodes configuration parameters
from port level to subport level structure. This allows different
subports of the same port to have different configuration for the
pipe nodes, for examples- number of pipes, queue sizes, pipe
profiles, etc.
In order to keep the implementation complexity under control, all
pipes within the same subport share the same configuration for queue
sizes.
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
v3:
- improve doxygen comments
- remove n_max_pipe_profiles parameter from struct rte_sched_port_params
- rename n_max_pipes_per_subport in struct rte_sched_port_params
to n_pipes_per_subport
- rename n_pipes_per_subport in struct rte_sched_subport_params
to n_pipes_per_subport_enabled
- rename rte_sched_port_pipe_profile_add() to
rte_sched_subport_pipe_profile_add()
v2:
- fix qsize parsing in sample application
- fix checkpatch warnings
Jasvinder Singh (15):
sched: add pipe config params to subport struct
sched: modify internal structs for config flexibility
sched: remove pipe params config from port level
shced: add pipe config to subport level
sched: modify pipe functions for config flexibility
sched: modify pkt enqueue for config flexibility
sched: update memory compute to support flexiblity
sched: update grinder functions for config flexibility
sched: update pkt dequeue for flexible config
sched: update queue stats read for config flexibility
test/sched: modify tests for subport config flexibility
net/softnic: add subport config flexibility to TM
ip_pipeline: add subport config flexibility to TM
examples/qos_sched: add subport configuration flexibility
sched: remove redundant code
app/test/test_sched.c | 35 +-
doc/guides/rel_notes/release_19_11.rst | 6 +-
drivers/net/softnic/rte_eth_softnic_tm.c | 54 +-
examples/ip_pipeline/cli.c | 71 +-
examples/ip_pipeline/tmgr.c | 25 +-
examples/ip_pipeline/tmgr.h | 7 +-
examples/qos_sched/app_thread.c | 20 +-
examples/qos_sched/cfg_file.c | 229 ++--
examples/qos_sched/init.c | 54 +-
examples/qos_sched/main.h | 1 +
examples/qos_sched/profile.cfg | 5 +-
examples/qos_sched/profile_ov.cfg | 5 +-
examples/qos_sched/stats.c | 44 +-
lib/librte_sched/Makefile | 2 +-
lib/librte_sched/meson.build | 2 +-
lib/librte_sched/rte_sched.c | 1394 +++++++++++++---------
lib/librte_sched/rte_sched.h | 129 +-
lib/librte_sched/rte_sched_version.map | 2 +-
18 files changed, 1212 insertions(+), 873 deletions(-)