[dpdk-dev] [PATCH v3] sched : fix traffic class oversubscription parameter

2021-04-20 Thread Savinay Dharmappa
This patch fixes the traffic class oversubscription watermark value by initialising it with computed value of maximum watermark. Fixes: ac6fcb841b0f ("sched: update subport rate dynamically") Cc: sta...@dpdk.org Signed-off-by: Savinay Dharmappa Acked-by: Jasvinder Singh --- v3:

[dpdk-dev] [PATCH v2] sched : Initialize tc ov watermark.

2021-03-09 Thread Savinay Dharmappa
tc ov watermark is initialized with computed value of max tc ov watermark. Signed-off-by: Savinay Dharmappa --- v2: fix spelling error. --- lib/librte_sched/rte_sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched

[dpdk-dev] [PATCH v1] sched : Initialize tc ov watermark.

2021-03-09 Thread Savinay Dharmappa
tc ov watermark is intialized with computed value of max tc ov watermark. Signed-off-by: Savinay Dharmappa --- lib/librte_sched/rte_sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched/rte_sched.c index 7c56880681

[dpdk-dev] [PATCH v2] doc: update ip pipeline sample application

2020-11-17 Thread Savinay Dharmappa
update the user guide of ip pipeline sample application to reflect the changes in command line arguments. Fixes: 54a298e5f7f4 ("examples/ip_pipeline: update subport rate dynamically") Signed-off-by: Savinay Dharmappa Acked-by: Cristian Dumitrescu --- v2: patch has only ip pipeline d

[dpdk-dev] [PATCH v3] examples/qos_sched: update profile config file

2020-11-17 Thread Savinay Dharmappa
update the qos_sched user guide and profile config file with default subport profile. Fixes: 802d214dc880 ("examples/qos_sched: update subport rate dynamically") Signed-off-by: Savinay Dharmappa Acked-by: Cristian Dumitrescu --- v3: addressed the review comments of patch v2 ---

[dpdk-dev] [PATCH v2] examples/qos_sched: update profile oversubscribe config file

2020-10-27 Thread Savinay Dharmappa
update the profile_ov config file to support dynamic update of subport rate. Signed-off-by: Savinay Dharmappa --- v2: renamed the commit subject. --- examples/qos_sched/profile_ov.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/qos_sched/profile_ov.cfg b/examples/qos_sched

[dpdk-dev] [PATCH v1] sched: update profile oversubscribe config file

2020-10-26 Thread Savinay Dharmappa
update the profile_ov config file to support dynamic update of subport rate. Signed-off-by: Savinay Dharmappa --- examples/qos_sched/profile_ov.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/qos_sched/profile_ov.cfg b/examples/qos_sched/profile_ov.cfg index ab509d28d7

[dpdk-dev] [PATCH v1] doc: update ip pipeline and qos scheduler app

2020-10-21 Thread Savinay Dharmappa
update the user guide of sample application ip pipeline and qos_scheduler to reflect the changes in command line arguments and profile config file. Signed-off-by: Savinay Dharmappa --- doc/guides/sample_app_ug/ip_pipeline.rst | 6 +- doc/guides/sample_app_ug/qos_scheduler.rst | 4 2

[dpdk-dev] [PATCH v2] net/softnic: fix out of bound access

2020-10-19 Thread Savinay Dharmappa
This patch fixes out of bound access of an array. Coverity issue: 363466, 363459 Fixes: b5dfa6703d49 ("net/softnic: update subport rate dynamically") Signed-off-by: Savinay Dharmappa --- v2: addressed review comments of v1 --- drivers/net/softnic/rte_eth_softnic_tm.c | 13 +++

[dpdk-dev] [PATCH v1] net/softnic: fix out of bound access

2020-10-19 Thread Savinay Dharmappa
This patch fixes out of bound access of an array. Coverity issue: 363466, 363459 Fixes: b5dfa6703d49 ("net/softnic: update subport rate dynamically") Signed-off-by: Savinay Dharmappa --- drivers/net/softnic/rte_eth_softnic_tm.c | 15 +-- 1 file changed, 13 insert

[dpdk-dev] [PATCH v9 8/8] sched: remove redundant code

2020-10-09 Thread Savinay Dharmappa
Remove redundant data structure fields. Signed-off-by: Savinay Dharmappa --- doc/guides/rel_notes/release_20_11.rst | 3 +++ lib/librte_sched/rte_sched.h | 12 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/doc/guides/rel_notes/release_20_11.rst b/doc

