[PATCH] net/softnic: remove maintainer

2022-10-03 Thread Jasvinder Singh
I am removing myself as the maintainer. Signed-off-by: Jasvinder Singh --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index a55b379d73..c0337bc7af 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1009,7 +1009,6 @@ F: doc/guides/nics/fail_safe.rst F

[PATCH] sched: remove maintainer

2022-10-03 Thread Jasvinder Singh
I am removing myself as the maintainer of the sched library. Signed-off-by: Jasvinder Singh --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index c0337bc7af..b43fabe6a7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1471,7 +1471,6 @@ F: doc/guides

[PATCH] app/testpmd: fix memory leak for dscp table

2022-06-28 Thread Jasvinder Singh
This patch fixes memory leak reported by coverity. Coverity issue: 379220 Fixes: 9f5488e326d3 ("app/testpmd: support different input color method") Cc: sta...@dpdk.org Signed-off-by: Jasvinder Singh --- app/test-pmd/cmdline_mtr.c | 6 +- 1 file changed, 5 insertions(+),

[dpdk-dev] [PATCH] net/softnic: remove experimental table from API

2021-09-01 Thread Jasvinder Singh
This API was introduced in 18.08, therefore removing experimental tag to promote it to stable state. Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic.h | 1 - drivers/net/softnic/version.map | 7 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a

[dpdk-dev] [PATCH] pipeline: remove experimental tag from API

2021-09-01 Thread Jasvinder Singh
These APIs were introduced in 18.05, therefore removing experimental tag to promote them to stable state. Signed-off-by: Jasvinder Singh --- lib/pipeline/rte_port_in_action.h | 10 -- lib/pipeline/rte_table_action.h | 18 -- lib/pipeline/version.map | 16

[dpdk-dev] [PATCH] sched: remove experimental tag from the API

2021-09-01 Thread Jasvinder Singh
This API was introduced in 18.05, therefore removing experimental tag to promote it to stable state Signed-off-by: Jasvinder Singh --- lib/sched/rte_sched.h | 4 lib/sched/version.map | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/sched/rte_sched.h b/lib/sched

[dpdk-dev] [PATCH v3] doc/rel_notes: remove old deprecation notice for sched

2021-06-14 Thread Jasvinder Singh
APIs and data structures hasve been modified as per deprecation note, so removing deprecation notice from the notes. Fixes: 85f52aa422d6 ("sched: add pipe config params to subport struct") Signed-off-by: Jasvinder Singh --- v3 - correct the fixes tag v2 - add fixes tag doc/guides

[dpdk-dev] [PATCH v2] doc/rel_notes: remove old deprecation notice for sched

2021-06-14 Thread Jasvinder Singh
APIs and data structures hasve been modified as per deprecation note, so removing deprecation notice from the notes. Fixes: 8b16a7a6fa5d ("doc: announce sched API change") Signed-off-by: Jasvinder Singh --- v2: - add fixes tag doc/guides/rel_notes/deprecation.rst | 6 -- 1 fi

[dpdk-dev] [PATCH] doc/rel_notes: remove old deprecation notice for sched

2021-06-14 Thread Jasvinder Singh
APIs and data structures hasve been modifed as per deprecation note, so removing deprecation notice from the notes. Signed-off-by: Jasvinder Singh --- doc/guides/rel_notes/deprecation.rst | 6 -- 1 file changed, 6 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides

[dpdk-dev] [PATCH v2] app/testpmd: remove softnic forward mode

2020-06-23 Thread Jasvinder Singh
Softnic can be used like other virtual devices without needing any special mode. Therefore, remove softnic mode from testpmd app. Documentation is updated as well. Signed-off-by: Jasvinder Singh Acked-by: Cristian Dumitrescu --- v2 - merge softnic document update patch app/test-pmd/Makefile

[dpdk-dev] [PATCH] app/testpmd: remove softnic forward mode

