[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] 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_

[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 4/4] app/flow-perf: remove redundant items memset and vars

2020-11-26 Thread Wisam Jaddo
") Cc: wis...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Wisam Jaddo Reviewed-by: Alexander Kozyrev Reviewed-by: Suanming Mou --- app/test-flow-perf/actions_gen.c | 30 +++- app/test-flow-perf/items_gen.c | 123 --- 2 files changed, 44 insertio

[dpdk-dev] [PATCH 3/4] app/flow-perf: change clock measurement functions

2020-11-26 Thread Wisam Jaddo
change the way of measurement to use rd_tsc, and the results will be divided by the processor frequency. Signed-off-by: Wisam Jaddo Reviewed-by: Alexander Kozyrev Reviewed-by: Suanming Mou --- app/test-flow-perf/main.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff

[dpdk-dev] [PATCH 2/4] app/flow-perf: add multiple cores insertion and deletion

2020-11-26 Thread Wisam Jaddo
N Where 1 =< N <= RTE_MAX_LCORE Signed-off-by: Wisam Jaddo Reviewed-by: Alexander Kozyrev Reviewed-by: Suanming Mou --- app/test-flow-perf/actions_gen.c | 175 ++-- app/test-flow-perf/actions_gen.h | 2 +- app/test-flow-perf/config.h | 1 + app/test-flow-perf/flo

[dpdk-dev] [PATCH 1/4] app/flow-perf: refactor flows handler

2020-11-26 Thread Wisam Jaddo
deletion feature is enabled or not, while in previous solution it was printing all memory changes after flows_handler(). Thus if deletion is there, it will not provide any memory that represents the rte_flow rule size. Also current design is easier to read and understand. Signed-off-by: Wisam Jaddo

[dpdk-dev] [PATCH 0/4] app/flow-perf: add multi threaded support

2020-11-26 Thread Wisam Jaddo
After this series the application will start supporting testing multiple threaded insertion and deletion rates. Also it will provide the latency & throughput rates of all threads. Wisam Jaddo (4): app/flow-perf: refactor flows handler app/flow-perf: add multiple cores insertion and dele

[dpdk-dev] [PATCH 13/13] app/flow-perf: allow fixed values for actions

2020-08-30 Thread Wisam Jaddo
flows: config.h: #define FIXED_VALUES 1 Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/actions_gen.c | 131 +++ app/test-flow-perf/config.h | 6 ++ 2 files changed, 120 insertions(+), 17 deletions(-) diff --git a/app/test-flow-perf

[dpdk-dev] [PATCH 12/13] app/flow-perf: add icmp matching support

2020-08-30 Thread Wisam Jaddo
Start support matching on icmpv4 and icmpv6. Usage: --icmpv4: add icmp item to match on. --icmpv6: add icmpv6 item to match on. Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/items_gen.c | 41 +- app/test-flow-perf/main.c

[dpdk-dev] [PATCH 10/13] app/flow-perf: add random mark id values

2020-08-30 Thread Wisam Jaddo
Instead of having single id value, use up to 256 values, thus we make sure that all flows will not use same mark action. Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/actions_gen.c | 6 -- app/test-flow-perf/config.h | 1 - 2 files changed, 4 insertions

[dpdk-dev] [PATCH 09/13] app/flow-perf: fix source ipv4 matching

2020-08-30 Thread Wisam Jaddo
All value must be converted into intended endianness. Fixes: bf3688f1e816 ("app/flow-perf: add insertion rate calculation") Cc: wis...@mellanox.com Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/items_gen.c | 2 +- 1 file changed, 1 insertion(+),

[dpdk-dev] [PATCH 11/13] app/flow-perf: add set port mask to options

2020-08-30 Thread Wisam Jaddo
Sometimes you need to check flow performance for certain port and not all ports. Thus a portmask option is needed. Usage: --portmask=N Where N represent the hexadecimal bitmask of ports used. Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/main.c

[dpdk-dev] [PATCH 07/13] app/flow-perf: add raw encap/decap actions support

