[PATCH] net/mlx5: block negative integrity flows

2022-06-15 Thread Raja Zidane
Negative integrity flows are supported, but malfunctioning due to a bug, and an API change is necessary to fix. Drop negative flow support for now. Signed-off-by: Raja Zidane Acked-by: Matan Azrad Acked-by: Gregory Etelson --- doc/guides/nics/mlx5.rst| 4 +++- drivers/net/mlx5

[PATCH] net/mlx5: support ESP item on Windows

2022-06-02 Thread Raja Zidane
ESP item is not supported on windows, yet it is expanded from the expansion graph when trying to create default flow to RSS all packets. Support ESP item match (without ability to match on SPI field on windows). Split ESP validation per OS. Signed-off-by: Raja Zidane Acked-by: Matan Azrad

[PATCH] app/testpmd: fix packets segments allocation

2022-06-02 Thread Raja Zidane
mbuf for remaining segments will be allocated from the last valid pool). A bug in comparing segment index with mbuf index caused wrong mapping of one of the segments. Fix the comparison. Fixes: 2befc67ff679 ("app/testpmd: add extended Rx queue setup") Cc: sta...@dpdk.org Signed-of

[PATCH] examples/link_status_interrupt: fix stats refresh rate

2022-05-30 Thread Raja Zidane
frequency, to define TIMER_MILLISECOND. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- examples/link_status_interrupt/main.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH] net/mlx5: fix Tx recovery

2022-05-18 Thread Raja Zidane
ovide port number when changing state from RESET to INIT. Fixes: 3a87b964edd3 ("net/mlx5: create Tx queues with DevX") Cc: sta...@dpdk.org Signed-off-by: Raja Zidane Acked-by: Matan Azrad Acked-by: Dmitry Kozlyuk --- drivers/net/mlx5/linux/mlx5_verbs.c | 5 + 1 file changed, 1

[PATCH V5] net/mlx5: support ESP SPI match and RSS hash

2022-05-12 Thread Raja Zidane
, causing all traffic belonging to all tunnels between a given pair of GWs to land on one core. Adding the SPI hash field can extend the spreading of IPSec packets. support matching on ESP SPI. Support RSS on ESP header by hashing SPI field. Signed-off-by: Raja Zidane --- V2: added doc. V3: fixed

[PATCH] crypto/mlx5: support plaintext keys

2022-05-01 Thread Raja Zidane
factory with a pre-defined import method for each algorithm. The defined method could be wrapped mode, so the device can be used as described above, or plaintext mode, without the need to log in and wrap supplied DEKs. Support crypto operations with the plaintext import method. Signed-off-by: Raja

[PATCH V4] net/mlx5: support ESP SPI match and RSS hash

2022-04-28 Thread Raja Zidane
, causing all traffic belonging to all tunnels between a given pair of GWs to land on one core. Adding the SPI hash field can extend the spreading of IPSec packets. support matching on ESP SPI. Support RSS on ESP header by hashing SPI field. Signed-off-by: Raja Zidane --- V2: added doc. V3: fixed

[PATCH] net/mlx5: fix rxq/txq stats memory access sync

2022-04-20 Thread Raja Zidane
approach with reference values, allowing the actual counters to be writable within Rx/Tx burst threads only, and updating reference values on stats reset. Fixes: 87011737b715 ("mlx5: add software counters") Cc: sta...@dpdk.org Signed-off-by: Raja Zidane Acked-by: Slava Ovsiienko --- driver

[PATCH 1/2] common/mlx5: extend crypto capabilities

2022-04-18 Thread Raja Zidane
Crypto capabilities struct contains info about crypto import method (wrapped/plaintext DEK) for each of the supported algorithms. Query crypto capabilities struct and save import methods. Signed-off-by: Raja Zidane --- drivers/common/mlx5/mlx5_devx_cmds.c | 13 +++-- drivers/common

[PATCH 2/2] crypto/mlx5: support plaintext keys

2022-04-18 Thread Raja Zidane
factory with a pre-defined import method for each algorithm. The defined method could be wrapped mode, so the device can be used as described above, or plaintext mode, without the need to log in and wrap supplied DEKs. Support crypto operations with the plaintext import method. Signed-off-by: Raja

[PATCH 0/2] crypto/mlx5: add support for plaintext import method