[dpdk-dev] [PATCH v9 7/8] app/test_sched: update subport rate dynamically

2020-10-09 Thread Savinay Dharmappa
Modify the test_sched application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically Signed-off-by: Savinay Dharmappa --- app/test/test_sched.c | 13 +++-- 1 file changed, 11 insertions

[dpdk-dev] [PATCH v9 5/8] example/ip_pipeline: update subport rate dynamically

2020-10-09 Thread Savinay Dharmappa
Modify the ip_pipeline application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically Signed-off-by: Savinay Dharmappa --- examples/ip_pipeline/cli.c | 68 examples

[dpdk-dev] [PATCH v9 6/8] drivers/softnic: update subport rate dynamically

2020-10-09 Thread Savinay Dharmappa
Modify the softnic drivers to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically. Signed-off-by: Savinay Dharmappa --- .../net/softnic/rte_eth_softnic_internals.h | 11 +- drivers/net/softnic

[dpdk-dev] [PATCH v9 4/8] example/qos_sched: update subport rate dynamically

2020-10-09 Thread Savinay Dharmappa
Modify the qos_sched application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically. Signed-off-by: Savinay Dharmappa --- examples/qos_sched/cfg_file.c | 151

[dpdk-dev] [PATCH v9 3/8] sched: update subport rate dynamically

2020-10-09 Thread Savinay Dharmappa
Add support to update subport rate dynamically. Signed-off-by: Savinay Dharmappa --- app/test/test_sched.c| 2 +- doc/guides/rel_notes/deprecation.rst | 6 - doc/guides/rel_notes/release_20_11.rst | 9 + drivers/net/softnic/rte_eth_softnic_tm.c | 6 +- examples

[dpdk-dev] [PATCH v9 2/8] sched: introduce subport profile add function

2020-10-09 Thread Savinay Dharmappa
API to add new subport bandwidth profile. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 66 ++ lib/librte_sched/rte_sched.h | 23 + lib/librte_sched/rte_sched_version.map | 2 + 3 files

[dpdk-dev] [PATCH v9 0/8] Enable dynamic config of subport bandwidth

2020-10-09 Thread Savinay Dharmappa
to create traffic manger port. v4 -> v5 - Review comments from patch 3 & 6 from v4 are addressed. v3 -> v4 - Fix patch apply issue. v2 -> v3 - Review comments from patch 3 & 5 from v2 are addressed. v1 -> v2 - Fix checkpatch warnings. --- Sav

[dpdk-dev] [PATCH v9 1/8] sched: add support profile table

2020-10-09 Thread Savinay Dharmappa
Add subport profile table to internal port data structure and update the port config function. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- doc/guides/rel_notes/release_20_11.rst | 3 + lib/librte_sched/rte_sched.c | 197 - lib

[dpdk-dev] [PATCH v8 8/8] sched: remove redundant code

2020-10-07 Thread Savinay Dharmappa
Remove redundant data structure fields references from functions and subport level data structures. It also update the release and deprecation note Signed-off-by: Savinay Dharmappa --- doc/guides/rel_notes/deprecation.rst | 6 doc/guides/rel_notes/release_20_11.rst | 1 + lib

[dpdk-dev] [PATCH v8 7/8] app/test_sched: update subport rate dynamically

2020-10-07 Thread Savinay Dharmappa
Modify the test_sched application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically Signed-off-by: Savinay Dharmappa --- app/test/test_sched.c | 13 +++-- 1 file changed, 11 insertions

[dpdk-dev] [PATCH v8 6/8] drivers/softnic: update subport rate dynamically

2020-10-07 Thread Savinay Dharmappa
Modify the softnic drivers to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically. Signed-off-by: Savinay Dharmappa --- .../net/softnic/rte_eth_softnic_internals.h | 11 +- drivers/net/softnic

[dpdk-dev] [PATCH v8 4/8] example/qos_sched: update subport rate dynamically

2020-10-07 Thread Savinay Dharmappa
Modify the qos_sched application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically. Signed-off-by: Savinay Dharmappa --- examples/qos_sched/cfg_file.c | 151

[dpdk-dev] [PATCH v8 5/8] example/ip_pipeline: update subport rate dynamically

2020-10-07 Thread Savinay Dharmappa
Modify the ip_pipeline application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically Signed-off-by: Savinay Dharmappa --- examples/ip_pipeline/cli.c | 68 examples

