[dpdk-dev] [PATCH] net/mlx5: fix the size of tcp flags for modify actions

2021-04-28 Thread Wisam Jaddo
>From RFC the size of the TCP flags is 9, while the defined current size is 6. Fixes: 641dbe4fb053 ("net/mlx5: support modify field flow action") Cc: akozy...@nvidia.com Cc: sta...@dpdk.org Signed-off-by: Wisam Jaddo Reviewed-by: Alexander Kozyrev --- drivers/net/mlx5/mlx5_

[PATCH] vdpa/mlx5: add ConnectX-6 LX device ID

2022-06-23 Thread Wisam Jaddo
This adds ConnectX-6 LX to the list of supported Mellanox devices that run the MLX5 vdpa PMD. Signed-off-by: Wisam Jaddo --- drivers/vdpa/mlx5/mlx5_vdpa.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/vdpa/mlx5/mlx5_vdpa.c b/drivers/vdpa/mlx5/mlx5_vdpa.c index 76fa5d4299

[dpdk-dev] [PATCH] app/flow-perf: export some configuration options

2021-10-04 Thread Wisam Jaddo
-count=N Signed-off-by: Wisam Jaddo Reviewed-by: Alexander Kozyrev --- app/test-flow-perf/actions_gen.c | 14 ++--- app/test-flow-perf/actions_gen.h | 2 +- app/test-flow-perf/config.h | 4 +- app/test-flow-perf/flow_gen.c| 3 +- app/test-flow-perf/flow_gen.h| 1 + app/test

[dpdk-dev] [PATCH 0/5] New flow-perf fixes

2021-03-07 Thread Wisam Jaddo
Wisam Jaddo (5): app/flow-perf: start using more generic wrapper for cycles app/flow-perf: add new option to use unique data on the fly app/flow-perf: fix naming of CPU used structured data app/flow-perf: fix report total stats for masked ports app/flow-perf: fix the incremental IPv6 src

[dpdk-dev] [PATCH 1/5] app/flow-perf: start using more generic wrapper for cycles

2021-03-07 Thread Wisam Jaddo
rdtsc() is x86 related, while this might fail for other archs, so it's better to use more generic API for cycles measurement. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/app/test

[dpdk-dev] [PATCH 2/5] app/flow-perf: add new option to use unique data on the fly

2021-03-07 Thread Wisam Jaddo
using this new option: --unique-data Example of unique data usage: Insert many rules with different encap data for a flows that have encap action in it. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/actions_gen.c | 77 +--- app/test-flow-perf/actions_gen.h | 3

[dpdk-dev] [PATCH 3/5] app/flow-perf: fix naming of CPU used structured data

2021-03-07 Thread Wisam Jaddo
create_flow and create_meter are not correct names since those are records that contain creation and deletion, which makes them more of a record for such data. Fixes: d8099d7ecbd0 ("app/flow-perf: split dump functions") Cc: dongz...@nvidia.com Signed-off-by: Wisam Jaddo --- app/test

[dpdk-dev] [PATCH 4/5] app/flow-perf: fix report total stats for masked ports

2021-03-07 Thread Wisam Jaddo
functions") Cc: dongz...@nvidia.com Cc: sta...@dpdk.org Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c index 01607881df..e32714131c 100644 --- a/app/test-flow-perf/main.c

[dpdk-dev] [PATCH 5/5] app/flow-perf: fix the incremental IPv6 src set

2021-03-07 Thread Wisam Jaddo
-perf: add insertion rate calculation") Cc: wis...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Wisam Jaddo --- app/test-flow-perf/items_gen.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/test-flow-perf/items_gen.c b/app/test-flow-perf/items_gen.c i

[dpdk-dev] [PATCH v2 0/7] Enhancements and fixes for flow-perf

2021-03-10 Thread Wisam Jaddo
changes in V2: 1- Add first flow insertion latency calculation. 2- Fix for decap data in raw decap actions. Wisam Jaddo (7): app/flow-perf: start using more generic wrapper for cycles app/flow-perf: add new option to use unique data on the fly app/flow-perf: fix naming of CPU used

[dpdk-dev] [PATCH v2 1/7] app/flow-perf: start using more generic wrapper for cycles

2021-03-10 Thread Wisam Jaddo
rdtsc() is x86 related, while this might fail for other archs, so it's better to use more generic API for cycles measurement. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/app/test

[dpdk-dev] [PATCH v2 2/7] app/flow-perf: add new option to use unique data on the fly

2021-03-10 Thread Wisam Jaddo
using this new option: --unique-data Example of unique data usage: Insert many rules with different encap data for a flows that have encap action in it. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/actions_gen.c | 77 +--- app/test-flow-perf/actions_gen.h | 3

[dpdk-dev] [PATCH v2 3/7] app/flow-perf: fix naming of CPU used structured data