2022-04-18 Thread Raja Zidane
factory with a pre-defined import method for each algorithm. The defined method could be wrapped mode, so the device can be used as described above, or plaintext mode, without the need to log in and wrap supplied DEKs. Raja Zidane (2): common/mlx5: extend crypto capabilities crypto/mlx5

[PATCH] crypto/mlx5: fix login cleanup

2022-04-18 Thread Raja Zidane
In case of a probing failure caused by wrong devarg provided, login isn't destroyed when exiting. Destroy login on failure. Fixes: ba707cdb6da2 ("crypto/mlx5: fix queue size configuration") Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/crypto/mlx5/mlx5_crypto.

[PATCH V3] net/mlx5: support ESP SPI match and RSS hash

2022-04-18 Thread Raja Zidane
, causing all traffic belonging to all tunnels between a given pair of GWs to land on one core. Adding the SPI hash field can extend the spreading of IPSec packets. support matching on ESP SPI. Support RSS on ESP header by hashing SPI field. Signed-off-by: Raja Zidane --- V2: added doc. V3: fixed

[PATCH V2] net/mlx5: support ESP SPI match and RSS hash

2022-04-18 Thread Raja Zidane
, causing all traffic belonging to all tunnels between a given pair of GWs to land on one core. Adding the SPI hash field can extend the spreading of IPSec packets. support matching on ESP SPI. Support RSS on ESP header by hashing SPI field. Signed-off-by: Raja Zidane --- V2: added doc. doc

[RFC] compress/mlx5: add support for LZ4 decompress

2022-04-10 Thread Raja Zidane
LZ4 decompress will be supported starting from BlueField3. Add LZ4 params struct to RTE XFORM struct. Add case to check for LZ4 algo, and pass params from RTE XFORM. Signed-off-by: Raja Zidane --- drivers/common/mlx5/mlx5_prm.h| 6 + drivers/compress/mlx5/mlx5_compress.c | 29

[PATCH] examples/l2fwd-crypto: fix stats refresh rate

2022-04-07 Thread Raja Zidane
ample application") Cc: sta...@dpdk.org Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- examples/l2fwd-crypto/main.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index bbdb263143..b1e2613ccf 10

[PATCH] net/mlx5: support ESP SPI match and RSS hash

2022-04-04 Thread Raja Zidane
, causing all traffic belonging to all tunnels between a given pair of GWs to land on one core. Adding the SPI hash field can extend the spreading of IPSec packets. support matching on ESP SPI. Support RSS on ESP header by hashing SPI field. Signed-off-by: Raja Zidane Acked-by: Matan Azrad

[PATCH] app/compress-perf: fix number of QPs to setup

2022-03-02 Thread Raja Zidane
o the limited number. Fixes: 424dd6c8c1a8 ("app/compress-perf: add weak functions for multicore test") Cc: sta...@dpdk.org Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- app/test-compress-perf/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-compress-perf/ma

[PATCH] app/compress-perf: fix socket ID type during init

2022-03-02 Thread Raja Zidane
ned-off-by: Raja Zidane Acked-by: Matan Azrad --- app/test-compress-perf/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-compress-perf/main.c b/app/test-compress-perf/main.c index 6ff6a2f04a..3402b65c63 100644 --- a/app/test-compress-perf/main.c +++ b/app/test-com

[PATCH] compressdev: fix size of socket ID in device data struct

2022-03-01 Thread Raja Zidane
socket_id from unsigned 8 bit integer to integer. Fixes: ed7dd94f7f66 ("compressdev: add basic device management") Cc: fiona.tr...@intel.com Cc: sta...@dpdk.org Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- lib/compressdev/rte_compressdev_internal.h | 2 +- 1 file changed, 1 inser

[PATCH V2] compress/mlx5: support out-of-space status

2022-02-27 Thread Raja Zidane
. Also added an error message for a case of missing B-final flag. Fixes: f8c97babc9f4 ("compress/mlx5: add data-path functions") Cc: sta...@dpdk.org Signed-off-by: Raja Zidane --- Acked-by: Matan Azrad V2: fix implicit switch-case fallthrough drivers/common/mlx5/mlx5_prm.h

[PATCH] app/compress-perf: optimize ops pool allocation

2022-02-23 Thread Raja Zidane
;) Cc: sta...@dpdk.org Signed-off-by: Raja Zidane --- Acked-by: Matan Azrad ma...@nvidia.com app/test-compress-perf/comp_perf_test_cyclecount.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/test-compress-perf/comp_perf_test_cyclecount.c b/app/test-com