[dpdk-dev] [PATCH v8 1/8] sched: add support profile table

2020-10-07 Thread Savinay Dharmappa
Add subport profile table to internal port data structure and update the port config function. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 197 ++- lib/librte_sched/rte_sched.h | 25 + 2 files changed

[dpdk-dev] [PATCH v8 3/8] sched: update subport rate dynamically

2020-10-07 Thread Savinay Dharmappa
Add support to update subport rate dynamically. Signed-off-by: Savinay Dharmappa --- app/test/test_sched.c| 2 +- drivers/net/softnic/rte_eth_softnic_tm.c | 6 +- examples/ip_pipeline/tmgr.c | 6 +- examples/qos_sched/init.c| 3 +- lib

[dpdk-dev] [PATCH v8 2/8] sched: introduce subport profile add function

2020-10-07 Thread Savinay Dharmappa
API to add new subport bandwidth profile. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 66 ++ lib/librte_sched/rte_sched.h | 23 + lib/librte_sched/rte_sched_version.map | 2 + 3 files

[dpdk-dev] [PATCH v8 0/8] Enable dynamic config of subport bandwidth

2020-10-07 Thread Savinay Dharmappa
e addressed. v3 -> v4 - Fix patch apply issue. v2 -> v3 - Review comments from patch 3 & 5 from v2 are addressed. v1 -> v2 - Fix checkpatch warnings. --- Savinay Dharmappa (8): sched: add support profile table sched: introduce subport profile add function

[dpdk-dev] [PATCH v7 6/8] drivers/softnic: update subport rate dynamically

2020-10-06 Thread Savinay Dharmappa
Modify the softnic drivers to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically. Signed-off-by: Savinay Dharmappa --- .../net/softnic/rte_eth_softnic_internals.h | 11 +- drivers/net/softnic

[dpdk-dev] [PATCH v7 5/8] example/ip_pipeline: update subport rate dynamically

2020-10-06 Thread Savinay Dharmappa
Modify the ip_pipeline application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically Signed-off-by: Savinay Dharmappa --- examples/ip_pipeline/cli.c | 68 examples

[dpdk-dev] [PATCH v7 7/8] app/test_sched: update subport rate dynamically

2020-10-06 Thread Savinay Dharmappa
Modify the test_sched application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically Signed-off-by: Savinay Dharmappa --- app/test/test_sched.c | 13 +++-- 1 file changed, 11 insertions

[dpdk-dev] [PATCH v7 1/8] sched: add support profile table

2020-10-06 Thread Savinay Dharmappa
Add subport profile table to internal port data structure and update the port config function. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 197 ++- lib/librte_sched/rte_sched.h | 25 + 2 files changed

[dpdk-dev] [PATCH v7 4/8] example/qos_sched: update subport rate dynamically

2020-10-06 Thread Savinay Dharmappa
Modify the qos_sched application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically. Signed-off-by: Savinay Dharmappa --- examples/qos_sched/cfg_file.c | 151

[dpdk-dev] [PATCH v7 0/8] Enable dynamic config of subport bandwidth

2020-10-06 Thread Savinay Dharmappa
for port and subport level, new APIs for adding subport level bandwidth profiles that can be used in runtime Savinay Dharmappa (8): sched: add support profile table sched: introduce subport profile add function sched: update subport rate dynamically example/qos_sched: update subport rate

[dpdk-dev] [PATCH v7 3/8] sched: update subport rate dynamically

2020-10-06 Thread Savinay Dharmappa
Add support to update subport rate dynamically. Signed-off-by: Savinay Dharmappa --- app/test/test_sched.c| 2 +- drivers/net/softnic/rte_eth_softnic_tm.c | 6 +- examples/ip_pipeline/tmgr.c | 6 +- examples/qos_sched/init.c| 3 +- lib

[dpdk-dev] [PATCH v7 2/8] sched: introduce subport profile add function

2020-10-06 Thread Savinay Dharmappa
API to add new subport bandwidth profile. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 66 ++ lib/librte_sched/rte_sched.h | 23 + lib/librte_sched/rte_sched_version.map | 2 + 3 files

[dpdk-dev] [PATCH v7 8/8] sched: remove redundant code

2020-10-06 Thread Savinay Dharmappa
Remove redundant data structure fields references from functions and subport level data structures. It also update the release and deprecation note Signed-off-by: Savinay Dharmappa --- doc/guides/rel_notes/deprecation.rst | 6 doc/guides/rel_notes/release_20_11.rst | 1 + lib

