[dpdk-dev] [PATCH v1] regex/octeontx2: fix global variable overflow

2021-01-03 Thread guyk
From: Guy Kaneti Sentinel was missing from pci_id_ree_table[] array initialization which caused it to overflow. Bugzilla ID: 603 Fixes: 4cd1c5fd9 ("regex/octeontx2: introduce REE driver") Cc: sta...@dpdk.org Signed-off-by: Guy Kaneti --- drivers/regex/octeontx2/otx2_regexdev.c | 3 +++ 1 file

[dpdk-dev] [PATCH v1] app/regex: add job context

2020-10-22 Thread guyk
From: Guy Kaneti Store mbuf pointer associated with that job. Signed-off-by: Guy Kaneti --- app/test-regex/main.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/app/test-regex/main.c b/app/test-regex/main.c index e6080b44b..f869d754b 100644 --- a/app/

[dpdk-dev] [PATCH v2] regexdev: add OOS capability definition

2020-10-21 Thread guyk
From: Guy Kaneti Add out of order scan capability to check PMD support for OOS. Signed-off-by: Guy Kaneti --- v2 - fix definition comment --- lib/librte_regexdev/rte_regexdev.h | 9 + 1 file changed, 9 insertions(+) diff --git a/lib/librte_regexdev/rte_regexdev.h b/lib/librte_regexde

[dpdk-dev] [PATCH v1] app/regex: configure qp according to device capabilities

2020-10-20 Thread guyk
From: Guy Kaneti configure qp with OOS according to device capabilities returned from rte_regexdev_info_get. Signed-off-by: Guy Kaneti --- app/test-regex/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/test-regex/main.c b/app/test-regex/main.c index e6080b44b.

[dpdk-dev] [PATCH v1] regexdev: add OOS capability definition

2020-10-20 Thread guyk
From: Guy Kaneti Add out of order scan capability to check PMD support for OOS. Signed-off-by: Guy Kaneti --- lib/librte_regexdev/rte_regexdev.h | 8 1 file changed, 8 insertions(+) diff --git a/lib/librte_regexdev/rte_regexdev.h b/lib/librte_regexdev/rte_regexdev.h index 4077e62c9.

[dpdk-dev] [PATCH] app/regex: change default qp configuration flags

2020-10-19 Thread guyk
From: Guy Kaneti added --cfg_oos argument to config queue pair out of order scan Signed-off-by: Guy Kaneti --- app/test-regex/main.c | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/app/test-regex/main.c b/app/test-regex/main.c index 0d35f4583..9b19

[dpdk-dev] [PATCH v1] app/regex: change default qp configuration flags

2020-10-19 Thread guyk
From: Guy Kaneti By default qp configuration flags was set with RTE_REGEX_QUEUE_PAIR_CFG_OOS_F. Changed flags default to 0. In order to set OOS flag use new argument --cfg_oos to config queue pair out of order scan. Signed-off-by: Guy Kaneti --- app/test-regex/main.c | 24 +

[dpdk-dev] [PATCH v3 2/2] doc: add l3fwd-regex application user guide

2020-10-18 Thread guyk
From: Guy Kaneti Adding the user guide for l3fwd regex application. Signed-off-by: Guy Kaneti --- MAINTAINERS | 1 + doc/guides/rel_notes/release_20_11.rst| 5 + doc/guides/sample_app_ug/index.rst| 1 + doc/guides/sample_app_ug/intro.

[dpdk-dev] [PATCH v3 1/2] examples/l3fwd-regex: add regex based l3fwd

2020-10-18 Thread guyk
From: Guy Kaneti Add regex based l3fwd application inline with normal l3fwd. only LPM is supported. Signed-off-by: Guy Kaneti --- MAINTAINERS|2 + examples/l3fwd-regex/l3fwd.h | 207 ++ examples/l3fwd-regex/l3fwd_lpm.c | 484 examples/l3fw

[dpdk-dev] [PATCH v3 0/2] Add example l3fwd-regex

2020-10-18 Thread guyk
From: Guy Kaneti The L3 Forwarding with Regex application is a simple example of packet processing using DPDK Regex framework. The application performs L3 LPM based forwarding while using Regex framework for pre-filtering decision. v3: * Rebase. * fix typo v2: * Rebase. * Add release notes. * f

[dpdk-dev] [PATCH v3 1/3] common/octeontx2: add REE definitions and logging support