2021-03-10 Thread Wisam Jaddo
create_flow and create_meter are not correct names since those are records that contain creation and deletion, which makes them more of a record for such data. Fixes: d8099d7ecbd0 ("app/flow-perf: split dump functions") Cc: dongz...@nvidia.com Signed-off-by: Wisam Jaddo --- app/test

[dpdk-dev] [PATCH v2 4/7] app/flow-perf: fix report total stats for masked ports

2021-03-10 Thread Wisam Jaddo
functions") Cc: dongz...@nvidia.com Cc: sta...@dpdk.org Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c index 01607881df..e32714131c 100644 --- a/app/test-flow-perf/main.c

[dpdk-dev] [PATCH v2 5/7] app/flow-perf: fix the incremental IPv6 src set

2021-03-10 Thread Wisam Jaddo
-perf: add insertion rate calculation") Cc: wis...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Wisam Jaddo --- app/test-flow-perf/items_gen.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/test-flow-perf/items_gen.c b/app/test-flow-perf/items_gen.c i

[dpdk-dev] [PATCH v2 6/7] app/flow-perf: add first flow latency support

2021-03-10 Thread Wisam Jaddo
Starting from this commit the app will always report the first flow latency. This is useful in debugging to check the first flow insertion before any caching effect. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 9 + 1 file changed, 9 insertions(+) diff --git a/app/test

[dpdk-dev] [PATCH v2 0/7] Enhancements and fixes for flow-perf

2021-03-10 Thread Wisam Jaddo
changes in V2: 1- Add first flow insertion latency calculation. 2- Fix for decap data in raw decap actions. Wisam Jaddo (7): app/flow-perf: start using more generic wrapper for cycles app/flow-perf: add new option to use unique data on the fly app/flow-perf: fix naming of CPU used

[dpdk-dev] [PATCH v2 1/7] app/flow-perf: start using more generic wrapper for cycles

2021-03-10 Thread Wisam Jaddo
rdtsc() is x86 related, while this might fail for other archs, so it's better to use more generic API for cycles measurement. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/app/test

[dpdk-dev] [PATCH v2 2/7] app/flow-perf: add new option to use unique data on the fly

2021-03-10 Thread Wisam Jaddo
using this new option: --unique-data Example of unique data usage: Insert many rules with different encap data for a flows that have encap action in it. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/actions_gen.c | 77 +--- app/test-flow-perf/actions_gen.h | 3

[dpdk-dev] [PATCH v2 3/7] app/flow-perf: fix naming of CPU used structured data

2021-03-10 Thread Wisam Jaddo
create_flow and create_meter are not correct names since those are records that contain creation and deletion, which makes them more of a record for such data. Fixes: d8099d7ecbd0 ("app/flow-perf: split dump functions") Cc: dongz...@nvidia.com Signed-off-by: Wisam Jaddo --- app/test

[dpdk-dev] [PATCH v2 4/7] app/flow-perf: fix report total stats for masked ports

2021-03-10 Thread Wisam Jaddo
functions") Cc: dongz...@nvidia.com Cc: sta...@dpdk.org Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c index 01607881df..e32714131c 100644 --- a/app/test-flow-perf/main.c

[dpdk-dev] [PATCH v2 5/7] app/flow-perf: fix the incremental IPv6 src set

2021-03-10 Thread Wisam Jaddo
-perf: add insertion rate calculation") Cc: wis...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Wisam Jaddo --- app/test-flow-perf/items_gen.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/test-flow-perf/items_gen.c b/app/test-flow-perf/items_gen.c i

[dpdk-dev] [PATCH v2 6/7] app/flow-perf: add first flow latency support

2021-03-10 Thread Wisam Jaddo
Starting from this commit the app will always report the first flow latency. This is useful in debugging to check the first flow insertion before any caching effect. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 9 + 1 file changed, 9 insertions(+) diff --git a/app/test

[dpdk-dev] [PATCH v2 7/7] app/flow-perf: fix setting decap data for decap actions

2021-03-10 Thread Wisam Jaddo
When using decap actions it's been set to the data to decap into the encap_data instead of decap_data, as a results we end up with bad encap and decap data in many cases. Fixes: 0c8f1f4ab90e ("app/flow-perf: support raw encap/decap actions") Cc: sta...@dpdk.org Signed-off-

[dpdk-dev] [PATCH v3 0/7] Enhancements and fixes for flow-perf

2021-03-10 Thread Wisam Jaddo
-- v2: * Add first insertion flow latency calculation. * Fix for decap data set. v3: * Fixes in commit message. * Fixes the cover page. Wisam Jaddo (7): app/flow-perf: start using more generic wrapper for cycles app/flow-perf: add new option to use unique data on the fly app/flow-perf

