[dpdk-dev] [PATCH 12/27] sched: update packet enqueue api

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update packet enqueue api implementation of the scheduler to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz

[dpdk-dev] [PATCH 11/27] sched: update port memory footprint api

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update port memory footprint api implementation of scheduler to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz

[dpdk-dev] [PATCH 27/27] sched: code cleanup

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Remove redundant macros and fields from the data structures. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 53 lib/librte_sched/rte_sched.h | 18

[dpdk-dev] [PATCH 24/27] net/softnic: update softnic tm function

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update softnic tm function to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- drivers/net/softnic

[dpdk-dev] [PATCH 25/27] examples/qos_sched: update qos sched sample app

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update qos sched sample app to allow configuration flexibility for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- examples

[dpdk-dev] [PATCH 26/27] examples/ip_pipeline: update ip pipeline sample app

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update ip pipeline sample app to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- examples

[dpdk-dev] [PATCH 23/27] test/sched: update unit test

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update unit test to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- app/test/test_sched.c | 37

[dpdk-dev] [PATCH 20/27] sched: update grinder handle function

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update grinder handle function implementation of the scheduler to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz

[dpdk-dev] [PATCH 17/27] sched: modify credits update function

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Modify credits update function of the scheduler grinder to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz

[dpdk-dev] [PATCH 19/27] sched: update grinder schedule function

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update grinder schedule function of the scheduler to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak

[dpdk-dev] [PATCH 22/27] sched: update sched queue stats api

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update queue stats read api implementation of the scheduler to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz

[dpdk-dev] [PATCH 18/27] sched: update mbuf prefetch function

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update mbuf prefetch function of the scheduler grinder to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz

[dpdk-dev] [PATCH 21/27] sched: update packet dequeue api

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update packet dequeue api implementation of scheduler to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz

[dpdk-dev] [PATCH 14/27] sched: update grinder next pipe and tc functions

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update implementation of grinder next pipe and tc functions to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz

[dpdk-dev] [PATCH 15/27] sched: update pipe and tc queues prefetch

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update pipe and tc queues prefetch functions of scheduler to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters.. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz

[dpdk-dev] [PATCH 13/27] sched: update grinder pipe and tc cache

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update grinder pipe and tc cache population of scheduler to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz

[dpdk-dev] [PATCH 16/27] sched: update grinder wrr compute function

2019-05-28 Thread Lukasz Krakowiak
Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c| 135 +--- lib/librte_sched/rte_sched_common.h | 41 + 2 files changed, 125 insertions(+), 51 deletions(-) diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched/rte_sched.c

[dpdk-dev] [PATCH 10/27] sched: update subport and tc queue stats

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update subport and tc queue stats implementation of scheduler to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz

[dpdk-dev] [PATCH 08/27] sched: update pipe config api

2019-05-28 Thread Lukasz Krakowiak
: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 58 ++-- lib/librte_sched/rte_sched.h | 2 +- 2 files changed, 36 insertions(+), 24 deletions(-) diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched/rte_sched.c index c1079cdaa..4b1959bb4 100644 --- a/lib

[dpdk-dev] [PATCH 09/27] sched: update pkt read and write api

2019-05-28 Thread Lukasz Krakowiak
-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 32 +--- lib/librte_sched/rte_sched.h | 8 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched/rte_sched.c index 4b1959bb4..d28d2d203 100644

[dpdk-dev] [PATCH 07/27] sched: update pipe profile add api

2019-05-28 Thread Lukasz Krakowiak
: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 257 +++ lib/librte_sched/rte_sched.h | 3 + 2 files changed, 205 insertions(+), 55 deletions(-) diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched/rte_sched.c index 020c028fd..c1079cdaa 100644 --- a/lib

[dpdk-dev] [PATCH 05/27] sched: update port free api

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update the scheduler port free api implementation to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak

[dpdk-dev] [PATCH 06/27] sched: update subport config api

2019-05-28 Thread Lukasz Krakowiak
: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 325 ++- 1 file changed, 283 insertions(+), 42 deletions(-) diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched/rte_sched.c index 39a6165e3..020c028fd 100644 --- a/lib/librte_sched/rte_sched.c +++ b/lib

[dpdk-dev] [PATCH 03/27] sched: update internal data structures

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update internal data structures of the scheduler to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak

[dpdk-dev] [PATCH 02/27] sched: update subport and pipe data structures

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update public data structures for subport and pipe to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak

[dpdk-dev] [PATCH 04/27] sched: update port config api

2019-05-28 Thread Lukasz Krakowiak
From: Jasvinder Singh Update the scheduler port configuration api implementation to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters.. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz

[dpdk-dev] [PATCH 01/27] sched: update macros for flexible config