[PATCH] app/compress-perf: fix cyclecount enqueue ops allocation

2022-02-23 Thread Raja Zidane
In cyclecount main_loop function, each iteration it tries to enqueue X ops, in case Y --- Acked-by: Matan Azrad ma...@nvidia.com app/test-compress-perf/comp_perf_test_cyclecount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-compress-perf/comp_perf_test_cyclecount.c

[PATCH] compress/mlx5: support out-of-space status

2022-02-23 Thread Raja Zidane
. Also added an error message for a case of missing B-final flag. Fixes: f8c97babc9f4 ("compress/mlx5: add data-path functions") Cc: sta...@dpdk.org Signed-off-by: Raja Zidane --- Acked-by: Matan Azrad ma...@nvidia.com drivers/common/mlx5/mlx5_prm.h| 5 + drivers/com

[PATCH V4] app/testpmd: fix GENEVE parsing in csum forward mode

2022-02-21 Thread Raja Zidane
") Cc: sta...@dpdk.org Signed-off-by: Raja Zidane --- V2: Log error when an unrecognized tunnel is found (unknown UDP dst port), instead of parsing it as VxLan by default. V3: revert unneeded changes (swapping parse_geneve & parse_vxlan). V4: Log unknown tunnel error in debug mode. app/

[PATCH V3] app/testpmd: fix GENEVE parsing in csum forward mode

2022-02-20 Thread Raja Zidane
") Cc: sta...@dpdk.org Signed-off-by: Raja Zidane --- V2: Log error when an unrecognized tunnel is found (unknown UDP dst port), instead of parsing it as VxLan by default. V3: revert unneeded changes (swapping parse_geneve & parse_vxlan). app/test-pmd/csumonly.c | 15 +--

[PATCH V2] app/testpmd: fix GENEVE parsing in csum forward mode

2022-02-16 Thread Raja Zidane
using the csum to parse the GENEVE header as VXLAN when the Rx port set the tunnel packet type. Remove the fall back case to VxLan. Log error of unrecognized tunnel if no tunnel was parsed successfully. Fixes: ea0e711b8ae0 ("app/testpmd: add GENEVE parsing") Cc: sta...@dpdk.org Sign

RE: [PATCH] app/testpmd: fix GENEVE parsing in csum forward mode

2022-02-15 Thread Raja Zidane
ep Sent: Monday, January 31, 2022 6:48 PM To: Raja Zidane ; Matan Azrad ; Ferruh Yigit ; dev@dpdk.org; Beilei Xing ; Qi Zhang Cc: sta...@dpdk.org Subject: Re: [PATCH] app/testpmd: fix GENEVE parsing in csum forward mode External email: Use caution opening links or attachments On 1/30/2022 4:48

RE: [PATCH] app/testpmd: fix GENEVE parsing in csum forward mode

2022-01-30 Thread Raja Zidane
ren't detected and parsed as vxlan instead, which is the bug I was trying to solve. -Original Message- From: Singh, Aman Deep Sent: Thursday, January 20, 2022 12:47 PM To: Matan Azrad ; Ferruh Yigit ; Raja Zidane ; dev@dpdk.org Cc: sta...@dpdk.org Subject: Re: [PATCH] app/testpmd:

[PATCH] net/mlx5: fix mark enabling for Rx datapath

2022-01-16 Thread Raja Zidane
rst mark action after dev_start operation. Fixes: 8e61555657b2 ("net/mlx5: fix shared RSS and mark actions combination") Cc: sta...@dpdk.org Signed-off-by: Raja Zidane --- Acked-by: Matan Azrad ma...@nvidia.com drivers/net/mlx5/mlx5.h| 1 + drivers/net/mlx5/mlx5

[PATCH] app/testpmd: fix GENEVE parsing in csum forward mode

2021-12-04 Thread Raja Zidane
using the csum to parse the GENEVE header as VXLAN when the Rx port set the tunnel packet type. Locate the GENEVE parsing trial before the packet type detection. Fixes: ea0e711b8ae0 ("app/testpmd: add GENEVE parsing") Cc: sta...@dpdk.org Signed-off-by: Raja Zidane --- Acked-by: Matan A

[PATCH] crypto/mlx5: fix max number of QPs capability