[dpdk-dev] [PATCH v3 1/7] app/flow-perf: start using more generic wrapper for cycles

2021-03-10 Thread Wisam Jaddo
rdtsc() is x86 related, while this might fail for other archs, so it's better to use more generic API for cycles measurement. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/app/test

[dpdk-dev] [PATCH v3 2/7] app/flow-perf: add new option to use unique data on the fly

2021-03-10 Thread Wisam Jaddo
using this new option: --unique-data Example of unique data usage: Insert many rules with different encap data for a flows that have encap action in it. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/actions_gen.c | 77 +--- app/test-flow-perf/actions_gen.h | 3

[dpdk-dev] [PATCH v3 3/7] app/flow-perf: fix naming of CPU used structured data

2021-03-10 Thread Wisam Jaddo
create_flow and create_meter are not correct names since those are records that contain creation and deletion, which makes them more of a record for such data. Fixes: d8099d7ecbd0 ("app/flow-perf: split dump functions") Cc: dongz...@nvidia.com Signed-off-by: Wisam Jaddo --- app/test

[dpdk-dev] [PATCH v3 4/7] app/flow-perf: fix report total stats for masked ports

2021-03-10 Thread Wisam Jaddo
functions") Cc: dongz...@nvidia.com Cc: sta...@dpdk.org Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c index 01607881df..e32714131c 100644 --- a/app/test-flow-perf/main.c

[dpdk-dev] [PATCH v3 5/7] app/flow-perf: fix the incremental IPv6 src set

2021-03-10 Thread Wisam Jaddo
-perf: add insertion rate calculation") Cc: wis...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Wisam Jaddo --- app/test-flow-perf/items_gen.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/test-flow-perf/items_gen.c b/app/test-flow-perf/items_gen.c i

[dpdk-dev] [PATCH v3 6/7] app/flow-perf: add first flow latency support

2021-03-10 Thread Wisam Jaddo
Starting from this commit the app will always report the first flow latency. This is useful in debugging to check the first flow insertion before any caching effect. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 9 + 1 file changed, 9 insertions(+) diff --git a/app/test

[dpdk-dev] [PATCH v3 0/7] Enhancements and fixes for flow-perf

2021-03-10 Thread Wisam Jaddo
-- v2: * Add first insertion flow latency calculation. * Fix for decap data set. v3: * Fixes in commit message. * Fixes the cover page. Wisam Jaddo (7): app/flow-perf: start using more generic wrapper for cycles app/flow-perf: add new option to use unique data on the fly app/flow-perf

[dpdk-dev] [PATCH v3 1/7] app/flow-perf: start using more generic wrapper for cycles

2021-03-10 Thread Wisam Jaddo
rdtsc() is x86 related, while this might fail for other archs, so it's better to use more generic API for cycles measurement. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/app/test

[dpdk-dev] [PATCH v3 2/7] app/flow-perf: add new option to use unique data on the fly

2021-03-10 Thread Wisam Jaddo
using this new option: --unique-data Example of unique data usage: Insert many rules with different encap data for a flows that have encap action in it. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/actions_gen.c | 77 +--- app/test-flow-perf/actions_gen.h | 3

[dpdk-dev] [PATCH v3 3/7] app/flow-perf: fix naming of CPU used structured data

2021-03-10 Thread Wisam Jaddo
create_flow and create_meter are not correct names since those are records that contain creation and deletion, which makes them more of a record for such data. Fixes: d8099d7ecbd0 ("app/flow-perf: split dump functions") Cc: dongz...@nvidia.com Signed-off-by: Wisam Jaddo --- app/test

[dpdk-dev] [PATCH v3 4/7] app/flow-perf: fix report total stats for masked ports

2021-03-10 Thread Wisam Jaddo
functions") Cc: dongz...@nvidia.com Cc: sta...@dpdk.org Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c index 01607881df..e32714131c 100644 --- a/app/test-flow-perf/main.c

[dpdk-dev] [PATCH v3 6/7] app/flow-perf: add first flow latency support

2021-03-10 Thread Wisam Jaddo
Starting from this commit the app will always report the first flow latency. This is useful in debugging to check the first flow insertion before any caching effect. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 9 + 1 file changed, 9 insertions(+) diff --git a/app/test

[dpdk-dev] [PATCH v3 7/7] app/flow-perf: fix setting decap data for decap actions

2021-03-10 Thread Wisam Jaddo
When using decap actions it's been set to the data to decap into the encap_data instead of decap_data, as a results we end up with bad encap and decap data in many cases. Fixes: 0c8f1f4ab90e ("app/flow-perf: support raw encap/decap actions") Cc: sta...@dpdk.org Signed-off-

[dpdk-dev] [PATCH v3 5/7] app/flow-perf: fix the incremental IPv6 src set