[dpdk-dev] [PATCH v6 7/8] app/test_sched: update subport rate dynamically

2020-10-06 Thread Savinay Dharmappa
Modify the test_sched application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically Signed-off-by: Savinay Dharmappa --- app/test/test_sched.c | 13 +++-- 1 file changed, 11 insertions

[dpdk-dev] [PATCH v6 8/8] sched: remove redundant code

2020-10-06 Thread Savinay Dharmappa
Remove redundant data structure fields references from functions and subport level data structures. It also update the release and deprecation note Signed-off-by: Savinay Dharmappa --- doc/guides/rel_notes/deprecation.rst | 6 doc/guides/rel_notes/release_20_11.rst | 2 ++ lib

[dpdk-dev] [PATCH v6 4/8] example/qos_sched: update subport rate dynamically

2020-10-06 Thread Savinay Dharmappa
Modify the qos_sched application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically. Signed-off-by: Savinay Dharmappa --- examples/qos_sched/cfg_file.c | 151

[dpdk-dev] [PATCH v6 6/8] drivers/softnic: update subport rate dynamically

2020-10-06 Thread Savinay Dharmappa
Modify the softnic drivers to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically. Signed-off-by: Savinay Dharmappa --- .../net/softnic/rte_eth_softnic_internals.h | 11 +- drivers/net/softnic

[dpdk-dev] [PATCH v6 3/8] sched: update subport rate dynamically

2020-10-06 Thread Savinay Dharmappa
Add support to update subport rate dynamically. Signed-off-by: Savinay Dharmappa --- app/test/test_sched.c| 2 +- drivers/net/softnic/rte_eth_softnic_tm.c | 6 +- examples/ip_pipeline/tmgr.c | 6 +- examples/qos_sched/init.c| 3 +- lib

[dpdk-dev] [PATCH v6 5/8] example/ip_pipeline: update subport rate dynamically

2020-10-06 Thread Savinay Dharmappa
Modify the ip_pipeline application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to update a subport with different subport rates dynamically Signed-off-by: Savinay Dharmappa --- examples/ip_pipeline/cli.c | 68 examples

[dpdk-dev] [PATCH v6 2/8] sched: introduce subport profile add function

2020-10-06 Thread Savinay Dharmappa
API to add new subport bandwidth profile. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 66 ++ lib/librte_sched/rte_sched.h | 23 + lib/librte_sched/rte_sched_version.map | 2 + 3 files

[dpdk-dev] [PATCH v6 0/8] Enable dynamic config of subport bandwidth

2020-10-06 Thread Savinay Dharmappa
for port and subport level, new APIs for adding subport level bandwidth profiles that can be used in runtime Savinay Dharmappa (8): sched: add support profile table sched: introduce subport profile add function sched: update subport rate dynamically example/qos_sched: update subport rate

[dpdk-dev] [PATCH v6 1/8] sched: add support profile table

2020-10-06 Thread Savinay Dharmappa
Add subport profile table to internal port data structure and update the port config function. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 197 ++- lib/librte_sched/rte_sched.h | 25 + 2 files changed

[dpdk-dev] [PATCH v5 9/9] sched : remove redundant code

2020-09-30 Thread Savinay Dharmappa
Remove redundant data structure fields references from functions and subport level data structures. It also update the release and deprecation note Signed-off-by: Savinay Dharmappa --- app/test/test_sched.c| 2 +- doc/guides/rel_notes/deprecation.rst | 6 - doc

[dpdk-dev] [PATCH v5 8/9] app/test_sched: add dynamic config of subport

2020-09-30 Thread Savinay Dharmappa
Modify the test_sched application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to configure a subport with different subport bandwidth profile dynamically Signed-off-by: Savinay Dharmappa --- app/test/test_sched.c | 17 ++--- 1 file

[dpdk-dev] [PATCH v5 7/9] drivers/softnic: add dynamic config of subport

2020-09-30 Thread Savinay Dharmappa
Modify the softnic drivers to build the hierarchical scheduler with default subport bandwidth profile. It also allows to configure a subport with different subport bandwidth profile dynamically. Signed-off-by: Savinay Dharmappa --- .../net/softnic/rte_eth_softnic_internals.h | 18 +- drivers

[dpdk-dev] [PATCH v5 4/9] sched: update grinder credit and pipe config function