2021-11-21 Thread Raja Zidane
rypto/mlx5: support queue pairs operations") Cc: sta...@dpdk.org Signed-off-by: Raja Zidane --- Acked-by: Matan Azrad drivers/crypto/mlx5/mlx5_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/mlx5/mlx5_crypto.c b/drivers/crypto/mlx5/mlx5

[PATCH V5] crypto/mlx5: support BF2 and ConnectX6-DX devices

2021-11-11 Thread Raja Zidane
Starting from FW version xx.32.0108. version, the BlueField2 and ConnextX6-DX adapters support crypto operations. Add them to the supported PCI devices list. Signed-off-by: Raja Zidane Acked-by: Matan Azrad Acked-by: Tal Shnaiderman --- V2: fixed checkpatch warning. V3: fixed doc. V4: fixed

[dpdk-dev] [PATCH 0/2] fix level configuration in compress

2021-10-25 Thread Raja Zidane
mlx5 driver wrongly defined the Huffman block size configuration according to the level that doesn't fill the level API requirement for the tradeoff. Remove the effect of the level configuration in compress operation. Add "log-block-size" devarg to select compression block size

[dpdk-dev] [PATCH 2/2] compress/mlx5: add block size devarg

2021-10-25 Thread Raja Zidane
Currently, the compression block size is 15 by default, which is the maximum. Add "log-block-size" devarg to select compression block size manually. The value provided should be between 4 to 15. Any out-of-range value will be defaulted to 15. Signed-off-by: Raja Zidane Acked-by: M

[dpdk-dev] [PATCH 1/2] compress/mlx5: fix level configuration in compress

2021-10-25 Thread Raja Zidane
on") Fixes: 39a2c8715f8f ("compress/mlx5: add transformation operations") Cc: sta...@dpdk.org Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/compress/mlx5/mlx5_compress.c | 18 +++--- 1 file changed, 3 insertions(+), 15 deletions(-) diff --gi

[dpdk-dev] [PATCH V6 2/5] common/mlx5: update new MMO HCA capabilities

2021-10-05 Thread Raja Zidane
New MMO HCA capabilities were added and others were renamed. Align hca capabilities with new prm. Add support in devx interface for changes in HCA capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_devx_cmds.c | 15 --- drivers/common/mlx5

[dpdk-dev] [PATCH V6 3/5] common/mlx5: add MMO configuration for the DevX QP

2021-10-05 Thread Raja Zidane
decompress_mmo_qp==1. Add support to DevX interface to set MMO bit. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_devx_cmds.c | 7 +++ drivers/common/mlx5/mlx5_devx_cmds.h | 1 + drivers/common/mlx5/mlx5_prm.h | 28 +++- 3 files

[dpdk-dev] [PATCH V6 0/5] mlx5: replaced hardware queue object

2021-10-05 Thread Raja Zidane
in commit 2/5. V5: rebase. V6: rebase on main. Raja Zidane (5): common/mlx5: share DevX QP operations common/mlx5: update new MMO HCA capabilities common/mlx5: add MMO configuration for the DevX QP compress/mlx5: refactor queue HW object regex/mlx5: refactor HW queue objects drivers

[dpdk-dev] [PATCH V6 5/5] regex/mlx5: refactor HW queue objects

2021-10-05 Thread Raja Zidane
object. The FW introduced new capabilities to define whether the MMO configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set MMO configuration according to the new FW capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/regex/mlx5

[dpdk-dev] [PATCH V6 4/5] compress/mlx5: refactor queue HW object

2021-10-05 Thread Raja Zidane
QP object. The FW introduced new capabilities to define whether the MMO configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set MMO configuration according to the new FW capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/compress

[dpdk-dev] [PATCH V6 1/5] common/mlx5: share DevX QP operations

2021-10-05 Thread Raja Zidane
to QP creation. It's for better code maintenance and reuse. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_common_devx.c | 144 + drivers/common/mlx5/mlx5_common_devx.h | 23 drivers/common/mlx5/mlx5_devx_cmds.c | 1 + dr

[dpdk-dev] [PATCH V5 0/5] mlx5: replaced hardware queue object

2021-09-30 Thread Raja Zidane
in commit 2/5. V5: rebase. Raja Zidane (5): common/mlx5: update new MMO HCA capabilities common/mlx5: add MMO configuration for the DevX QP compress/mlx5: refactor queue HW object regex/mlx5: refactor HW queue objects compress/mlx5: allow partial transformations support drivers/common

[dpdk-dev] [PATCH V5 3/5] compress/mlx5: refactor queue HW object