2021-03-10 Thread Wisam Jaddo
-perf: add insertion rate calculation") Cc: wis...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Wisam Jaddo --- app/test-flow-perf/items_gen.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/test-flow-perf/items_gen.c b/app/test-flow-perf/items_gen.c i

[dpdk-dev] [PATCH v3 0/7] Enhancements and fixes for flow-perf

2021-03-14 Thread Wisam Jaddo
insertion flow latency calculation. * Fix for decap data set. v3: * Fixes in commit message. * Fixes the cover page. v4: * Fix warrning of 100 char long line. * Add more discription in cover letter. Wisam Jaddo (7): app/flow-perf: start using more generic wrapper for cycles app/flow-perf: add new

[dpdk-dev] [PATCH v4 1/7] app/flow-perf: start using more generic wrapper for cycles

2021-03-14 Thread Wisam Jaddo
rdtsc() is x86 related, while this might fail for other archs, so it's better to use more generic API for cycles measurement. Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/main.c | 24 1 file changed, 12 insertions(+), 12 dele

[dpdk-dev] [PATCH v4 2/7] app/flow-perf: add new option to use unique data on the fly

2021-03-14 Thread Wisam Jaddo
using this new option: --unique-data Example of unique data usage: Insert many rules with different encap data for a flows that have encap action in it. Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/actions_gen.c | 77 +--- app/test-flow

[dpdk-dev] [PATCH v4 3/7] app/flow-perf: fix naming of CPU used structured data

2021-03-14 Thread Wisam Jaddo
create_flow and create_meter are not correct names since those are records that contain creation and deletion, which makes them more of a record for such data. Fixes: d8099d7ecbd0 ("app/flow-perf: split dump functions") Cc: dongz...@nvidia.com Signed-off-by: Wisam Jaddo Acked-by:

[dpdk-dev] [PATCH v4 4/7] app/flow-perf: fix report total stats for masked ports

2021-03-14 Thread Wisam Jaddo
functions") Cc: dongz...@nvidia.com Cc: sta...@dpdk.org Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c index 01607881df..e32714131c 100644 ---

[dpdk-dev] [PATCH v4 5/7] app/flow-perf: fix the incremental IPv6 src set

2021-03-14 Thread Wisam Jaddo
-perf: add insertion rate calculation") Cc: wis...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/items_gen.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/test-flow-perf/items_gen.c b/app

[dpdk-dev] [PATCH v4 6/7] app/flow-perf: add first flow latency support

2021-03-14 Thread Wisam Jaddo
Starting from this commit the app will always report the first flow latency. This is useful in debugging to check the first flow insertion before any caching effect. Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/main.c | 11 +++ 1 file changed, 11

[dpdk-dev] [PATCH v4 7/7] app/flow-perf: fix setting decap data for decap actions

2021-03-14 Thread Wisam Jaddo
When using decap actions it's been set to the data to decap into the encap_data instead of decap_data, as a results we end up with bad encap and decap data in many cases. Fixes: 0c8f1f4ab90e ("app/flow-perf: support raw encap/decap actions") Cc: sta...@dpdk.org Signed-off-by: Wis

[dpdk-dev] [PATCH] app/testpmd: handle unused variables

2018-04-18 Thread Wisam Jaddo
Unused variables will appear when setting RTE_LIBRTE_I40E_PMD to be disabled. The fix was to move these variables to the I40E_PMD scope, since only I40E_PMD is using it. Fixes: a9dbe1802226 ("fix ethdev port id validation") Cc: tho...@monjalon.net Signed-off-by: Wisam Jaddo --- ap

[dpdk-dev] [PATCH] app/testpmd: add custom topology command

2018-05-08 Thread Wisam Jaddo
Set custom topology for forwading packets by making the given two ports as pair, in custom topology the active ports will be the defiend in custum-topo only. This command will be useful in testing, when special topology is needed. Signed-off-by: Wisam Jaddo --- app/test-pmd/cmdline.c

[dpdk-dev] [PATCH 0/2] app/testpmd: introduce new commands in forward topology

2018-05-09 Thread Wisam Jaddo
1- Add new forward topology (custom): This toplogy will allow to create any topoloy you may need. 2- Add new command to set the custom toplogy. 3- Add new command to set the topoly on the fly. Wisam Jaddo (2): app/testpmd: add custom topology command app/testpmd: add set topology on the fly

[dpdk-dev] [PATCH 2/2] app/testpmd: add set topology on the fly command

2018-05-09 Thread Wisam Jaddo
Change the forward topology while testpmd is running, the valid topologies are loop, paired, chained & custom. When the forward topology is changed on the fly, all the ports will restore their active status. usage: testpmd> set fwd-topo paired|chained|loop|custom Signed-off-by: Wisa