2020-06-22 Thread Jasvinder Singh
Softnic can be used like other virtual devices without needing any special mode. Therefore, softnic forward mode is removed from testpmd app. Documentation is updated as well. Signed-off-by: Jasvinder Singh Acked-by: Cristian Dumitrescu --- app/test-pmd/Makefile | 4

[dpdk-dev] [PATCH] doc: update softnic documentation

2020-06-22 Thread Jasvinder Singh
Update traffic management function parameters description and command for running the softnic device using testpmd app. Signed-off-by: Jasvinder Singh Acked-by: Cristian Dumitrescu --- doc/guides/nics/softnic.rst | 60 +++-- 1 file changed, 44 insertions(+), 16

[dpdk-dev] [PATCH v2] net/softnic: fix resource leak for pipeline

2020-04-27 Thread Jasvinder Singh
("net/softnic: add command for meter action") Fixes: 2505030a8383 ("net/softnic: add command for TTL action") Signed-off-by: Jasvinder Singh Acked-by: Cristian Dumitrescu --- drivers/net/softnic/rte_eth_softnic_thread.c | 34 1 file changed,

[dpdk-dev] [PATCH v2] net/softnic: fix memory leak for thread

2020-04-27 Thread Jasvinder Singh
sable pipeline") Signed-off-by: Jasvinder Singh Acked-by: Cristian Dumitrescu --- v2: - change commit message drivers/net/softnic/rte_eth_softnic_thread.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/net/softnic/rte_eth_softnic_thread.c b/drivers/net/softnic/rte_eth_softnic_thre

[dpdk-dev] [PATCH] examples/ip_pipeline: fix resource leak for pipeline

2020-04-27 Thread Jasvinder Singh
line: add meter profile commands") Fixes: e92058d604e6 ("examples/ip_pipeline: add meter stats command") Fixes: 2b82ef4861c0 ("examples/ip_pipeline: add DSCP table update command") Fixes: d0d306c7f2a1 ("examples/ip_pipeline: add TTL stats command") Fixes: a31

[dpdk-dev] [PATCH] examples/ip_pipeline: fix resource leak for thread

2020-04-27 Thread Jasvinder Singh
sable commands") Signed-off-by: Jasvinder Singh Acked-by: Cristian Dumitrescu --- examples/ip_pipeline/thread.c | 4 1 file changed, 4 deletions(-) diff --git a/examples/ip_pipeline/thread.c b/examples/ip_pipeline/thread.c index 272fbbeed..fda4d3c2a 100644 --- a/examples/ip_pipeline/thre

[dpdk-dev] [PATCH] net/softnic: fix memory leak

2020-04-27 Thread Jasvinder Singh
When sending request messages to data plane thread, the caller must free the memory allocated to request message on receiving error response. Coverity Issue: 357717, 357772 Fixes: 70709c78fda6 ("net/softnic: add command to enable/disable pipeline") Signed-off-by: Jasvinder Singh --

[dpdk-dev] [PATCH] net/softnic: fix resource leak

2020-04-27 Thread Jasvinder Singh
quot;) Fixes: 2505030a8383 ("net/softnic: add command for TTL action") Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_thread.c | 65 +++- 1 file changed, 48 insertions(+), 17 deletions(-) diff --git a/drivers/net/softnic/rte_eth_softnic_thread.c b/

[dpdk-dev] [PATCH v2 3/3] examples/ip_pipeline: documentation update

2019-11-26 Thread Jasvinder Singh
Updates documentation for traffic manager cli as per the changes made to qos scheduler library. Signed-off-by: Jasvinder Singh Acked-by: Cristian Dumitrescu --- doc/guides/sample_app_ug/ip_pipeline.rst | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git

[dpdk-dev] [PATCH v2 1/3] sched: documentation update

2019-11-26 Thread Jasvinder Singh
Updates documentation to reflect the changes in the qos scheduler library. Signed-off-by: Jasvinder Singh Acked-by: Cristian Dumitrescu --- v2: - fix svg format .../prog_guide/img/sched_hier_per_port.png| Bin 58973 -> 0 bytes .../prog_guide/img/sched_hier_per_port.svg|