2020-09-30 Thread Savinay Dharmappa
Credits are updated by fetching subport profile parameters from subport profile table. Similarly subport best effort tc is calculated in pipe config. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 55 +--- 1

[dpdk-dev] [PATCH v5 5/9] example/qos_sched: add dynamic config of subport

2020-09-30 Thread Savinay Dharmappa
Modify the qos_sched application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to configure a subport with different subport bandwidth profile dynamically. Signed-off-by: Savinay Dharmappa --- examples/qos_sched/cfg_file.c | 151

[dpdk-dev] [PATCH v5 6/9] example/ip_pipeline: add dynamic config of subport

2020-09-30 Thread Savinay Dharmappa
Modify the ip_pipeline application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to configure a subport with different subport bandwidth profile dynamically Signed-off-by: Savinay Dharmappa --- examples/ip_pipeline/cli.c | 17 +-- examples

[dpdk-dev] [PATCH v5 3/9] sched : add dynamic config of subport bandwidth

2020-09-30 Thread Savinay Dharmappa
This patch adds support for dynamic config of subport bandwidth. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 219 +++ lib/librte_sched/rte_sched.h | 23 2 files changed, 242 insertions(+) diff --git a

[dpdk-dev] [PATCH v5 0/9] Enable dynamic config of subport bandwidth

2020-09-30 Thread Savinay Dharmappa
for port and subport level, new APIs for adding subport level bandwidth profiles that can be used in runtime Savinay Dharmappa (9): sched: add support profile table sched: add subport profile add api sched : add dynamic config of subport bandwidth sched: update grinder credit and pipe config

[dpdk-dev] [PATCH v5 2/9] sched: add subport profile add api

2020-09-30 Thread Savinay Dharmappa
Add api to add new subport profile. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 66 ++ lib/librte_sched/rte_sched.h | 23 + lib/librte_sched/rte_sched_version.map | 2 + 3 files changed

[dpdk-dev] [PATCH v5 1/9] sched: add support profile table

2020-09-30 Thread Savinay Dharmappa
Add subport profile data structure, subport profile table to internal port data structure and update the port config function. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 197 ++- lib/librte_sched

[dpdk-dev] [PATCH v4 9/9] sched: remove the redundant code

2020-09-17 Thread Savinay Dharmappa
Remove redundant data structure fields references from functions and subport level data structures. It also update the release and deprecation note. Signed-off-by: Savinay Dharmappa --- doc/guides/rel_notes/deprecation.rst | 6 -- doc/guides/rel_notes/release_20_11.rst | 4 ++ lib

[dpdk-dev] [PATCH v4 7/9] drivers/softnic: add dynamic config of subport

2020-09-17 Thread Savinay Dharmappa
Modify the softnic drivers to build the hierarchical scheduler with default subport bandwidth profile. It also allows to configure a subport with different subport bandwidth profile dynamically. Signed-off-by: Savinay Dharmappa --- drivers/net/softnic/rte_eth_softnic_internals.h | 9

[dpdk-dev] [PATCH v4 5/9] example/qos_sched: add dynamic config of subport

2020-09-17 Thread Savinay Dharmappa
Modify the qos_sched application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to configure a subport with different subport bandwidth profile dynamically. Signed-off-by: Savinay Dharmappa --- examples/qos_sched/cfg_file.c | 151

[dpdk-dev] [PATCH v4 6/9] example/ip_pipeline: add dynamic config of subport

2020-09-17 Thread Savinay Dharmappa
Modify the ip_pipeline application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to configure a subport with different subport bandwidth profile dynamically Signed-off-by: Savinay Dharmappa --- examples/ip_pipeline/cli.c | 14

[dpdk-dev] [PATCH v4 8/9] app/test_sched: add dynamic config of subport

2020-09-17 Thread Savinay Dharmappa
Modify the test_sched application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to configure a subport with different subport bandwidth profile dynamically Signed-off-by: Savinay Dharmappa --- app/test/test_sched.c | 18 -- 1 file

[dpdk-dev] [PATCH v4 0/9] Enable dynamic config of subport bandwidth

2020-09-17 Thread Savinay Dharmappa
and subport level, new APIs for adding subport level bandwidth profiles that can be used in runtime. Savinay Dharmappa (9): sched: add support profile data structure sched: add subport profile table sched: add subport profile add and config api sched: update grinder credit and pipe config

[dpdk-dev] [PATCH v4 3/9] sched: add subport profile add and config api