[dpdk-dev] [PATCH 1/2] app/testpmd: add custom topology command

2018-05-09 Thread Wisam Jaddo
d_2) Signed-off-by: Wisam Jaddo --- app/test-pmd/cmdline.c | 49 + app/test-pmd/config.c | 41 app/test-pmd/parameters.c | 6 ++-- app/test-pmd/testpmd.h |

[dpdk-dev] [PATCH v3 0/2] app/testpmd: introduce new commands in forward topology

2018-05-09 Thread Wisam Jaddo
1- Add new forward topology (custom): This toplogy will allow to create any topoloy you may need. 2- Add new command to set the custom toplogy. 3- Add new command to set the topoly on the fly Wisam Jaddo (2): app/testpmd: add custom topology command app/testpmd: add set topology on the fly

[dpdk-dev] [PATCH v3 2/2] app/testpmd: add set topology on the fly command

2018-05-09 Thread Wisam Jaddo
Change the forward topology while testpmd is running, the valid topologies are loop, paired, chained & custom. When the forward topology is changed on the fly, all the ports will restore their active status. usage: testpmd> set fwd-topo paired|chained|loop|custom Signed-off-by: Wisa

[dpdk-dev] [PATCH v3 1/2] app/testpmd: add custom topology command

2018-05-09 Thread Wisam Jaddo
d_2) Signed-off-by: Wisam Jaddo --- app/test-pmd/cmdline.c | 49 + app/test-pmd/config.c | 41 app/test-pmd/parameters.c | 6 ++-- app/test-pmd/testpmd.h |

[dpdk-dev] [PATCH v2] app/testpmd: add eth peer CLI command

2018-01-14 Thread Wisam Jaddo
This command will simulate the process of setting the eth-peer from command line. It will be useful to preform extra testing. usage: testpmd> set eth-peer . Signed-off-by: Wisam Jaddo Acked-by: Wenzhuo Lu --- changes in v2: added Ack from Wenzhuo, and sending to ML ag

[dpdk-dev] [PATCH] app/flow-perf: fix condition of hairpin queues setup

2020-06-30 Thread Wisam Jaddo
The hairpin queue is the one that start from normal rxq, and will be less than nr_queues where nr_queues is the sum of normal and hairpin Fixes: bf3688f1e816 ("app/flow-perf: add insertion rate calculation") Cc: wis...@mellanox.com Signed-off-by: Wisam Jaddo --- app/test-flow-perf/

[dpdk-dev] [PATCH v2] app/flow-perf: fix condition of hairpin queues setup

2020-07-06 Thread Wisam Jaddo
The hairpin queue is the one that start from normal rxq, and will be less than nr_queues where nr_queues is the sum of normal and hairpin Fixes: bf3688f1e816 ("app/flow-perf: add insertion rate calculation") Cc: wis...@mellanox.com Signed-off-by: Wisam Jaddo Reviewed-by: Asaf Pens

[dpdk-dev] [PATCH] app/flow-perf: fix typo in usage

2020-07-06 Thread Wisam Jaddo
>From hairping-rss into hairpin-rss Fixes: bf3688f1e816 ("app/flow-perf: add insertion rate calculation") Cc: wis...@mellanox.com Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-flow-perf/main

[dpdk-dev] [PATCH v3] app/flow-perf: fix condition of hairpin queues setup

2020-07-06 Thread Wisam Jaddo
The hairpin queue is the one that start from normal rxq, and will be less than nr_queues where nr_queues is the sum of normal and hairpin Fixes: bf3688f1e816 ("app/flow-perf: add insertion rate calculation") Cc: wis...@mellanox.com Signed-off-by: Wisam Jaddo Reviewed-by: Asaf Pens

[dpdk-dev] [PATCH v2 2/5] app/test-flow-perf: add insertion rate calculation

2020-04-30 Thread Wisam Jaddo
future we may have a multi core insertion rate measurement support in the app. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/Makefile | 3 + app/test-flow-perf/actions_gen.c | 86 ++ app/test-flow-perf/actions_gen.h | 48 app/test-flow-perf/flow_gen.c| 176

[dpdk-dev] [PATCH v2 1/5] app/test-flow-perf: add flow performance skeleton

2020-04-30 Thread Wisam Jaddo
Add flow performance application skeleton. Signed-off-by: Wisam Jaddo --- MAINTAINERS | 5 + app/Makefile | 1 + app/meson.build | 1 + app/test-flow-perf/Makefile | 26 +++ app/test-flow-perf/main.c

[dpdk-dev] [PATCH v2 0/5] *** Introduce flow perf application ***

2020-04-30 Thread Wisam Jaddo
From: root Add new application to test rte flow performance from: - Insertion rate. - Deletion rate. - Memory consumption. - PPS forward measurement. --- v2: * reset cpu_time_used every port. * generate different RSS action every flow with different RETA. * Fix in commit log message Wisam