2019-05-28 Thread Lukasz Krakowiak
-off-by: Lukasz Krakowiak --- doc/guides/rel_notes/deprecation.rst | 6 - doc/guides/rel_notes/release_19_08.rst | 7 - lib/librte_sched/Makefile | 2 +- lib/librte_sched/meson.build | 2 +- lib/librte_sched/rte_sched.h | 37

[dpdk-dev] [PATCH 00/27] sched: feature enhancements

2019-05-28 Thread Lukasz Krakowiak
This patchset refactors the dpdk qos sched library to add following features to enhance the scheduler functionality. 1. flexibile configuration of the pipe traffic classes and queues; Currently, each pipe has 16 queues hardwired into 4 TCs scheduled with strict priority, and each TC has exa

[dpdk-dev] [PATCH] power: fix for policy dependency to MAC list

2019-04-09 Thread Lukasz Krakowiak
Removed dependency to mac_list from policies: * BRANCH_RATIO, * WORKLOAD, * TIME in function update_policy. Fixes: 1b897991473f ("power: update error handling") Signed-off-by: Lukasz Krakowiak --- examples/vm_power_manager/channel_monitor.c | 18 +- 1 file c

[dpdk-dev] [PATCH 2/2] doc: update according to the fifo per core impl

2019-04-08 Thread Lukasz Krakowiak
Updated power management docs for fifo JSON API. Removed from JSON API: * 'name' * 'resource_id' * 'core_list' Signed-off-by: Lukasz Krakowiak --- .../sample_app_ug/vm_power_management.rst | 53 --- 1 file changed, 11 insertions(+), 42 deletio

[dpdk-dev] [PATCH 0/2] power: add fifo per core for JSON interface

2019-04-08 Thread Lukasz Krakowiak
This patch implement a separate FIFO for each cpu core. Dependency to commit: 5c7c96571b7b7051ecc286f36be0b3d95b49995e (power: update for handling fifo path string). Lukasz Krakowiak (2): power: add fifo per core for JSON interface doc: update according to the fifo per core impl

[dpdk-dev] [PATCH 1/2] power: add fifo per core for JSON interface

2019-04-08 Thread Lukasz Krakowiak
This patch implement a separate FIFO for each cpu core. For proper handling JSON interface, removed fields from cmds: core_list, resource_id, name. Signed-off-by: Lukasz Krakowiak --- examples/vm_power_manager/channel_manager.c | 85 +-- examples/vm_power_manager

[dpdk-dev] [PATCH] power: update for handling fifo path string

2019-04-03 Thread Lukasz Krakowiak
Removed doubled created fifo path string for channel info. Signed-off-by: Lukasz Krakowiak --- examples/vm_power_manager/channel_manager.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/vm_power_manager/channel_manager.c b/examples/vm_power_manager

[dpdk-dev] [PATCH v2 2/3] test: remove prefix _acpi from UT power function/test names

2019-04-03 Thread Lukasz Krakowiak
This patch remove prefix _acpi from power UT function/test names. Signed-off-by: Lukasz Krakowiak --- app/test/autotest_data.py | 4 ++-- app/test/meson.build | 2 +- app/test/test_power_cpufreq.c | 12 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a

[dpdk-dev] [PATCH v2 3/3] test: add UT for power turbo feature

2019-04-03 Thread Lukasz Krakowiak
Add UT check_power_turbo. Signed-off-by: Lukasz Krakowiak --- app/test/test_power_cpufreq.c | 72 +++ 1 file changed, 72 insertions(+) diff --git a/app/test/test_power_cpufreq.c b/app/test/test_power_cpufreq.c index d099f2f47..d203810da 100644 --- a/app/test

[dpdk-dev] [PATCH v2 1/3] test: rename test_power_acpi_cpufreq.c -> app/test/test_power_cpufreq.c