2021-09-30 Thread Raja Zidane
QP object. The FW introduced new capabilities to define whether the MMO configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set MMO configuration according to the new FW capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/compress

[dpdk-dev] [PATCH V5 1/5] common/mlx5: update new MMO HCA capabilities

2021-09-30 Thread Raja Zidane
New MMO HCA capabilities were added and others were renamed. Align hca capabilities with new prm. Add support in devx interface for changes in HCA capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_devx_cmds.c | 15 --- drivers/common/mlx5

[dpdk-dev] [PATCH V5 2/5] common/mlx5: add MMO configuration for the DevX QP

2021-09-30 Thread Raja Zidane
decompress_mmo_qp==1. Add support to DevX interface to set MMO bit. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_devx_cmds.c | 7 +++ drivers/common/mlx5/mlx5_devx_cmds.h | 1 + drivers/common/mlx5/mlx5_prm.h | 28 +++- 3 files

[dpdk-dev] [PATCH V5 4/5] regex/mlx5: refactor HW queue objects

2021-09-30 Thread Raja Zidane
object. The FW introduced new capabilities to define whether the MMO configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set MMO configuration according to the new FW capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/regex/mlx5

[dpdk-dev] [PATCH V5 5/5] compress/mlx5: allow partial transformations support

2021-09-30 Thread Raja Zidane
. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/compress/mlx5/mlx5_compress.c | 61 --- 1 file changed, 46 insertions(+), 15 deletions(-) diff --git a/drivers/compress/mlx5/mlx5_compress.c b/drivers/compress/mlx5/mlx5_compress.c index 5c5aa87a18..e94e8fb0c6

[dpdk-dev] [PATCH V4 3/5] common/mlx5: add MMO configuration for the DevX QP

2021-09-28 Thread Raja Zidane
decompress_mmo_qp==1. Add support to DevX interface to set MMO bit. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_devx_cmds.c | 7 +++ drivers/common/mlx5/mlx5_devx_cmds.h | 1 + drivers/common/mlx5/mlx5_prm.h | 28 +++- 3 files

[dpdk-dev] [PATCH V4 5/5] regex/mlx5: refactor HW queue objects

2021-09-28 Thread Raja Zidane
object. The FW introduced new capabilities to define whether the MMO configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set MMO configuration according to the new FW capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/regex/mlx5

[dpdk-dev] [PATCH V4 2/5] common/mlx5: update new MMO HCA capabilities

2021-09-28 Thread Raja Zidane
New MMO HCA capabilities were added and others were renamed. Align hca capabilities with new prm. Add support in devx interface for changes in HCA capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_devx_cmds.c | 15 --- drivers/common/mlx5

[dpdk-dev] [PATCH V4 4/5] compress/mlx5: refactor queue HW object

2021-09-28 Thread Raja Zidane
QP object. The FW introduced new capabilities to define whether the MMO configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set MMO configuration according to the new FW capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/compress

[dpdk-dev] [PATCH V4 1/5] common/mlx5: share DevX QP operations

2021-09-28 Thread Raja Zidane
to QP creation. It's for better code maintenance and reuse. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_common_devx.c | 144 + drivers/common/mlx5/mlx5_common_devx.h | 23 drivers/common/mlx5/mlx5_devx_cmds.c | 1 + dr

[dpdk-dev] [PATCH V4 0/5] mlx5: replaced hardware queue object

2021-09-28 Thread Raja Zidane
in commit 2/5. Raja Zidane (5): common/mlx5: share DevX QP operations common/mlx5: update new MMO HCA capabilities common/mlx5: add MMO configuration for the DevX QP compress/mlx5: refactor queue HW object regex/mlx5: refactor HW queue objects drivers/common/mlx5/mlx5_common_devx.c

[dpdk-dev] [PATCH V3] compress/mlx5: allow partial transformations support

2021-09-14 Thread Raja Zidane
: fix checkpatch errors V3: rebase. ---mlx5: replaced hardware queue object Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/compress/mlx5/mlx5_compress.c | 61 --- 1 file changed, 46 insertions(+), 15 deletions(-) diff --git a/drivers/compress/mlx5

[dpdk-dev] [PATCH V3 3/5] common/mlx5: add MMO configuration for the DevX QP