2020-10-13 Thread guyk
From: Guy Kaneti Add REE mbox msg definitions, RVU and REE HW definitions Signed-off-by: Guy Kaneti --- drivers/common/octeontx2/hw/otx2_ree.h| 27 + drivers/common/octeontx2/hw/otx2_rvu.h| 5 + drivers/common/octeontx2/otx2_common.c| 1 + drivers/common/octeon

[dpdk-dev] [PATCH v3 2/3] regex/octeontx2: add build infra and device support

2020-10-13 Thread guyk
From: Guy Kaneti Add meson based build infrastructure along with the OTX2 regexdev (REE) device functions. Add Marvell OCTEON TX2 regex guide. Signed-off-by: Guy Kaneti --- MAINTAINERS |4 + doc/guides/platform/octeontx2.rst |5 + doc/guide

[dpdk-dev] [PATCH v3 3/3] usertools: add octeontx2 REE device binding

2020-10-13 Thread guyk
From: Guy Kaneti Update the devbind script with new section of regex devices, also added OCTEONTX2 REE device ID to regex device list Signed-off-by: Guy Kaneti --- doc/guides/regexdevs/octeontx2.rst | 11 +++ usertools/dpdk-devbind.py | 8 2 files changed, 19 inserti

[dpdk-dev] [PATCH v3 0/3] Add Marvell OCTEON TX2 regex driver

2020-10-13 Thread guyk
From: Guy Kaneti This patchset adds support for OCTEON TX2 regex driver as DPDK regexdev. The driver implements the API defined in the regexdev lib. v3: * Fix ML comments. v2: * Rebase. * Remove config/common_base from patch * change rte_cio_wmb to rte_io_wmb Guy Kaneti (3): common/octeontx

[dpdk-dev] [PATCH v2 4/4] doc: add Marvell OCTEON TX2 regex guide

2020-10-12 Thread guyk
From: Guy Kaneti Added Marvell OCTEON TX2 regex guide, features and updated release notes. Signed-off-by: Guy Kaneti --- doc/guides/platform/octeontx2.rst | 5 +++ doc/guides/regexdevs/features/octeontx2.ini | 10 + doc/guides/regexdevs/index.rst | 1 + doc/guides/

[dpdk-dev] [PATCH v2 3/4] usertools: add octeontx2 REE device binding

2020-10-12 Thread guyk
From: Guy Kaneti Update the devbind script with new section of regex devices, also added OCTEONTX2 REE device ID to regex device list Signed-off-by: Guy Kaneti --- usertools/dpdk-devbind.py | 8 1 file changed, 8 insertions(+) diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-d

[dpdk-dev] [PATCH v2 2/4] regex/octeontx2: add build infra and device support

2020-10-12 Thread guyk
From: Guy Kaneti Add meson based build infrastructure along with the OTX2 regexdev (REE) device functions. For regex rule compiler support build: meson configure -Dree_compiler_sdk= Signed-off-by: Guy Kaneti --- MAINTAINERS |3 + drivers/regex/meson.build

[dpdk-dev] [PATCH v2 1/4] common/octeontx2: add REE definitions and logging support

2020-10-12 Thread guyk
From: Guy Kaneti Add REE mbox msg definitions, RVU and REE HW definitions Signed-off-by: Guy Kaneti --- drivers/common/octeontx2/hw/otx2_ree.h| 27 + drivers/common/octeontx2/hw/otx2_rvu.h| 5 + drivers/common/octeontx2/otx2_common.c| 1 + drivers/common/octeon

[dpdk-dev] [PATCH v2 0/4] Add Marvell OCTEON TX2 regex driver

2020-10-12 Thread guyk
From: Guy Kaneti This patchset adds support for OCTEON TX2 regex driver as DPDK regexdev. The driver implements the API defined in the regexdev lib. v2: * Rebase. * Remove config/common_base from patch * change rte_cio_wmb to rte_io_wmb Guy Kaneti (4): common/octeontx2: add REE definitions an

[dpdk-dev] [PATCH v2 2/2] doc: add l3fwd-regex application user guide

2020-09-09 Thread guyk
From: Guy Kaneti Adding the user guide for l3fwd regex application. Signed-off-by: Guy Kaneti --- MAINTAINERS | 1 + doc/guides/rel_notes/release_20_11.rst| 4 + doc/guides/sample_app_ug/index.rst| 1 + doc/guides/sample_app_ug/intro.