2019-04-03 Thread Lukasz Krakowiak
This patch rename file test_power_acpi_cpufreq.c -> app/test/test_power_cpufreq.c. Signed-off-by: Lukasz Krakowiak --- app/test/Makefile| 2 +- app/test/meson.build | 2 +- app/test/{test_power_acpi_cpufre

[dpdk-dev] [PATCH v2 0/3] test: improve test coverage for power library

2019-04-03 Thread Lukasz Krakowiak
This patch rename test_power_acpi_cpufreq.c to test_power_cpufreq.c, remove prefix _acpi from UT power functions/test names, add UT for power turbo feature. --- v2: * coding style improved Lukasz Krakowiak (3): test: rename test_power_acpi_cpufreq.c -> app/test/test_power_cpufreq.c t

[dpdk-dev] [PATCH v2] doc: updated json sample code for fifo interface

2019-03-29 Thread Lukasz Krakowiak
Updated doc for JSON sample code related to vm_power_manager fifo interface: "command": "destroy", "command": "power". Corrected typo in doc vm_power_management.rst: 'json' instead of 'jason'. --- v2: * coding style improved Si

[dpdk-dev] [PATCH] doc: updated json sample code for fifo interface

2019-03-29 Thread Lukasz Krakowiak
Updated doc for JSON sample code related to vm_power_manager fifo inteface: "command": "destroy", "command": "power". Corrected typo in doc vm_power_management.rst: 'json' instead of 'jason'. Signed-off-by: Lukasz Krakowiak --- doc

[dpdk-dev] [PATCH] power: extend debugs on power instruction requests

2019-03-28 Thread Lukasz Krakowiak
Extend debugs on power instruction and cmd police destroy requests. Signed-off-by: Lukasz Krakowiak --- examples/vm_power_manager/channel_monitor.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/examples/vm_power_manager/channel_monitor.c b/examples

[dpdk-dev] [PATCH] power: update for error handling

2019-03-28 Thread Lukasz Krakowiak
Update for handling negative returned status from functions call. Signed-off-by: Lukasz Krakowiak --- examples/vm_power_manager/channel_manager.c | 4 ++-- examples/vm_power_manager/channel_monitor.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples

[dpdk-dev] [PATCH v3] test: add snow3g test cases when digest is encrypted

2019-03-25 Thread Lukasz Krakowiak
Add test case for encryption, dectryption for snow3g when digest is encrypted --- v3: * fixed path for test directory. v2: * coding style improved Signed-off-by: Lukasz Krakowiak --- app/test/test_cryptodev.c | 91 ++-- app/test

[dpdk-dev] [PATCH 1/3] test: rename test_power_acpi_cpufreq.c -> app/test/test_power_cpufreq.c

2019-03-07 Thread Lukasz Krakowiak
This patch rename file test_power_acpi_cpufreq.c -> app/test/test_power_cpufreq.c. Signed-off-by: Lukasz Krakowiak --- app/test/Makefile| 2 +- app/test/meson.build | 2 +- app/test/{test_power_acpi_cpufre

[dpdk-dev] [PATCH 2/3] test: remove prefix _acpi from UT power function/test names

2019-03-07 Thread Lukasz Krakowiak
This patch remove prefix _acpi from power UT function/test names. Signed-off-by: Lukasz Krakowiak --- app/test/autotest_data.py | 4 ++-- app/test/meson.build | 2 +- app/test/test_power_cpufreq.c | 12 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a

[dpdk-dev] [PATCH 0/3] test: improve test coverage for power library

2019-03-07 Thread Lukasz Krakowiak
This patch rename test_power_acpi_cpufreq.c to test_power_cpufreq.c, remove prefix _acpi from UT power functions/test names, add UT for power turbo feature. Lukasz Krakowiak (3): test: rename test_power_acpi_cpufreq.c -> app/test/test_power_cpufreq.c test: remove prefix _acpi from

[dpdk-dev] [PATCH 3/3] test: add UT for power turbo feature

2019-03-07 Thread Lukasz Krakowiak
Add UT check_power_turbo. Signed-off-by: Lukasz Krakowiak --- app/test/test_power_cpufreq.c | 72 +++ 1 file changed, 72 insertions(+) diff --git a/app/test/test_power_cpufreq.c b/app/test/test_power_cpufreq.c index d099f2f47..c75c9bf1c 100644 --- a/app/test

[dpdk-dev] [PATCH v2] test: add snow3g test cases when digest is encrypted

2019-02-27 Thread Lukasz Krakowiak
Add test case for encryption, dectryption for snow3g when digest is encrypted Signed-off-by: Lukasz Krakowiak --- test/test/test_cryptodev.c| 91 ++-- .../test/test_cryptodev_snow3g_test_vectors.h | 132 +- 2 files changed, 210 insertions(+), 13

[dpdk-dev] [PATCH] test: add snow3g test cases when digest is encrypted

2019-02-13 Thread Lukasz Krakowiak
Add test case for encryption, dectryption for snow3g when digest is encrypted Signed-off-by: Lukasz Krakowiak --- test/test/test_cryptodev.c| 91 ++-- .../test/test_cryptodev_snow3g_test_vectors.h | 132 +- 2 files changed, 210 insertions(+), 13

[dpdk-dev] [PATCH] test: add snow3g test cases when digest is encrypted

2019-02-13 Thread Lukasz Krakowiak
Add test case for encryption, dectryption for snow3g when digest is encrypted Change-Id: I75bb535fa46ae23104f17d9c51278eca2c76e021 Signed-off-by: Lukasz Krakowiak --- test/test/test_cryptodev.c| 91 ++-- .../test/test_cryptodev_snow3g_test_vectors.h | 132