[dpdk-dev] [PATCH v2 3/5] app/test-flow-perf: add deletion rate calculation

2020-04-30 Thread Wisam Jaddo
Add the ability to test deletion rate for flow performance application. This feature is disabled by default, and can be enabled by add "--deletion-rate" in the application command line options. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c

[dpdk-dev] [PATCH v2 4/5] app/test-flow-perf: add memory dump to app

2020-04-30 Thread Wisam Jaddo
insertion then deletion. Signed-off-by: Suanming Mou Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 69 ++ doc/guides/tools/flow-perf.rst | 6 ++- 2 files changed, 74 insertions(+), 1 deletion(-) diff --git a/app/test-flow-perf/main.c b/app/test

[dpdk-dev] [PATCH v2 5/5] app/test-flow-perf: add packet forwarding support

2020-04-30 Thread Wisam Jaddo
-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 300 + doc/guides/tools/flow-perf.rst | 6 + 2 files changed, 306 insertions(+) diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c index 95435910de..2596d05dc2 100644 --- a/app/test-flow-perf

[dpdk-dev] [PATCH] net/mlx5: fix set VLAN vid size check

2020-04-30 Thread Wisam Jaddo
nox.com Cc: sta...@dpdk.org backport Signed-off-by: Wisam Jaddo --- drivers/net/mlx5/mlx5_flow_dv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c index 6263ecc731..2b88e85248 100644 --- a/drivers/net/mlx5/mlx5

[dpdk-dev] [PATCH v3 0/5] *** Introduce flow perf application ***

2020-04-30 Thread Wisam Jaddo
RETA. * Fix in commit log message Wisam Jaddo (5): app/test-flow-perf: add flow performance skeleton app/test-flow-perf: add insertion rate calculation app/test-flow-perf: add deletion rate calculation app/test-flow-perf: add memory dump to app app/test-flow-perf: add packet forwarding

[dpdk-dev] [PATCH v3 1/5] app/test-flow-perf: add flow performance skeleton

2020-04-30 Thread Wisam Jaddo
Add flow performance application skeleton. Signed-off-by: Wisam Jaddo --- MAINTAINERS | 5 + app/Makefile | 1 + app/meson.build | 1 + app/test-flow-perf/Makefile | 26 +++ app/test-flow-perf/main.c

[dpdk-dev] [PATCH v3 2/5] app/test-flow-perf: add insertion rate calculation

2020-04-30 Thread Wisam Jaddo
future we may have a multi core insertion rate measurement support in the app. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/Makefile | 3 + app/test-flow-perf/actions_gen.c | 86 ++ app/test-flow-perf/actions_gen.h | 48 app/test-flow-perf/flow_gen.c| 176

[dpdk-dev] [PATCH v3 5/5] app/test-flow-perf: add packet forwarding support

2020-04-30 Thread Wisam Jaddo
-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 300 + doc/guides/tools/flow-perf.rst | 6 + 2 files changed, 306 insertions(+) diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c index 95435910de..2596d05dc2 100644 --- a/app/test-flow-perf

[dpdk-dev] [PATCH v3 4/5] app/test-flow-perf: add memory dump to app

2020-04-30 Thread Wisam Jaddo
insertion then deletion. Signed-off-by: Suanming Mou Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 69 ++ doc/guides/tools/flow-perf.rst | 6 ++- 2 files changed, 74 insertions(+), 1 deletion(-) diff --git a/app/test-flow-perf/main.c b/app/test

[dpdk-dev] [PATCH v3 3/5] app/test-flow-perf: add deletion rate calculation

2020-04-30 Thread Wisam Jaddo
Add the ability to test deletion rate for flow performance application. This feature is disabled by default, and can be enabled by add "--deletion-rate" in the application command line options. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c

[dpdk-dev] [PATCH v4 1/5] app/test-flow-perf: add flow performance skeleton

2020-04-30 Thread Wisam Jaddo
Add flow performance application skeleton. Signed-off-by: Wisam Jaddo --- MAINTAINERS | 5 + app/Makefile | 1 + app/meson.build | 1 + app/test-flow-perf/Makefile | 26 +++ app/test-flow-perf/main.c

[dpdk-dev] [PATCH v4 3/5] app/test-flow-perf: add deletion rate calculation

2020-04-30 Thread Wisam Jaddo
Add the ability to test deletion rate for flow performance application. This feature is disabled by default, and can be enabled by add "--deletion-rate" in the application command line options. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c

[dpdk-dev] [PATCH v4 0/5] Introduce flow perf application

2020-04-30 Thread Wisam Jaddo
port. * generate different RSS action every flow with different RETA. * Fix in commit log message Wisam Jaddo (5): app/test-flow-perf: add flow performance skeleton app/test-flow-perf: add insertion rate calculation app/test-flow-perf: add deletion rate calculation app/test-flow-perf: add