2021-09-14 Thread Raja Zidane
decompress_mmo_qp==1. Add support to DevX interface to set MMO bit. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_devx_cmds.c | 7 +++ drivers/common/mlx5/mlx5_devx_cmds.h | 1 + drivers/common/mlx5/mlx5_prm.h | 28 +++- 3 files

[dpdk-dev] [PATCH V3 5/5] regex/mlx5: refactor HW queue objects

2021-09-14 Thread Raja Zidane
object. The FW introduced new capabilities to define whether the MMO configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set MMO configuration according to the new FW capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/regex/mlx5

[dpdk-dev] [PATCH V3 4/5] compress/mlx5: refactor queue HW object

2021-09-14 Thread Raja Zidane
QP object. The FW introduced new capabilities to define whether the MMO configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set MMO configuration according to the new FW capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/compress

[dpdk-dev] [PATCH V3 2/5] common/mlx5: update new MMO HCA capabilities

2021-09-14 Thread Raja Zidane
New MMO HCA capabilities were added and others were renamed. Align hca capabilities with new prm. Add support in devx interface for changes in HCA capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_devx_cmds.c | 15 --- drivers/common/mlx5

[dpdk-dev] [PATCH V3 0/5] mlx5: replaced hardware queue object

2021-09-14 Thread Raja Zidane
only in the QP object. The FW introduced new capabilities to define whether the mmo configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set mmo configuration according to the new FW capabilities. V2: fix checkpatch errors. V3: rebase. Raja Zidane (5

[dpdk-dev] [PATCH V3 1/5] common/mlx5: share DevX QP operations

2021-09-14 Thread Raja Zidane
to QP creation. It's for better code maintenance and reuse. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_common_devx.c | 144 + drivers/common/mlx5/mlx5_common_devx.h | 23 drivers/common/mlx5/mlx5_devx_cmds.c | 1 + dr

[dpdk-dev] [PATCH V2 5/5] regex/mlx5: refactor HW queue objects

2021-09-12 Thread Raja Zidane
object. The FW introduced new capabilities to define whether the MMO configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set MMO configuration according to the new FW capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/regex/mlx5

[dpdk-dev] [PATCH V2 3/5] common/mlx5: add MMO configuration for the DevX QP

2021-09-12 Thread Raja Zidane
decompress_mmo_qp==1. Add support to DevX interface to set MMO bit. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_devx_cmds.c | 7 +++ drivers/common/mlx5/mlx5_devx_cmds.h | 1 + drivers/common/mlx5/mlx5_prm.h | 28 +++- 3 files

[dpdk-dev] [PATCH V2 4/5] compress/mlx5: refactor queue HW object

2021-09-12 Thread Raja Zidane
QP object. The FW introduced new capabilities to define whether the MMO configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set MMO configuration according to the new FW capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/compress

[dpdk-dev] [PATCH V2 2/5] common/mlx5: update new MMO HCA capabilities

2021-09-12 Thread Raja Zidane
New MMO HCA capabilities were added and others were renamed. Align hca capabilities with new prm. Add support in devx interface for changes in HCA capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_devx_cmds.c | 15 --- drivers/common/mlx5

[dpdk-dev] [PATCH V2 0/5] mlx5: replaced hardware queue object

2021-09-12 Thread Raja Zidane
only in the QP object. The FW introduced new capabilities to define whether the mmo configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set mmo configuration according to the new FW capabilities. V2: fix coding style issues. Raja Zidane (5): common/mlx5

[dpdk-dev] [PATCH V2 1/5] common/mlx5: share DevX QP operations

2021-09-12 Thread Raja Zidane
to QP creation. It's for better code maintenance and reuse. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_common_devx.c | 144 + drivers/common/mlx5/mlx5_common_devx.h | 23 drivers/common/mlx5/mlx5_devx_cmds.c | 1 + dr

[dpdk-dev] [PATCH V2] compress/mlx5: allow partial transformations support

2021-09-05 Thread Raja Zidane
: fix checkpatches errors. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/compress/mlx5/mlx5_compress.c | 61 --- 1 file changed, 46 insertions(+), 15 deletions(-) diff --git a/drivers/compress/mlx5/mlx5_compress.c b/drivers/compress/mlx5/mlx5_compress.c

[dpdk-dev] [PATCH 4/5] compress/mlx5: refactor queue HW object

2021-09-03 Thread Raja Zidane
QP object. The FW introduced new capabilities to define whether the MMO configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set MMO configuration according to the new FW capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/compress

[dpdk-dev] [PATCH] compress/mlx5: allow partial transformations support

2021-09-03 Thread Raja Zidane
. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/compress/mlx5/mlx5_compress.c | 65 --- 1 file changed, 49 insertions(+), 16 deletions(-) diff --git a/drivers/compress/mlx5/mlx5_compress.c b/drivers/compress/mlx5/mlx5_compress.c index d65e1e14da..58e6a7cf8d

[dpdk-dev] [PATCH 2/5] common/mlx5: update new MMO HCA capabilities

2021-09-03 Thread Raja Zidane
New MMO HCA capabilities were added and others were renamed. Align hca capabilities with new prm. Add support in devx interface for changes in HCA capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_devx_cmds.c | 11 --- drivers/common/mlx5

[dpdk-dev] [PATCH 5/5] regex/mlx5: refactor HW queue objects

2021-09-03 Thread Raja Zidane
object. The FW introduced new capabilities to define whether the MMO configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set MMO configuration according to the new FW capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/regex/mlx5

[dpdk-dev] [PATCH 0/5] mlx5: replaced hardware queue object

2021-09-03 Thread Raja Zidane
only in the QP object. The FW introduced new capabilities to define whether the mmo configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set mmo configuration according to the new FW capabilities. Raja Zidane (5): common/mlx5: share DevX QP operations

[dpdk-dev] [PATCH 3/5] common/mlx5: add MMO configuration for the DevX QP

2021-09-03 Thread Raja Zidane
decompress_mmo_qp==1. Add support to DevX interface to set MMO bit. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_devx_cmds.c | 5 + drivers/common/mlx5/mlx5_devx_cmds.h | 1 + drivers/common/mlx5/mlx5_prm.h | 27 ++- 3 files changed

[dpdk-dev] [PATCH 1/5] common/mlx5: share DevX QP operations

2021-09-03 Thread Raja Zidane
to QP creation. It's for better code maintenance and reuse. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_common_devx.c | 144 + drivers/common/mlx5/mlx5_common_devx.h | 23 drivers/common/mlx5/mlx5_devx_cmds.c | 1 + dr

[dpdk-dev] [RFC 3/3] regex/mlx5: refactor queue creation in mlx5 add support to compress and regex drivers in Bluefield3

2021-08-18 Thread Raja Zidane
Signed-off-by: Raja Zidane --- drivers/common/mlx5/mlx5_common_devx.c | 28 drivers/common/mlx5/mlx5_common_devx.h | 3 ++ drivers/common/mlx5/version.map | 1 + drivers/compress/mlx5/mlx5_compress.c | 31 + drivers/crypto/mlx5/mlx5_crypto.c | 30

[dpdk-dev] [RFC 1/3] common/mlx5: add common qp_create

2021-08-18 Thread Raja Zidane
Signed-off-by: Raja Zidane --- drivers/common/mlx5/mlx5_common_devx.c | 111 + drivers/common/mlx5/mlx5_common_devx.h | 20 + drivers/common/mlx5/version.map| 2 + drivers/crypto/mlx5/mlx5_crypto.c | 80 +++--- drivers/crypto/mlx5

[dpdk-dev] [RFC 2/3] compress/mlx5: refactor queue creation in mlx5 add support to compress and regex drivers in BlueField3

2021-08-18 Thread Raja Zidane
Signed-off-by: Raja Zidane --- drivers/common/mlx5/mlx5_devx_cmds.c | 14 - drivers/common/mlx5/mlx5_devx_cmds.h | 10 ++- drivers/common/mlx5/mlx5_prm.h| 42 +++-- drivers/compress/mlx5/mlx5_compress.c | 91 ++- 4 files changed, 116 insertions

[dpdk-dev] [RFC 0/3] mlx5: replaced hardware queue object

2021-08-18 Thread Raja Zidane
supported only in the QP object. The FW introduced new capabilities to define whether the mmo configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set mmo configuration according to the new FW capabilities. Raja Zidane (3): common/mlx5: add common qp_create

[dpdk-dev] [PATCH] compress/mlx5: fix level translation in xform API

2021-07-29 Thread Raja Zidane
nvidia.com Cc: sta...@dpdk.org Signed-off-by: Raja Zidane --- drivers/compress/mlx5/mlx5_compress.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/drivers/compress/mlx5/mlx5_compress.c b/drivers/compress/mlx5/mlx5_compress.c index 5c2b9dc859..883e720ec1 10