2020-08-30 Thread Wisam Jaddo
-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/actions_gen.c | 330 - app/test-flow-perf/actions_gen.h | 8 +- app/test-flow-perf/flow_gen.c | 5 +- app/test-flow-perf/flow_gen.h | 2 + app/test-flow-perf/main.c

[dpdk-dev] [PATCH 08/13] app/flow-perf: add VXLAN encap/decap actions support

2020-08-30 Thread Wisam Jaddo
Introduce vxlan-encap and vxlan-decap actions. vxlan-encap have fixed pattern and values for encap data. Usage example: --vxlan-encap --vxlan-decap Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/actions_gen.c | 64 ++ app/test-flow

[dpdk-dev] [PATCH 06/13] app/flow-perf: fix memory leak from RSS action

2020-08-30 Thread Wisam Jaddo
-perf: add insertion rate calculation") Cc: wis...@mellanox.com Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/actions_gen.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/test-flow-perf/actions_gen.c b/app/test-flow-perf/acti

[dpdk-dev] [PATCH 05/13] app/flow-perf: add flag action support

2020-08-30 Thread Wisam Jaddo
Introudce flag action support to flow perf application. Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/actions_gen.c | 14 ++ app/test-flow-perf/main.c | 10 ++ doc/guides/rel_notes/release_20_08.rst | 1 + doc/guides/tools

[dpdk-dev] [PATCH 04/13] app/flow-perf: add header modify actions support

2020-08-30 Thread Wisam Jaddo
Introduce headers modify actions in the app. All header modify actions will add different value for each flow, to make sure each flow will create and use it's own actions. Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/actions_gen.c

[dpdk-dev] [PATCH 03/13] app/flow-perf: start supporting user order

2020-08-30 Thread Wisam Jaddo
e of same action. Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/actions_gen.c | 26 +++--- app/test-flow-perf/actions_gen.h | 2 +- app/test-flow-perf/config.h| 1 + app/test-flow-perf/flow_gen.c | 25 +++--- app/test-flow-

[dpdk-dev] [PATCH 02/13] doc/flow-perf: fix app sections

2020-08-30 Thread Wisam Jaddo
Currently all the sections are considered as main title under DPDK Tools User Guides. This fix will collect all flow perf sections under one title which is Flow Performance Tool Fixes: 3344cf2e3001 ("app/flow-perf: add flow performance skeleton") Cc: wis...@mellanox.com Signed-off

[dpdk-dev] [PATCH 01/13] app/flow-perf: fix actions mask macro usage

2020-08-30 Thread Wisam Jaddo
Actions have it's own macro which is FLOW_ACTION_MASK Fixes: bf3688f1e816 ("app/flow-perf: add insertion rate calculation") Cc: wis...@mellanox.com Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/actions_gen.c | 18 +- 1 file change

[dpdk-dev] [PATCH 00/13] app/flow-perf: add support for new items/actions

2020-08-30 Thread Wisam Jaddo
t modify headers values and different encap data for each rte flow. Wisam Jaddo (13): app/flow-perf: fix actions mask macro usage doc/flow-perf: fix app sections app/flow-perf: start supporting user order app/flow-perf: add header modify actions support app/flow-perf: add flag action suppo

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

2020-07-16 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 Pen

[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] 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 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 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 v7 5/5] app/flow-perf: add packet forwarding support

2020-06-04 Thread Wisam Jaddo
: Wisam Jaddo Acked-by: Xiaoyu Min --- app/test-flow-perf/main.c | 301 + doc/guides/rel_notes/release_20_08.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

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

2020-06-04 Thread Wisam Jaddo
-off-by: Wisam Jaddo Acked-by: Xiaoyu Min --- app/test-flow-perf/Makefile| 3 + app/test-flow-perf/actions_gen.c | 276 +++ app/test-flow-perf/actions_gen.h | 18 + app/test-flow-perf/config.h| 17 + app/test-flow-perf/flow_gen.c | 61

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

2020-06-04 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 Acked-by: Xiaoyu Min --- app/test-flow-perf/main.c

[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

[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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

  1   2   >