[dpdk-dev] [PATCH v4 4/5] app/test-flow-perf: add memory dump to app

2020-04-30 Thread Wisam Jaddo
insertion then deletion. Signed-off-by: Suanming Mou Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 69 ++ doc/guides/tools/flow-perf.rst | 6 ++- 2 files changed, 74 insertions(+), 1 deletion(-) diff --git a/app/test-flow-perf/main.c b/app/test

[dpdk-dev] [PATCH v4 5/5] app/test-flow-perf: add packet forwarding support

2020-04-30 Thread Wisam Jaddo
-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 300 + doc/guides/tools/flow-perf.rst | 6 + 2 files changed, 306 insertions(+) diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c index 95435910de..2596d05dc2 100644 --- a/app/test-flow-perf

[dpdk-dev] [PATCH v4 2/5] app/test-flow-perf: add insertion rate calculation

2020-04-30 Thread Wisam Jaddo
future we may have a multi core insertion rate measurement support in the app. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/Makefile | 3 + app/test-flow-perf/actions_gen.c | 86 ++ app/test-flow-perf/actions_gen.h | 48 app/test-flow-perf/flow_gen.c| 176

[dpdk-dev] [PATCH v5 1/5] app/flow-perf: add flow performance skeleton

2020-05-06 Thread Wisam Jaddo
Add flow performance application skeleton. Signed-off-by: Wisam Jaddo --- MAINTAINERS| 5 + app/Makefile | 1 + app/meson.build| 1 + app/test-flow-perf/Makefile| 23 +++ app/test-flow-perf/config.h

[dpdk-dev] [PATCH v5 0/5] Introduce flow perf application

2020-05-06 Thread Wisam Jaddo
ion. v2: * reset cpu_time_used every port. * generate different RSS action every flow with different RETA. * Fix in commit log message Wisam Jaddo (5): app/flow-perf: add flow performance skeleton app/flow-perf: add insertion rate calculation app/flow-perf: add deletion rate calculation

[dpdk-dev] [PATCH v5 2/5] app/flow-perf: add insertion rate calculation

2020-05-06 Thread Wisam Jaddo
future we may have a multi core insertion rate measurement support in the app. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/Makefile | 3 + app/test-flow-perf/actions_gen.c | 88 app/test-flow-perf/actions_gen.h | 53 + app/test-flow-perf/config.h | 15 ++ app/test

[dpdk-dev] [PATCH v5 3/5] app/flow-perf: add deletion rate calculation

2020-05-06 Thread Wisam Jaddo
Add the ability to test deletion rate for flow performance application. This feature is disabled by default, and can be enabled by add "--deletion-rate" in the application command line options. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c

[dpdk-dev] [PATCH v5 4/5] app/flow-perf: add memory dump to app

2020-05-06 Thread Wisam Jaddo
insertion then deletion. Signed-off-by: Suanming Mou Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 71 +- doc/guides/tools/flow-perf.rst | 6 ++- 2 files changed, 75 insertions(+), 2 deletions(-) diff --git a/app/test-flow-perf/main.c b/app/test

[dpdk-dev] [PATCH v5 5/5] app/flow-perf: add packet forwarding support

2020-05-06 Thread Wisam Jaddo
: Wisam Jaddo --- app/test-flow-perf/main.c | 300 + doc/guides/tools/flow-perf.rst | 6 + 2 files changed, 306 insertions(+) diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c index c4e92f938..06afd3afa 100644 --- a/app/test-flow-perf/main.c

[dpdk-dev] [PATCH v6 1/5] app/flow-perf: add flow performance skeleton

2020-05-11 Thread Wisam Jaddo
Add flow performance application skeleton. Signed-off-by: Wisam Jaddo --- MAINTAINERS| 5 + app/Makefile | 1 + app/meson.build| 1 + app/test-flow-perf/Makefile| 23 +++ app/test-flow-perf/config.h

[dpdk-dev] [PATCH v6 2/5] app/flow-perf: add insertion rate calculation

2020-05-11 Thread Wisam Jaddo
future we may have a multi core insertion rate measurement support in the app. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/Makefile| 3 + app/test-flow-perf/actions_gen.c | 164 + app/test-flow-perf/actions_gen.h | 29 ++ app/test-flow-perf/config.h

[dpdk-dev] [PATCH v6 0/5] Introduce flow perf application

2020-05-11 Thread Wisam Jaddo
Fix compilation error due to variable set but not used. v3: * Fix passing hairpin queues to hairpin rss action. v2: * reset cpu_time_used every port. * generate different RSS action every flow with different RETA. * Fix in commit log message Wisam Jaddo (5): app/flow-perf: add flow performa