[dpdk-dev] [PATCH v2 2/3] examples/qos_sched: documentation update

2019-11-26 Thread Jasvinder Singh
Update documentation according to the changes made to qos sample app. Signed-off-by: Jasvinder Singh Acked-by: Cristian Dumitrescu --- doc/guides/sample_app_ug/qos_scheduler.rst | 92 +++--- 1 file changed, 81 insertions(+), 11 deletions(-) diff --git a/doc/guides

[dpdk-dev] [PATCH 3/3] examples/ip_pipeline: documentation update

2019-10-29 Thread Jasvinder Singh
Updates documentation for traffic manager cli as per the changes made to qos scheduler library. Signed-off-by: Jasvinder Singh --- doc/guides/sample_app_ug/ip_pipeline.rst | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/doc/guides/sample_app_ug

[dpdk-dev] [PATCH 1/3] sched: documentation update

2019-10-29 Thread Jasvinder Singh
Updates documentation to reflect the changes in the qos scheduler library. Signed-off-by: Jasvinder Singh --- .../prog_guide/img/sched_hier_per_port.png| Bin 58973 -> 0 bytes .../prog_guide/img/sched_hier_per_port.svg| Bin 0 -> 1463490 bytes doc/guides/prog_guide/qos_framewo

[dpdk-dev] [PATCH 2/3] examples/qos_sched: documentation update

2019-10-29 Thread Jasvinder Singh
Update documentation according to the changes made to qos sample app. Signed-off-by: Jasvinder Singh --- doc/guides/sample_app_ug/qos_scheduler.rst | 92 +++--- 1 file changed, 81 insertions(+), 11 deletions(-) diff --git a/doc/guides/sample_app_ug/qos_scheduler.rst b/doc

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

2019-10-25 Thread Jasvinder Singh
Remove redundant data structure fields from port level data structures and update the release notes. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- doc/guides/rel_notes/release_19_11.rst | 7 - lib/librte_sched/rte_sched.c | 42 +- lib

[dpdk-dev] [PATCH v7 14/15] examples/qos_sched: add subport configuration flexibility

2019-10-25 Thread Jasvinder Singh
Modify qos sample app to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- examples/qos_sched/app_thread.c | 20 ++- examples/qos_sched/cfg_file.c

[dpdk-dev] [PATCH v7 13/15] ip_pipeline: add subport config flexibility to TM

2019-10-25 Thread Jasvinder Singh
Modify ip pipeline traffic management function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- examples/ip_pipeline/cli.c | 71

[dpdk-dev] [PATCH v7 09/15] sched: update pkt dequeue for flexible config

2019-10-25 Thread Jasvinder Singh
Modify scheduler packet dequeue operation to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 51

[dpdk-dev] [PATCH v7 12/15] net/softnic: add subport config flexibility to TM

2019-10-25 Thread Jasvinder Singh
Modify softnic traffic management function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- drivers/net/softnic/rte_eth_softnic_tm.c | 54

[dpdk-dev] [PATCH v7 10/15] sched: update queue stats read for config flexibility

2019-10-25 Thread Jasvinder Singh
Modify pipe queue stats read function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 18 +++--- 1 file

[dpdk-dev] [PATCH v7 11/15] test/sched: modify tests for subport config flexibility

2019-10-25 Thread Jasvinder Singh
Modify tests function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- app/test/test_sched.c | 35 ++- 1 file

[dpdk-dev] [PATCH v7 08/15] sched: update grinder functions for config flexibility

2019-10-25 Thread Jasvinder Singh
Modify packet grinder functions of the schedule to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 223

[dpdk-dev] [PATCH v7 06/15] sched: modify pkt enqueue for config flexibility

2019-10-25 Thread Jasvinder Singh
Modify scheduler packet enqueue operation of the scheduler to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 287

[dpdk-dev] [PATCH v7 04/15] sched: add pipe config to subport level

2019-10-25 Thread Jasvinder Singh
Add pipes configuration from the port level to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 388