2020-09-17 Thread Savinay Dharmappa
Add apis to add new subport profile and configure it. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 118 + lib/librte_sched/rte_sched.h | 45 + lib/librte_sched

[dpdk-dev] [PATCH v4 4/9] sched: update grinder credit and pipe config function

2020-09-17 Thread Savinay Dharmappa
Credits are updated by fetching subport profile parameters from subport profile table. Similarly subport best effort tc is calculated in pipe config. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 55

[dpdk-dev] [PATCH v4 1/9] sched: add support profile data structure

2020-09-17 Thread Savinay Dharmappa
Add subport profile data structure to support dynamic configuration of subport bandwidth Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 10 ++ lib/librte_sched/rte_sched.h | 25 + 2 files changed, 35 insertions

[dpdk-dev] [PATCH v4 2/9] sched: add subport profile table

2020-09-17 Thread Savinay Dharmappa
Add subport profile table to internal port data structure and update the port config function. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 185 ++- 1 file changed, 182 insertions(+), 3 deletions

[dpdk-dev] [PATCH v3 9/9] sched: remove the redundant code

2020-09-16 Thread Savinay Dharmappa
Remove redundant data structure fields references from functions and subport level data structures. It also update the release and deprecation note. Signed-off-by: Savinay Dharmappa --- doc/guides/rel_notes/deprecation.rst | 6 -- doc/guides/rel_notes/release_20_11.rst | 4 ++ lib

[dpdk-dev] [PATCH v3 7/9] drivers/softnic: add dynamic config of subport

2020-09-16 Thread Savinay Dharmappa
Modify the softnic drivers to build the hierarchical scheduler with default subport bandwidth profile. It also allows to configure a subport with different subport bandwidth profile dynamically. Signed-off-by: Savinay Dharmappa --- drivers/net/softnic/rte_eth_softnic_internals.h | 9

[dpdk-dev] [PATCH v3 8/9] app/test_sched: add dynamic config of subport

2020-09-16 Thread Savinay Dharmappa
Modify the test_sched application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to configure a subport with different subport bandwidth profile dynamically Signed-off-by: Savinay Dharmappa --- app/test/test_sched.c | 18 -- 1 file

[dpdk-dev] [PATCH v3 3/9] sched: add subport profile add and config api

2020-09-16 Thread Savinay Dharmappa
Add apis to add new subport profile and configure it. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 118 + lib/librte_sched/rte_sched.h | 45 + lib/librte_sched

[dpdk-dev] [PATCH v3 5/9] example/qos_sched: add dynamic config of subport

2020-09-16 Thread Savinay Dharmappa
Modify the qos_sched application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to configure a subport with different subport bandwidth profile dynamically. Signed-off-by: Savinay Dharmappa --- examples/qos_sched/cfg_file.c | 151

[dpdk-dev] [PATCH v3 4/9] sched: update grinder credit and pipe config function

2020-09-16 Thread Savinay Dharmappa
Credits are updated by fetching subport profile parameters from subport profile table. Similarly subport best effort tc is calculated in pipe config. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 55

[dpdk-dev] [PATCH v3 6/9] example/ip_pipeline: add dynamic config of subport

2020-09-16 Thread Savinay Dharmappa
Modify the ip_pipeline application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to configure a subport with different subport bandwidth profile dynamically Signed-off-by: Savinay Dharmappa --- examples/ip_pipeline/cli.c | 14

[dpdk-dev] [PATCH v3 2/9] sched: add subport profile table

2020-09-16 Thread Savinay Dharmappa
Add subport profile table to internal port data structure and update the port config function. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 185 ++- 1 file changed, 182 insertions(+), 3 deletions

[dpdk-dev] [PATCH v3 0/9] Enable dynamic config of subport bandwidth

2020-09-16 Thread Savinay Dharmappa
and subport level, new APIs for adding subport level bandwidth profiles that can be used in runtime. Savinay Dharmappa (9): sched: add support profile data structure sched: add subport profile table sched: add subport profile add and config api sched: update grinder credit and pipe config

[dpdk-dev] [PATCH v3 1/9] sched: add support profile data structure

2020-09-16 Thread Savinay Dharmappa
Add subport profile data structure to support dynamic configuration of subport bandwidth Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 10 ++ lib/librte_sched/rte_sched.h | 25 + 2 files changed, 35 insertions

[dpdk-dev] [PATCH v2 10/10] sched: remove the redundant code