[dpdk-dev] [PATCH v6 3/5] app/flow-perf: add deletion rate calculation

2020-05-11 Thread Wisam Jaddo
Add the ability to test deletion rate for flow performance application. This feature is disabled by default, and can be enabled by add "--deletion-rate" in the application command line options. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c

[dpdk-dev] [PATCH v6 4/5] app/flow-perf: add memory dump to app

2020-05-11 Thread Wisam Jaddo
insertion then deletion. Signed-off-by: Suanming Mou Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 72 +- doc/guides/rel_notes/release_20_05.rst | 1 + doc/guides/tools/flow-perf.rst | 6 ++- 3 files changed, 77 insertions(+), 2 deletion

[dpdk-dev] [PATCH v6 5/5] app/flow-perf: add packet forwarding support

2020-05-11 Thread Wisam Jaddo
: Wisam Jaddo --- app/test-flow-perf/main.c | 301 + doc/guides/rel_notes/release_20_05.rst | 1 + doc/guides/tools/flow-perf.rst | 6 + 3 files changed, 308 insertions(+) diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c index

[dpdk-dev] [PATCH v6 2/5] app/flow-perf: add insertion rate calculation

2020-05-11 Thread Wisam Jaddo
future we may have a multi core insertion rate measurement support in the app. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/Makefile| 3 + app/test-flow-perf/actions_gen.c | 164 + app/test-flow-perf/actions_gen.h | 29 ++ app/test-flow-perf/config.h

[dpdk-dev] [PATCH v6 4/5] app/flow-perf: add memory dump to app

2020-05-11 Thread Wisam Jaddo
insertion then deletion. Signed-off-by: Suanming Mou Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c | 72 +- doc/guides/rel_notes/release_20_05.rst | 1 + doc/guides/tools/flow-perf.rst | 6 ++- 3 files changed, 77 insertions(+), 2 deletion

[dpdk-dev] [PATCH v6 0/5] Introduce flow perf application

2020-05-11 Thread Wisam Jaddo
Fix compilation error due to variable set but not used. v3: * Fix passing hairpin queues to hairpin rss action. v2: * reset cpu_time_used every port. * generate different RSS action every flow with different RETA. * Fix in commit log message Wisam Jaddo (5): app/flow-perf: add flow performa

[dpdk-dev] [PATCH v6 3/5] app/flow-perf: add deletion rate calculation

2020-05-11 Thread Wisam Jaddo
Add the ability to test deletion rate for flow performance application. This feature is disabled by default, and can be enabled by add "--deletion-rate" in the application command line options. Signed-off-by: Wisam Jaddo --- app/test-flow-perf/main.c

[dpdk-dev] [PATCH v6 1/5] app/flow-perf: add flow performance skeleton

2020-05-11 Thread Wisam Jaddo
Add flow performance application skeleton. Signed-off-by: Wisam Jaddo --- MAINTAINERS| 5 + app/Makefile | 1 + app/meson.build| 1 + app/test-flow-perf/Makefile| 23 +++ app/test-flow-perf/config.h

[dpdk-dev] [PATCH v6 5/5] app/flow-perf: add packet forwarding support

2020-05-11 Thread Wisam Jaddo
: Wisam Jaddo --- app/test-flow-perf/main.c | 301 + doc/guides/rel_notes/release_20_05.rst | 1 + doc/guides/tools/flow-perf.rst | 6 + 3 files changed, 308 insertions(+) diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c index

[dpdk-dev] [PATCH v7 0/5] Introduce flow perf application

2020-06-04 Thread Wisam Jaddo
compilation error due to variable set but not used. v3: * Fix passing hairpin queues to hairpin rss action. v2: * reset cpu_time_used every port. * generate different RSS action every flow with different RETA. * Fix in commit log message Wisam Jaddo (5): app/flow-perf: add flow performance sk

[dpdk-dev] [PATCH v7 4/5] app/flow-perf: add memory dump to app

2020-06-04 Thread Wisam Jaddo
insertion then deletion. Signed-off-by: Suanming Mou Signed-off-by: Wisam Jaddo Acked-by: Xiaoyu Min --- app/test-flow-perf/main.c | 72 +- doc/guides/rel_notes/release_20_08.rst | 1 + doc/guides/tools/flow-perf.rst | 6 ++- 3 files changed, 77

[dpdk-dev] [PATCH v7 1/5] app/flow-perf: add flow performance skeleton

2020-06-04 Thread Wisam Jaddo
Add flow performance application skeleton. Signed-off-by: Wisam Jaddo Reviewed-by: Andrew Rybchenko Acked-by: Xiaoyu Min --- MAINTAINERS| 5 + app/Makefile | 1 + app/meson.build| 1 + app/test-flow-perf

  1   2   >