[dpdk-dev] [PATCH v7 07/15] sched: update memory compute to support flexiblity

2019-10-25 Thread Jasvinder Singh
Update memory footprint compute function for allowing subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 100

[dpdk-dev] [PATCH v7 03/15] sched: remove pipe params config from port level

2019-10-25 Thread Jasvinder Singh
Remove pipes configuration from the port level to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 254

[dpdk-dev] [PATCH v7 05/15] sched: modify pipe functions for config flexibility

2019-10-25 Thread Jasvinder Singh
Modify pipe level functions to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 103

[dpdk-dev] [PATCH v7 01/15] sched: add pipe config params to subport struct

2019-10-25 Thread Jasvinder Singh
Add pipe configuration parameters to subport level structure to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/Makefile| 2

[dpdk-dev] [PATCH v7 00/15] sched: subport level configuration of pipe nodes

2019-10-25 Thread Jasvinder Singh
with patchset v5: - remove patches on 64-bit values support, sent separately v4: - remove deprecation note - rebase on current dpdk head - add 64-bit values support v3: - improve doxygen comments v2: - fix qsize parsing in sample application - fix checkpatch warnings Jasvinder Singh (15

[dpdk-dev] [PATCH v7 02/15] sched: modify internal structs for config flexibility

2019-10-25 Thread Jasvinder Singh
Update internal structures related to port and subport to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 106

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

2019-10-24 Thread Jasvinder Singh
Remove redundant data structure fields from port level data structures and update the release notes. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- doc/guides/rel_notes/release_19_11.rst | 7 - lib/librte_sched/rte_sched.c | 42 +- lib

[dpdk-dev] [PATCH v6 13/15] ip_pipeline: add subport config flexibility to TM

2019-10-24 Thread Jasvinder Singh
Modify ip pipeline traffic management function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- examples/ip_pipeline/cli.c | 71

[dpdk-dev] [PATCH v6 14/15] examples/qos_sched: add subport configuration flexibility

2019-10-24 Thread Jasvinder Singh
Modify qos sample app to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- examples/qos_sched/app_thread.c | 20 ++- examples/qos_sched/cfg_file.c

[dpdk-dev] [PATCH v6 08/15] sched: update grinder functions for config flexibility

2019-10-24 Thread Jasvinder Singh
Modify packet grinder functions of the schedule to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 223

[dpdk-dev] [PATCH v6 11/15] test/sched: modify tests for subport config flexibility

2019-10-24 Thread Jasvinder Singh
Modify tests function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- app/test/test_sched.c | 35 ++- 1 file

[dpdk-dev] [PATCH v6 09/15] sched: update pkt dequeue for flexible config

2019-10-24 Thread Jasvinder Singh
Modify scheduler packet dequeue operation to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 51

[dpdk-dev] [PATCH v6 10/15] sched: update queue stats read for config flexibility

2019-10-24 Thread Jasvinder Singh
Modify pipe queue stats read function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 18 +++--- 1 file

[dpdk-dev] [PATCH v6 12/15] net/softnic: add subport config flexibility to TM

2019-10-24 Thread Jasvinder Singh
Modify softnic traffic management function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- drivers/net/softnic/rte_eth_softnic_tm.c | 54

[dpdk-dev] [PATCH v6 03/15] sched: remove pipe params config from port level

2019-10-24 Thread Jasvinder Singh
Remove pipes configuration from the port level to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 254

[dpdk-dev] [PATCH v6 01/15] sched: add pipe config params to subport struct

2019-10-24 Thread Jasvinder Singh
Add pipe configuration parameters to subport level structure to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/Makefile| 2

[dpdk-dev] [PATCH v6 06/15] sched: modify pkt enqueue for config flexibility

2019-10-24 Thread Jasvinder Singh
Modify scheduler packet enqueue operation of the scheduler to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 277

[dpdk-dev] [PATCH v6 02/15] sched: modify internal structs for config flexibility

2019-10-24 Thread Jasvinder Singh
Update internal structures related to port and subport to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 106

[dpdk-dev] [PATCH v6 04/15] sched: add pipe config to subport level

2019-10-24 Thread Jasvinder Singh
Add pipes configuration from the port level to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 388

[dpdk-dev] [PATCH v6 07/15] sched: update memory compute to support flexiblity

2019-10-24 Thread Jasvinder Singh
Update memory footprint compute function for allowing subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 110

[dpdk-dev] [PATCH v6 05/15] sched: modify pipe functions for config flexibility

2019-10-24 Thread Jasvinder Singh
Modify pipe level functions to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 103

[dpdk-dev] [PATCH v6 00/15] sched: subport level configuration of pipe nodes

2019-10-24 Thread Jasvinder Singh
separately v4: - remove deprecation note - rebase on current dpdk head - add 64-bit values support v3: - improve doxygen comments v2: - fix qsize parsing in sample application - fix checkpatch warnings Jasvinder Singh (15): sched: add pipe config params to subport struct sched: modify

[dpdk-dev] [PATCH v2 2/2] sched: modify internal structs and functions for 64 bit values

2019-10-16 Thread Jasvinder Singh
Modify internal structure and functions to support 64-bit values for rates and stats parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- v2: - remove rte_sched_min_val_2_u32() from rte_sched_common.h - replace rte_sched_min_val_2_u32() by RTE_MIN in rte_sched.c

[dpdk-dev] [PATCH v2 1/2] sched: add support for 64 bit values

2019-10-16 Thread Jasvinder Singh
To support high bandwidth network interfaces, all rates (port, subport level token bucket and traffic class rates, pipe level token bucket and traffic class rates) and stats counters defined in public data structures (rte_sched.h) are modified to support 64 bit counters. Signed-off-by: Jasvinder

[dpdk-dev] [PATCH 1/2] sched: add support for 64 bit values

2019-10-14 Thread Jasvinder Singh
To support high bandwidth NICs, all rates (port, subport level token bucket and traffic class rates, pipe level token bucket and traffic class rates) and stats counters defined in public data structures (rte_sched.h) are modified to support 64-bit values. Signed-off-by: Jasvinder Singh Signed

[dpdk-dev] [PATCH v5 14/15] examples/qos_sched: add subport configuration flexibility

2019-10-14 Thread Jasvinder Singh
Modify qos sample app to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- examples/qos_sched/app_thread.c | 20 ++- examples/qos_sched/cfg_file.c

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

2019-10-14 Thread Jasvinder Singh
Remove redundant data structure fields from port level data structures and update the release notes. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- doc/guides/rel_notes/release_19_11.rst | 7 - lib/librte_sched/rte_sched.c | 42 +- lib

[dpdk-dev] [PATCH 2/2] sched: modify internal structs and functions for 64 bit values

2019-10-14 Thread Jasvinder Singh
Modify internal structure and functions to support 64-bit values for rates and stats parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_approx.c | 57 lib/librte_sched/rte_approx.h | 3 +- lib/librte_sched/rte_sched.c

[dpdk-dev] [PATCH v5 13/15] ip_pipeline: add subport config flexibility to TM

2019-10-14 Thread Jasvinder Singh
Modify ip pipeline traffic management function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- examples/ip_pipeline/cli.c | 71

[dpdk-dev] [PATCH v5 12/15] net/softnic: add subport config flexibility to TM

2019-10-14 Thread Jasvinder Singh
Modify softnic traffic management function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- drivers/net/softnic/rte_eth_softnic_tm.c | 54

[dpdk-dev] [PATCH v5 11/15] test/sched: modify tests for subport config flexibility

2019-10-14 Thread Jasvinder Singh
Modify tests function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- app/test/test_sched.c | 35 ++- 1 file

[dpdk-dev] [PATCH v5 10/15] sched: update queue stats read for config flexibility

2019-10-14 Thread Jasvinder Singh
Modify pipe queue stats read function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 28

[dpdk-dev] [PATCH v5 09/15] sched: update pkt dequeue for flexible config

2019-10-14 Thread Jasvinder Singh
Modify scheduler packet dequeue operation to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 51

[dpdk-dev] [PATCH v5 05/15] sched: modify pipe functions for config flexibility

2019-10-14 Thread Jasvinder Singh
Modify pipe level functions to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 103

[dpdk-dev] [PATCH v5 07/15] sched: update memory compute to support flexiblity

2019-10-14 Thread Jasvinder Singh
Update memory footprint compute function for allowing subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 100

[dpdk-dev] [PATCH v5 06/15] sched: modify pkt enqueue for config flexibility

2019-10-14 Thread Jasvinder Singh
Modify scheduler packet enqueue operation of the scheduler to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 277

[dpdk-dev] [PATCH v5 08/15] sched: update grinder functions for config flexibility

2019-10-14 Thread Jasvinder Singh
Modify packet grinder functions of the schedule to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 223

[dpdk-dev] [PATCH v5 03/15] sched: remove pipe params config from port level

2019-10-14 Thread Jasvinder Singh
Remove pipes configuration from the port level to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 254

[dpdk-dev] [PATCH v5 04/15] sched: add pipe config to subport level

2019-10-14 Thread Jasvinder Singh
Add pipes configuration from the port level to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 388

[dpdk-dev] [PATCH v5 00/15] sched: subport level configuration of pipe nodes

2019-10-14 Thread Jasvinder Singh
note - rebase on current dpdk head - add 64-bit values support v3: - improve doxygen comments 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

[dpdk-dev] [PATCH v5 01/15] sched: add pipe config params to subport struct

2019-10-14 Thread Jasvinder Singh
Add pipe configuration parameters to subport level structure to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/Makefile| 2

[dpdk-dev] [PATCH v5 02/15] sched: modify internal structs for config flexibility

2019-10-14 Thread Jasvinder Singh
Update internal structures related to port and subport to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 106

[dpdk-dev] [PATCH v4 14/17] examples/qos_sched: add subport configuration flexibility

2019-10-14 Thread Jasvinder Singh
Modify qos sample app to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- examples/qos_sched/app_thread.c | 20 ++- examples/qos_sched/cfg_file.c

[dpdk-dev] [PATCH v4 16/17] sched: add support for 64 bit values

2019-10-14 Thread Jasvinder Singh
To support high bandwidth NICs, all rates (port, subport level token bucket and traffic class rates, pipe level token bucket and traffic class rates) and stats counters defined in public data structures (rte_sched.h) are modified to support 64-bit values. Signed-off-by: Jasvinder Singh Signed

[dpdk-dev] [PATCH v4 15/17] sched: remove redundant code

2019-10-14 Thread Jasvinder Singh
Remove redundant data structure fields from port level data structures. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 42 +--- lib/librte_sched/rte_sched.h | 22 --- 2 files changed, 1 insertion

[dpdk-dev] [PATCH v4 17/17] sched: modify internal structs and functions for 64 bit values

2019-10-14 Thread Jasvinder Singh
Modify internal structure and functions to support 64-bit values for rates and stats parameters. Release note is updated and deprecation notice is removed. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- doc/guides/rel_notes/deprecation.rst | 6 - doc/guides/rel_notes

[dpdk-dev] [PATCH v4 11/17] test/sched: modify tests for subport config flexibility

2019-10-14 Thread Jasvinder Singh
Modify tests function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- app/test/test_sched.c | 35 ++- 1 file

[dpdk-dev] [PATCH v4 10/17] sched: update queue stats read for config flexibility

2019-10-14 Thread Jasvinder Singh
Modify pipe queue stats read function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 28

[dpdk-dev] [PATCH v4 12/17] net/softnic: add subport config flexibility to TM

2019-10-14 Thread Jasvinder Singh
Modify softnic traffic management function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- drivers/net/softnic/rte_eth_softnic_tm.c | 54

[dpdk-dev] [PATCH v4 13/17] ip_pipeline: add subport config flexibility to TM

2019-10-14 Thread Jasvinder Singh
Modify ip pipeline traffic management function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- examples/ip_pipeline/cli.c | 71

[dpdk-dev] [PATCH v4 09/17] sched: update pkt dequeue for flexible config

2019-10-14 Thread Jasvinder Singh
Modify scheduler packet dequeue operation to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 51

[dpdk-dev] [PATCH v4 08/17] sched: update grinder functions for config flexibility

2019-10-14 Thread Jasvinder Singh
Modify packet grinder functions of the schedule to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 223

[dpdk-dev] [PATCH v4 05/17] sched: modify pipe functions for config flexibility

2019-10-14 Thread Jasvinder Singh
Modify pipe level functions to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 103

[dpdk-dev] [PATCH v4 06/17] sched: modify pkt enqueue for config flexibility

2019-10-14 Thread Jasvinder Singh
Modify scheduler packet enqueue operation of the scheduler to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 277

[dpdk-dev] [PATCH v4 04/17] sched: add pipe config to subport level

2019-10-14 Thread Jasvinder Singh
Add pipes configuration from the port level to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 388

[dpdk-dev] [PATCH v4 03/17] sched: remove pipe params config from port level

2019-10-14 Thread Jasvinder Singh
Remove pipes configuration from the port level to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 254

[dpdk-dev] [PATCH v4 07/17] sched: update memory compute to support flexiblity

2019-10-14 Thread Jasvinder Singh
Update memory footprint compute function for allowing subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 100

[dpdk-dev] [PATCH v4 02/17] sched: modify internal structs for config flexibility

2019-10-14 Thread Jasvinder Singh
Update internal structures related to port and subport to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 106

[dpdk-dev] [PATCH v4 00/17] sched: subport level configuration of pipe nodes

2019-10-14 Thread Jasvinder Singh
v3: - improve doxygen comments v2: - fix qsize parsing in sample application - fix checkpatch warnings Jasvinder Singh (17): sched: add pipe config params to subport struct sched: modify internal structs for config flexibility sched: remove pipe params config from port level sched: add

[dpdk-dev] [PATCH v4 01/17] sched: add pipe config params to subport struct

2019-10-14 Thread Jasvinder Singh
Add pipe configuration parameters to subport level structure to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/Makefile| 2

[dpdk-dev] [PATCH v3 10/15] sched: update queue stats read for config flexibility

2019-09-26 Thread Jasvinder Singh
Modify pipe queue stats read function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 28

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

2019-09-26 Thread Jasvinder Singh
Remove redundant data structure fields from port level data structures and update release notes. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- doc/guides/rel_notes/release_19_11.rst | 6 +++- lib/librte_sched/rte_sched.c | 42 +- lib

[dpdk-dev] [PATCH v3 14/15] examples/qos_sched: add subport configuration flexibility

2019-09-26 Thread Jasvinder Singh
Modify qos sample app to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- examples/qos_sched/app_thread.c | 20 ++- examples/qos_sched/cfg_file.c

[dpdk-dev] [PATCH v3 12/15] net/softnic: add subport config flexibility to TM

2019-09-26 Thread Jasvinder Singh
Modify softnic traffic management function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- drivers/net/softnic/rte_eth_softnic_tm.c | 54

[dpdk-dev] [PATCH v3 13/15] ip_pipeline: add subport config flexibility to TM

2019-09-26 Thread Jasvinder Singh
Modify ip pipeline traffic management function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- examples/ip_pipeline/cli.c | 71

[dpdk-dev] [PATCH v3 11/15] test/sched: modify tests for subport config flexibility

2019-09-26 Thread Jasvinder Singh
Modify tests function to allow different subports of the same port to have different configuration in terms of number of pipes, pipe queue sizes, etc. Signed-off-by: Jasvinder Singh Signed-off-by: Lukasz Krakowiak --- app/test/test_sched.c | 35 ++- 1 file

  1   2   3   4   5   6   7   8   9   10   >