2020-09-10 Thread Savinay Dharmappa
Remove redundant data structure fields references from functions and subport level data structures. It also update the release and deprecation note. Signed-off-by: Savinay Dharmappa --- doc/guides/rel_notes/deprecation.rst | 6 -- doc/guides/rel_notes/release_20_11.rst | 4 ++ lib

[dpdk-dev] [PATCH v2 09/10] app/test_sched: add dynamic config of subport

2020-09-10 Thread Savinay Dharmappa
Modify the test_sched application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to configure a subport with different subport bandwidth profile dynamically Signed-off-by: Savinay Dharmappa --- app/test/test_sched.c | 18 -- 1 file

[dpdk-dev] [PATCH v2 08/10] drivers/softnic: add dynamic config of subport

2020-09-10 Thread Savinay Dharmappa
Modify the softnic drivers to build the hierarchical scheduler with default subport bandwidth profile. It also allows to configure a subport with different subport bandwidth profile dynamically. Signed-off-by: Savinay Dharmappa --- drivers/net/softnic/rte_eth_softnic_internals.h | 9

[dpdk-dev] [PATCH v2 04/10] sched: update the grinder credit update function

2020-09-10 Thread Savinay Dharmappa
Credits are updated by fetching subport profile parameters from subport profile table. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 49 1 file changed, 31 insertions(+), 18 deletions(-) diff

[dpdk-dev] [PATCH v2 07/10] example/ip_pipeline: add dynamic config of subport

2020-09-10 Thread Savinay Dharmappa
Modify the ip_pipeline application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to configure a subport with different subport bandwidth profile dynamically Signed-off-by: Savinay Dharmappa --- examples/ip_pipeline/cli.c | 10 ++ examples

[dpdk-dev] [PATCH v2 05/10] sched: update the pipe config api implementation

2020-09-10 Thread Savinay Dharmappa
Subport profile parameters are fetched from subport profile table to calculate the subport best effort tc rate. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 40 +--- 1 file changed, 21 insertions(+), 19

[dpdk-dev] [PATCH v2 06/10] example/qos_sched: add dynamic config of subport

2020-09-10 Thread Savinay Dharmappa
Modify the qos_sched application to build the hierarchical scheduler with default subport bandwidth profile. It also allows to configure a subport with different subport bandwidth profile dynamically. Signed-off-by: Savinay Dharmappa --- examples/qos_sched/cfg_file.c | 158

[dpdk-dev] [PATCH v2 03/10] sched: add subport profile add and config api

2020-09-10 Thread Savinay Dharmappa
Add apis to add new subport profile and configure it. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 118 + lib/librte_sched/rte_sched.h | 45 + lib/librte_sched

[dpdk-dev] [PATCH v2 02/10] sched: add subport profile table

2020-09-10 Thread Savinay Dharmappa
Add subport profile table to internal port data structure and update the port config function. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 185 ++- 1 file changed, 182 insertions(+), 3 deletions

[dpdk-dev] [PATCH v2 01/10] sched: add support profile data structure

2020-09-10 Thread Savinay Dharmappa
Add subport profile data structure to support dynamic configuration of subport bandwidth Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 11 +++ lib/librte_sched/rte_sched.h | 25 + 2 files changed, 36

[dpdk-dev] [PATCH v2 00/10] Enable dynamic config of subport bandwidth

2020-09-10 Thread Savinay Dharmappa
and subport level, new APIs for adding subport level bandwidth profiles that can be used in runtime. Savinay Dharmappa (10): sched: add data structure to support dynamic conf of subport bandwidth sched: create subport profile table sched: Add public APIs to support dynamic conf of subport

[dpdk-dev] [PATCH v1 1/4] example/qos_sched: subport bandwidth dynmaic conf

2020-09-02 Thread Savinay Dharmappa
qos sched application uses the new apis introduced as part of dynamic configuration of subport bandwidth to configure the deafult subport bandwidth profile while buidling the hirerachical scheduler. Signed-off-by: Savinay Dharmappa --- examples/qos_sched/cfg_file.c | 158

[dpdk-dev] [PATCH v1 3/4] drivers/softnic: subport bandwidth profile config

2020-09-02 Thread Savinay Dharmappa
softnic driver uses the new apis introduced as part of dynamic configuration of subport bandwidth to configure the deafult subport bandwidth profile while buidling the hirerachical scheduler. Signed-off-by: Savinay Dharmappa --- drivers/net/softnic/rte_eth_softnic_internals.h | 9 + drivers