[dpdk-dev] [PATCH v2 1/2] examples/l3fwd-regex: add regex based l3fwd

2020-09-09 Thread guyk
From: Guy Kaneti Add regex based l3fwd application inline with normal l3fwd. only LPM is supported. Signed-off-by: Guy Kaneti --- MAINTAINERS|2 + examples/l3fwd-regex/l3fwd.h | 207 ++ examples/l3fwd-regex/l3fwd_lpm.c | 484 examples/l3fw

[dpdk-dev] [PATCH v2 0/2] Add example l3fwd-regex

2020-09-09 Thread guyk
From: Guy Kaneti The L3 Forwarding with Regex application is a simple example of packet processing using DPDK Regex framework. The application performs L3 LPM based forwarding while using Regex framework for pre-filtering decision. v2: * Rebase. * Add release notes. * fix spelling mistake * fix

[dpdk-dev] [PATCH 2/2] doc: add l3fwd-regex application user guide

2020-09-08 Thread guyk
From: Guy Kaneti Adding the user guide for l3fwd regex application. Signed-off-by: Guy Kaneti --- MAINTAINERS | 1 + doc/guides/sample_app_ug/index.rst| 1 + doc/guides/sample_app_ug/intro.rst| 4 + doc/guides/sample_app_ug/l3_for

[dpdk-dev] [PATCH 0/2] Add example l3fwd-regex

2020-09-08 Thread guyk
From: Guy Kaneti The L3 Forwarding with Regex application is a simple example of packet processing using DPDK Regex framework. The application performs L3 LPM based forwarding while using Regex framework for pre-filtering decision. Guy Kaneti (2): examples/l3fwd-regex: add regex based l3fwd

[dpdk-dev] [PATCH 1/2] examples/l3fwd-regex: add regex based l3fwd

2020-09-08 Thread guyk
From: Guy Kaneti Add regex based l3fwd application inline with normal l3fwd. only LPM is supported. Signed-off-by: Guy Kaneti --- MAINTAINERS|2 + examples/l3fwd-regex/l3fwd.h | 207 ++ examples/l3fwd-regex/l3fwd_lpm.c | 461 examples/l3fw

[dpdk-dev] [PATCH 4/4] doc: add Marvell OCTEON TX2 regex guide

2020-09-01 Thread guyk
From: Guy Kaneti Signed-off-by: Guy Kaneti --- doc/guides/platform/octeontx2.rst | 5 +++ doc/guides/regexdevs/features/octeontx2.ini | 10 + doc/guides/regexdevs/index.rst | 1 + doc/guides/regexdevs/octeontx2.rst | 49 + doc/guides/rel

[dpdk-dev] [PATCH 3/4] usertools: add octeontx2 REE device binding

2020-09-01 Thread guyk
From: Guy Kaneti Update the devbind script with new section of regex devices, also added OCTEONTX2 REE device ID to regex device list Signed-off-by: Guy Kaneti --- usertools/dpdk-devbind.py | 8 1 file changed, 8 insertions(+) diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-d

[dpdk-dev] [PATCH 2/4] regex/octeontx2: add build infra and device support

2020-09-01 Thread guyk
From: Guy Kaneti Add meson based build infrastructure along with the OTX2 regexdev (REE) device functions. For regex rule compiler support build: meson configure -Dree_compiler_sdk= Signed-off-by: Guy Kaneti --- MAINTAINERS |3 + config/common_base

[dpdk-dev] [PATCH 1/4] common/octeontx2: add REE definitions and logging support

2020-09-01 Thread guyk
From: Guy Kaneti Add REE mbox msg definitions, RVU and REE HW definitions Signed-off-by: Guy Kaneti --- drivers/common/octeontx2/hw/otx2_ree.h| 27 + drivers/common/octeontx2/hw/otx2_rvu.h| 5 + drivers/common/octeontx2/otx2_common.c| 1 + drivers/common/octeon

[dpdk-dev] [PATCH 0/4] Add Marvell OCTEON TX2 regex driver

2020-09-01 Thread guyk
From: Guy Kaneti This patchset adds support for OCTEON TX2 regex driver as DPDK regexdev. The driver implements the API defined in the regexdev lib. Guy Kaneti (4): common/octeontx2: add REE definitions and logging support regex/octeontx2: add build infra and device support usertools: add