[dpdk-dev] [PATCH] pipeline: add support for action annotations

2021-10-14 Thread Yogesh Jangra
Enable restricting the scope of an action to regular table entries or to the table default entry in order to support the P4 language tableonly or defaultonly annotations. Signed-off-by: Yogesh Jangra Acked-by: Cristian Dumitrescu --- lib/pipeline/rte_swx_ctl.c | 6 ++ lib

[dpdk-dev] [PATCH v2] pipeline: add support for action annotations

2021-10-18 Thread Yogesh Jangra
Enable restricting the scope of an action to regular table entries or to the table default entry in order to support the P4 language tableonly or defaultonly annotations. Signed-off-by: Yogesh Jangra Acked-by: Cristian Dumitrescu --- lib/pipeline/rte_swx_ctl.c | 6 ++ lib

[dpdk-dev] [PATCH] pipeline: fix instruction label check

2021-10-21 Thread Yogesh Jangra
The instruction_data array was incorrectly indexed, which resulted in the array index getting out of bounds and sometimes segfault. Fixes: a1711f (“pipeline: add SWX Rx and extract instructions“) Cc: sta...@dpdk.org Signed-off-by: Yogesh Jangra Acked-by: Cristian Dumitrescu --- lib/pipeline

[dpdk-dev] [PATCH] pipeline: fix dead code

2021-10-27 Thread Yogesh Jangra
Fix minor dead code issue reported by Coverity. Coverity issue: 373653 Fixes: e9d870 ("pipeline: add SWX pipeline tables") Signed-off-by: Yogesh Jangra Acked-by: Cristian Dumitrescu --- lib/pipeline/rte_swx_pipeline.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -

[dpdk-dev] [PATCH] port: configure loop count for source port

2021-09-17 Thread Yogesh Jangra
Add support for configurable number of loops through the input PCAP file for the source port. Added an additional parameter to source port CLI command. Signed-off-by: Yogesh Jangra Acked-by: Cristian Dumitrescu --- examples/pipeline/cli.c | 17

[PATCH] pipeline: fix rss configuration

2023-03-01 Thread Yogesh Jangra
: Yogesh Jangra Signed-off-by: R, Kamalakannan Acked-by: Cristian Dumitrescu --- lib/pipeline/rte_swx_pipeline_spec.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/pipeline/rte_swx_pipeline_spec.c b/lib/pipeline/rte_swx_pipeline_spec.c index

[PATCH] pipeline: fix rss configuration

2023-03-01 Thread Yogesh Jangra
Currently, the rss object is configured after action, which leads to rss instruction failure, when rss instruction is called from action block. To resolve the error, rss object is configured before action and apply block. Fixes: 8ba342ce6f0 (pipeline: add RSS) Signed-off-by: Yogesh Jangra

[PATCH] pipeline: fix rss configuration

2023-03-01 Thread Yogesh Jangra
Currently, the rss object is configured after action, which leads to rss instruction failure, when rss instruction is called from action block. To resolve the error, rss object is configured before action and apply block. Fixes: 8ba342ce6f0 (pipeline: add RSS) Signed-off-by: Yogesh Jangra

[PATCH] table/selector: fix action selector group size log2 value setting

2023-03-09 Thread Yogesh Jangra
The incorrect variable for the number of groups was used, so in the case of values not power of 2 the incorrect result was produced. Fixes: f7598a62d11 (table: support selector table) Cc: sta...@dpdk.org Signed-off-by: Yogesh Jangra Acked-by: Cristian Dumitrescu --- lib/table

[PATCH] app/testpmd: fix closing softnic port before ethdev ports

2023-03-09 Thread Yogesh Jangra
-off-by: Yogesh Jangra Signed-off-by: Kamalakannan R Acked-by: Cristian Dumitrescu --- app/test-pmd/testpmd.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 0032696608..aa831b2389 100644 --- a/app/test-pmd/testpmd.c +++ b

[PATCH v2] app/testpmd: fix closing softnic port before ethdev ports

2023-03-09 Thread Yogesh Jangra
. Signed-off-by: Yogesh Jangra Signed-off-by: Kamalakannan R Acked-by: Cristian Dumitrescu --- app/test-pmd/testpmd.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 0032696608..88464ea582 100644 --- a/app/test-pmd/testpmd.c

[dpdk-dev] [PATCH] examples/pipeline: fix help command

2020-10-22 Thread Yogesh Jangra
This patch has the changes to list all supported commands and fix supported commands help details. Fixes: 5074e1d55107 ("examples/pipeline: add configuration commands") Cc: cristian.dumitre...@intel.com Signed-off-by: Yogesh Jangra Acked-by: Cristian Dumitrescu --- examples/pipe

[dpdk-dev] [PATCH v1] examples/pipeline: fix help command

2020-10-22 Thread Yogesh Jangra
This patch has the changes to list all supported commands and fix supported commands help details. Fixes: 5074e1d55107 ("examples/pipeline: add configuration commands") Cc: cristian.dumitre...@intel.com Signed-off-by: Yogesh Jangra Acked-by: Cristian Dumitrescu --- examples/pipe