[dpdk-dev] [PATCH v1 4/4] app/test_sched: subport bandwidth profile config

2020-09-02 Thread Savinay Dharmappa
test_sched application uses the new apis introduced as part of dynamic configuration of subport bandwidth to configure the deafult subport bandwidth profile while buidling the hirerachical scheduler Signed-off-by: Savinay Dharmappa --- app/test/test_sched.c | 16 ++-- 1 file changed

[dpdk-dev] [PATCH v1 2/4] example/ip_pipeline: subport bandwidth dynmaic conf

2020-09-02 Thread Savinay Dharmappa
ip_pipeline application uses the new apis introduced as part of dynamic configuration of subport bandwidth to configure the deafult subport bandwidth profile while buidling the hirerachical scheduler Signed-off-by: Savinay Dharmappa --- examples/ip_pipeline/cli.c | 10 ++ examples

[dpdk-dev] [PATCH v1 2/4] sched: add dynamic config of subport bandwidth profile

2020-09-02 Thread Savinay Dharmappa
This patch builds the subport profile table during port configuration. Since the tb_period,tb_size,tc_period, tb_credits_per_period and tc_credits_per_period are updated in subport profile table, references to them are removed from subport configuration. Signed-off-by: Savinay Dharmappa Signed

[dpdk-dev] [PATCH v1 4/4] sched: add dynamic config of subport bandwidth profile

2020-09-02 Thread Savinay Dharmappa
This patch modifies the way credits are updated. Credits are updated by fetching parameters from subport profile table. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 62 ++ lib/librte_sched

[dpdk-dev] [PATCH v1 1/4] sched: add dynamic config of subport bandwidth profile

2020-09-02 Thread Savinay Dharmappa
This patch modifies the subport level data structures and add internal functions to create subport profile table. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 173 +++ lib/librte_sched/rte_sched.h

[dpdk-dev] [PATCH v1 3/4] sched: add dynamic config of subport bandwidth profile

2020-09-02 Thread Savinay Dharmappa
This patch add public APIs to add new subport profile and to configure them. Signed-off-by: Savinay Dharmappa Signed-off-by: Jasvinder Singh --- lib/librte_sched/rte_sched.c | 115 ++- lib/librte_sched/rte_sched.h | 45 + 2 files changed

[dpdk-dev] [PATCH v4] doc: add deprecation notice for sched changes

2020-07-29 Thread Savinay Dharmappa
Add deprecation note for making changes in data structures and APIs in order to allow dynamic configuration of subport bandwidth profile. These changes are aligned as suggested in the RFC[1]. https://mails.dpdk.org/archives/dev/2020-July/175161.html Signed-off-by: Savinay Dharmappa Acked-by

[dpdk-dev] [PATCH v3] doc: add deprecation notice for sched changes

2020-07-28 Thread Savinay Dharmappa
Add deprecation note for making changes in data structures and APIs in order to allow dynamic configuration of subport bandwidth profile. These changes are aligned as suggested in the RFC[1]. https://mails.dpdk.org/archives/dev/2020-July/175161.html Signed-off-by: Savinay Dharmappa Acked-by

[dpdk-dev] [PATCH v3] doc: add deprecation notice for sched changes

2020-07-28 Thread Savinay Dharmappa
Add deprecation note for making changes in data structures and APIs in order to allow dynamic configuration of subport bandwidth profile. These changes are aligned as suggested in the RFC[1]. https://mails.dpdk.org/archives/dev/2020-July/175161.html Signed-off-by: Savinay Dharmappa Acked-by

[dpdk-dev] [PATCH v2] doc: add deprecation notice for sched changes

2020-07-16 Thread Savinay Dharmappa
Add deprecation note for making changes in data structures and APIs in order to allow dynamic configuration of subport bandwidth profile. These changes are aligned as suggested in the RFC[1]. https://mails.dpdk.org/archives/dev/2020-July/175161.html Signed-off-by: Savinay Dharmappa Signed-off

[dpdk-dev] [PATCH v2] doc: add deprecation notice for sched changes

2020-07-16 Thread Savinay Dharmappa
Add deprecation note for making changes in data structures and APIs in order to allow dynamic configuration of subport bandwidth profile. These changes are aligned as suggested in the RFC[1]. https://mails.dpdk.org/archives/dev/2020-July/175161.html Signed-off-by: Savinay Dharmappa Signed-off

  1   2   >