[PATCH v2] doc: update match with compare result item limitation

2024-11-06 Thread Suanming Mou
compare result item. Fixes: cb25df7ce9d6 ("net/mlx5: support comparison matching") Cc: sta...@dpdk.org Signed-off-by: Suanming Mou --- v2: Add `repr_matching_en`` enabled by default explanation. --- doc/guides/nics/mlx5.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/

RE: [PATCH] doc: update match with compare result item limitation

2024-11-06 Thread Suanming Mou
> -Original Message- > From: Bing Zhao > Sent: Tuesday, November 5, 2024 11:48 AM > To: Suanming Mou ; Dariusz Sosnowski > ; Slava Ovsiienko ; Ori Kam > ; Matan Azrad > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH] doc: update match with compar

[PATCH] doc: update match with compare result item limitation

2024-11-04 Thread Suanming Mou
compare result item. Fixes: cb25df7ce9d6 ("net/mlx5: support comparison matching") Cc: sta...@dpdk.org Signed-off-by: Suanming Mou --- doc/guides/nics/mlx5.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index

[PATCH v3 2/2] crypto/mlx5: add out of place mode for IPsec operation

2024-06-24 Thread Suanming Mou
The IPsec operation shrinks AAD directly before payload in enqueue burst and restores the memory in dequeue burst. This commit adds the support of OOP mode follows the similar strategy. Signed-off-by: Suanming Mou Acked-by: Matan Azrad --- doc/guides/cryptodevs/mlx5.rst| 3

[PATCH v3 1/2] crypto/mlx5: optimize AES-GCM IPsec operation

2024-06-24 Thread Suanming Mou
tly, in the dequeue_burst function, the overridden IV before Payload is restored from the GGA WQE. It's crucial for users to avoid utilizing the input mbuf data during processing. Signed-off-by: Suanming Mou Acked-by: Matan Azrad --- v3: add limitation for non-contiguous inputs. v2: re

[PATCH v3 0/2] crypto/mlx5: optimize AES-GCM IPsec operation

2024-06-24 Thread Suanming Mou
tly, in the dequeue_burst function, the overridden IV before Payload is restored from the GGA WQE. It's crucial for users to avoid utilizing the input mbuf data during processing. v3: add limitation for non-contiguous inputs. v2: rebase version Suanming Mou (2): crypto/mlx5: optimize AE

RE: [EXTERNAL] [PATCH v2 1/2] crypto/mlx5: optimize AES-GCM IPsec operation

2024-06-24 Thread Suanming Mou
> -Original Message- > From: Akhil Goyal > Sent: Monday, June 24, 2024 4:45 PM > To: Suanming Mou ; Matan Azrad > > Cc: dev@dpdk.org > Subject: RE: [EXTERNAL] [PATCH v2 1/2] crypto/mlx5: optimize AES-GCM > IPsec operation > > > > Subject: RE: [

RE: [EXTERNAL] [PATCH v2 1/2] crypto/mlx5: optimize AES-GCM IPsec operation

2024-06-24 Thread Suanming Mou
> -Original Message- > From: Akhil Goyal > Sent: Monday, June 24, 2024 4:28 PM > To: Suanming Mou ; Matan Azrad > > Cc: dev@dpdk.org > Subject: RE: [EXTERNAL] [PATCH v2 1/2] crypto/mlx5: optimize AES-GCM > IPsec operation > > > Just to be more accu

RE: [EXTERNAL] [PATCH v2 1/2] crypto/mlx5: optimize AES-GCM IPsec operation

2024-06-20 Thread Suanming Mou
> -Original Message- > From: Akhil Goyal > Sent: Thursday, June 20, 2024 5:07 PM > To: Suanming Mou ; Matan Azrad > > Cc: dev@dpdk.org > Subject: RE: [EXTERNAL] [PATCH v2 1/2] crypto/mlx5: optimize AES-GCM > IPsec operation > > > > Subject: RE: [

RE: [EXTERNAL] [PATCH v2 1/2] crypto/mlx5: optimize AES-GCM IPsec operation

2024-06-20 Thread Suanming Mou
> -Original Message- > From: Akhil Goyal > Sent: Thursday, June 20, 2024 3:40 PM > To: Suanming Mou ; Matan Azrad > > Cc: dev@dpdk.org > Subject: RE: [EXTERNAL] [PATCH v2 1/2] crypto/mlx5: optimize AES-GCM > IPsec operation > > > Hi, > > >

[PATCH] doc: update match with E-Switch manager dependency

2024-06-18 Thread Suanming Mou
Update the description of match with E-Switch manager dependency on upstream Linux and rdma-core in case user will not install MLNX_OFED. Signed-off-by: Suanming Mou --- doc/guides/nics/mlx5.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/mlx5.rst b/doc

[PATCH v3] net/mlx5: support match with E-Switch manager

2024-06-18 Thread Suanming Mou
driver has exposed the E-Switch manager register value, this commit adds the support of register matching for E-Switch manager. Signed-off-by: Suanming Mou Acked-by: Dariusz Sosnowski --- v3: - update dependency. v2: - align to single patch. - update doc. --- doc/guides/nics/mlx5.rst

RE: [PATCH] maintainers: update for networking mlx5 driver

2024-06-18 Thread Suanming Mou
> -Original Message- > From: Slava Ovsiienko > Sent: Tuesday, June 18, 2024 7:17 PM > To: Dariusz Sosnowski ; Ori Kam > ; Suanming Mou ; Matan > Azrad ; Bing Zhao ; > NBU-Contact-Thomas Monjalon (EXTERNAL) > Cc: dev@dpdk.org > Subject: RE: [PATCH] maintai

RE: [EXTERNAL] [PATCH v2 1/2] crypto/mlx5: optimize AES-GCM IPsec operation

2024-06-17 Thread Suanming Mou
Hi Akhil, Any other suggestions regarding the series? BR, Suanming > -Original Message- > From: Suanming Mou > Sent: Friday, June 14, 2024 5:32 PM > To: Akhil Goyal ; Matan Azrad > Cc: dev@dpdk.org > Subject: RE: [EXTERNAL] [PATCH v2 1/2] crypto/mlx5: optimi

RE: [PATCH v2] app/test-crypto-perf: add throughput OOP decryption

2024-06-14 Thread Suanming Mou
Hi Akhil, As we mentioned the application in another thread, do you know if we can take the patch for now? BR, Suanming > -Original Message- > From: Suanming Mou > Sent: Monday, April 1, 2024 8:30 AM > To: Suanming Mou ; Power, Ciara > ; gak...@marvell.com > Cc: dev@

RE: [EXTERNAL] [PATCH v2 1/2] crypto/mlx5: optimize AES-GCM IPsec operation

2024-06-14 Thread Suanming Mou
Hi, > -Original Message- > From: Akhil Goyal > Sent: Friday, June 14, 2024 5:07 PM > To: Suanming Mou ; Matan Azrad > > Cc: dev@dpdk.org > Subject: RE: [EXTERNAL] [PATCH v2 1/2] crypto/mlx5: optimize AES-GCM IPsec > operation > > > Hi Akhil

RE: [EXTERNAL] [PATCH v2 1/2] crypto/mlx5: optimize AES-GCM IPsec operation

2024-06-14 Thread Suanming Mou
Hi Akhil, > -Original Message- > From: Akhil Goyal > Sent: Friday, June 14, 2024 2:49 PM > To: Suanming Mou ; Matan Azrad > > Cc: dev@dpdk.org > Subject: RE: [EXTERNAL] [PATCH v2 1/2] crypto/mlx5: optimize AES-GCM IPsec > operation > > > To optimi

[PATCH v2 2/2] crypto/mlx5: add out of place mode for IPsec operation

2024-06-13 Thread Suanming Mou
The IPsec operation shrinks AAD directly before payload in enqueue burst and restores the memory in dequeue burst. This commit adds the support of OOP mode follows the similar strategy. Signed-off-by: Suanming Mou Acked-by: Matan Azrad --- doc/guides/cryptodevs/mlx5.rst| 3

[PATCH v2 1/2] crypto/mlx5: optimize AES-GCM IPsec operation

2024-06-13 Thread Suanming Mou
tly, in the dequeue_burst function, the overridden IV before Payload is restored from the GGA WQE. It's crucial for users to avoid utilizing the input mbuf data during processing. Signed-off-by: Suanming Mou Acked-by: Matan Azrad --- doc/guides/cryptodevs/mlx5.rst | 20 +++ doc/

[PATCH v2 0/2] crypto/mlx5: optimize AES-GCM IPsec operation

2024-06-13 Thread Suanming Mou
tly, in the dequeue_burst function, the overridden IV before Payload is restored from the GGA WQE. It's crucial for users to avoid utilizing the input mbuf data during processing. v2: rebase version Suanming Mou (2): crypto/mlx5: optimize AES-GCM IPsec operation crypto/mlx5: add out of

RE: [PATCH 0/2] crypto/mlx5: optimize AES-GCM IPsec operation

2024-06-13 Thread Suanming Mou
> -Original Message- > From: Akhil Goyal > Sent: Friday, June 14, 2024 2:02 AM > To: Suanming Mou > Cc: dev@dpdk.org > Subject: RE: [PATCH 0/2] crypto/mlx5: optimize AES-GCM IPsec operation > > > Hi Akhil, > > > > Sorry, I just noticed

RE: [PATCH 0/2] crypto/mlx5: optimize AES-GCM IPsec operation

2024-06-12 Thread Suanming Mou
Hi Akhil, Sorry, I just noticed seems you were not added to the list by maintainer script. Can you please take a look at the series when available. Thanks, Suanming > -Original Message- > From: Suanming Mou > Sent: Thursday, May 30, 2024 3:24 PM > Cc: dev@dpdk.org > Subj

[PATCH v2] net/mlx5: support match with E-Switch manager

2024-06-05 Thread Suanming Mou
driver has exposed the E-Switch manager register value, this commit adds the support of register matching for E-Switch manager. Signed-off-by: Suanming Mou --- v2: - align to single patch. - update doc. --- doc/guides/nics/mlx5.rst | 6 + doc/guides/rel_notes/release_24_07.rst

[PATCH v2 2/3] net/mlx5: rename external Rx queue to external queue

2024-06-05 Thread Suanming Mou
Due to external Tx queue will be supported, in order to reuse the external queue struct, rename the current external Rx queue to external queue. Signed-off-by: Suanming Mou Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/linux/mlx5_os.c | 2 +- drivers/net/mlx5/mlx5.h | 2

[PATCH v2 1/3] net/mlx5: add match with Tx queue item

2024-06-05 Thread Suanming Mou
With the item RTE_FLOW_ITEM_TYPE_TX_QUEUE, user will be able to set the Tx queue index and create flow match with that queue index. This commit adds match with RTE_FLOW_ITEM_TX_QUEUE item. Signed-off-by: Suanming Mou Acked-by: Dariusz Sosnowski --- doc/guides/nics/features/mlx5.ini | 1

[PATCH v2 3/3] net/mlx5: add external Tx queue map and unmap

2024-06-05 Thread Suanming Mou
For using external created Tx queues in RTE_FLOW_ITEM_TX_QUEUE, this commit provides the map and unmap functions to convert the external created SQ's devx ID to DPDK flow item Tx queue ID. Signed-off-by: Suanming Mou --- v2: add feature and release notes. --- doc/guides/nics/mlx

RE: [PATCH 1/2] net/mlx5: support match with switch manager

2024-06-05 Thread Suanming Mou
Hi, > -Original Message- > From: Dariusz Sosnowski > Sent: Wednesday, June 5, 2024 4:34 PM > To: Suanming Mou ; Slava Ovsiienko > ; Ori Kam ; Matan Azrad > > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: RE: [PATCH 1/2] net/mlx5: support match with switch mana

RE: [PATCH 3/3] net/mlx5: add external Tx queue map and unmap

2024-06-05 Thread Suanming Mou
Hi, > -Original Message- > From: Dariusz Sosnowski > Sent: Wednesday, June 5, 2024 4:17 PM > To: Suanming Mou ; Slava Ovsiienko > ; Ori Kam ; Matan Azrad > > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: RE: [PATCH 3/3] net/mlx5: add external Tx queue map and un

[PATCH 2/2] net/mlx5/hws: add match with switch manager

2024-05-30 Thread Suanming Mou
This commit adds HWS layer match with switch manager code. Signed-off-by: Suanming Mou --- drivers/net/mlx5/hws/mlx5dr_definer.c | 3 ++- drivers/net/mlx5/hws/mlx5dr_definer.h | 5 - drivers/net/mlx5/hws/mlx5dr_rule.c| 2 +- drivers/net/mlx5/mlx5_flow.h | 30

[PATCH 1/2] net/mlx5: support match with switch manager

2024-05-30 Thread Suanming Mou
exposed the switch manager register value, this commit adds the support of register matching for switch manager. Signed-off-by: Suanming Mou --- doc/guides/rel_notes/release_24_07.rst | 1 + drivers/common/mlx5/linux/meson.build | 2 ++ drivers/net/mlx5/linux/mlx5_os.c | 12

[PATCH 3/3] net/mlx5: add external Tx queue map and unmap

2024-05-30 Thread Suanming Mou
For using external created Tx queues in RTE_FLOW_ITEM_TX_QUEUE, this commit provides the map and unmap functions to convert the external created SQ's devx ID to DPDK flow item Tx queue ID. Signed-off-by: Suanming Mou --- drivers/net/mlx5/linux/mlx5_os.c | 12 ++- drivers/net/mlx5/m

[PATCH 2/3] net/mlx5: rename external Rx queue to external queue

2024-05-30 Thread Suanming Mou
Due to external Tx queue will be supported, in order to reuse the external queue struct, rename the current external Rx queue to external queue. Signed-off-by: Suanming Mou --- drivers/net/mlx5/linux/mlx5_os.c | 2 +- drivers/net/mlx5/mlx5.h | 2 +- drivers/net/mlx5/mlx5_devx.c

[PATCH 1/3] net/mlx5: add match with Tx queue item

2024-05-30 Thread Suanming Mou
With the item RTE_FLOW_ITEM_TYPE_TX_QUEUE, user will be able to set the Tx queue index and create flow match with that queue index. This commit adds match with RTE_FLOW_ITEM_TX_QUEUE item. Signed-off-by: Suanming Mou --- doc/guides/nics/features/mlx5.ini | 1 + doc/guides/rel_notes

[PATCH 1/2] crypto/mlx5: optimize AES-GCM IPsec operation

2024-05-30 Thread Suanming Mou
tly, in the dequeue_burst function, the overridden IV before Payload is restored from the GGA WQE. It's crucial for users to avoid utilizing the input mbuf data during processing. Signed-off-by: Suanming Mou Acked-by: Matan Azrad --- doc/guides/cryptodevs/mlx5.rst | 20 +++ doc/

[PATCH 2/2] crypto/mlx5: add out of place mode for IPsec operation

2024-05-30 Thread Suanming Mou
The IPsec operation shrinks AAD directly before payload in enqueue burst and restores the memory in dequeue burst. This commit adds the support of OOP mode follows the similar strategy. Signed-off-by: Suanming Mou Acked-by: Matan Azrad --- doc/guides/cryptodevs/mlx5.rst| 3

[PATCH 0/2] crypto/mlx5: optimize AES-GCM IPsec operation

2024-05-30 Thread Suanming Mou
tly, in the dequeue_burst function, the overridden IV before Payload is restored from the GGA WQE. It's crucial for users to avoid utilizing the input mbuf data during processing. Suanming Mou (2): crypto/mlx5: optimize AES-GCM IPsec operation crypto/mlx5: add out of place mode fo

RE: [PATCH v2] app/test-crypto-perf: add throughput OOP decryption

2024-03-31 Thread Suanming Mou
Hi guys, Just want to make sure if anything still need to be checked with that patch? > -Original Message- > From: Suanming Mou > Sent: Wednesday, March 20, 2024 8:15 AM > To: Power, Ciara ; gak...@marvell.com > Cc: dev@dpdk.org > Subject: RE: [PATCH v2] app/tes

RE: [PATCH v2] app/test-crypto-perf: add throughput OOP decryption

2024-03-19 Thread Suanming Mou
> -Original Message- > From: Power, Ciara > Sent: Tuesday, March 19, 2024 11:15 PM > To: Suanming Mou ; gak...@marvell.com > Cc: dev@dpdk.org > Subject: RE: [PATCH v2] app/test-crypto-perf: add throughput OOP decryption > > > > > -Original Me

[PATCH v2] app/test-crypto-perf: add throughput OOP decryption

2024-03-19 Thread Suanming Mou
the test data can be prepared out of the running loop, the decryption test should be fine. This commit adds the support of out-of-place decryption testing for throughput. [1]: http://mails.dpdk.org/archives/dev/2023-July/273328.html Signed-off-by: Suanming Mou --- app/test-crypto-perf

RE: [EXT] [PATCH] app/test-crypto-perf: add throughput OOP decryption

2024-03-19 Thread Suanming Mou
> -Original Message- > From: Akhil Goyal > Sent: Tuesday, March 19, 2024 5:32 PM > To: Suanming Mou ; Anoob Joseph > ; ciara.po...@intel.com > Cc: dev@dpdk.org > Subject: RE: [EXT] [PATCH] app/test-crypto-perf: add throughput OOP decryption > > > > Su

RE: [EXT] [PATCH] app/test-crypto-perf: add throughput OOP decryption

2024-03-19 Thread Suanming Mou
> -Original Message- > From: Akhil Goyal > Sent: Tuesday, March 19, 2024 4:23 PM > To: Suanming Mou ; Anoob Joseph > ; ciara.po...@intel.com > Cc: dev@dpdk.org > Subject: RE: [EXT] [PATCH] app/test-crypto-perf: add throughput OOP decryption > > >

RE: [EXT] [PATCH] app/test-crypto-perf: add throughput OOP decryption

2024-03-18 Thread Suanming Mou
Hi Akhil Sorry for the late reply. > -Original Message- > From: Akhil Goyal > Sent: Friday, March 15, 2024 2:45 AM > To: Suanming Mou ; Anoob Joseph > ; ciara.po...@intel.com > Cc: dev@dpdk.org > Subject: RE: [EXT] [PATCH] app/test-crypto-perf: add thro

RE: [EXTERNAL] [PATCH] crypto/mlx5: add virtual function device ID

2024-03-03 Thread Suanming Mou
> -Original Message- > From: Akhil Goyal > Sent: Monday, March 4, 2024 3:24 PM > To: Suanming Mou ; Matan Azrad > > Cc: dev@dpdk.org > Subject: RE: [EXTERNAL] [PATCH] crypto/mlx5: add virtual function device ID > > > Subject: [EXTERNAL] [PATCH] cry

[PATCH] crypto/mlx5: add max segment assert

2024-03-01 Thread Suanming Mou
x27;s limitation. Signed-off-by: Suanming Mou Acked-by: Matan Azrad --- drivers/crypto/mlx5/mlx5_crypto_gcm.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/crypto/mlx5/mlx5_crypto_gcm.c b/drivers/crypto/mlx5/mlx5_crypto_gcm.c index 8b9953b46d..fc6ade6711 100644 --- a/drivers/crypto

[PATCH] crypto/mlx5: add virtual function device ID

2024-03-01 Thread Suanming Mou
This adds the virtual function device ID to the list of supported NVIDIA devices that run the MLX5 compress PMD. Signed-off-by: Suanming Mou Acked-by: Matan Azrad --- drivers/crypto/mlx5/mlx5_crypto.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/crypto/mlx5/mlx5_crypto.c b

RE: [PATCH v5 3/3] net/mlx5/hws: add compare ESP sequence number support

2024-02-18 Thread Suanming Mou
> -Original Message- > From: Michael Baum > Sent: Monday, February 19, 2024 3:22 PM > To: Suanming Mou ; dev@dpdk.org > Cc: Matan Azrad ; Dariusz Sosnowski > ; Raslan Darawsheh ; Slava > Ovsiienko ; Ori Kam > Subject: RE: [PATCH v5 3/3] net/mlx5/hws: add com

RE: [PATCH v5 1/3] net/mlx5/hws: add support for compare matcher

2024-02-18 Thread Suanming Mou
> -Original Message- > From: Michael Baum > Sent: Wednesday, February 14, 2024 3:30 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Dariusz Sosnowski > ; Raslan Darawsheh ; Slava > Ovsiienko ; Ori Kam ; Suanming > Mou ; Hamdan Igbaria > Subject: [PATCH v5 1/3] ne

RE: [PATCH v5 2/3] net/mlx5: add support to compare random value

2024-02-18 Thread Suanming Mou
> -Original Message- > From: Michael Baum > Sent: Wednesday, February 14, 2024 3:30 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Dariusz Sosnowski > ; Raslan Darawsheh ; Slava > Ovsiienko ; Ori Kam ; Suanming > Mou > Subject: [PATCH v5 2/3] net/mlx5: add supp

RE: [PATCH v5 3/3] net/mlx5/hws: add compare ESP sequence number support

2024-02-18 Thread Suanming Mou
Hi, > -Original Message- > From: Michael Baum > Sent: Wednesday, February 14, 2024 3:30 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Dariusz Sosnowski > ; Raslan Darawsheh ; Slava > Ovsiienko ; Ori Kam ; Suanming > Mou > Subject: [PATCH v5 3/3] net/mlx5/hws: add

[PATCH v7 4/4] net/mlx5: add compare item support

2024-02-05 Thread Suanming Mou
result between packet fields is supported. Signed-off-by: Suanming Mou Acked-by: Ori Kam --- doc/guides/nics/features/mlx5.ini | 1 + doc/guides/nics/mlx5.rst | 7 +++ doc/guides/rel_notes/release_24_03.rst | 2 + drivers/net/mlx5/mlx5_flow.h | 3 ++ drivers/net

[PATCH v7 3/4] ethdev: add compare item

2024-02-05 Thread Suanming Mou
ate 1 flow queue 0 create 0 template_table 1 pattern_template 0 \ actions_template 0 postpone no pattern compare op is le \ a_type is tag a_tag_index is 1 b_type is tag b_tag_index is 2 \ width is 32 / end actions count / drop / end Signed-off-by: Suanming Mou Acked-by: Or

[PATCH v7 2/4] ethdev: move flow field data structures

2024-02-05 Thread Suanming Mou
As flow field relevant data structures will be used by both actions and items, this commit moves the relevant data structures up to item parts. Signed-off-by: Suanming Mou --- lib/ethdev/rte_flow.h | 290 +- 1 file changed, 145 insertions(+), 145

[PATCH v7 1/4] ethdev: rename action modify field data structure

2024-02-05 Thread Suanming Mou
Current rte_flow_action_modify_data struct describes the pkt field perfectly and is used only in action. It is planned to be used for item as well. This commit renames it to "rte_flow_field_data" making it compatible to be used by item. Signed-off-by: Suanming Mou Acked-by: Ori Kam

[PATCH v7 0/4] ethdev: add RTE_FLOW_ITEM_TYPE_COMPARE

2024-02-05 Thread Suanming Mou
. V2: - Since modify field data struct is experiment, rename modify field data directly instead of adding new flow field struct. Suanming Mou (4): ethdev: rename action modify field data structure ethdev: move flow field data structures ethdev: add compare item net/mlx5: add compare

RE: [PATCH v6 2/3] ethdev: add compare item

2024-02-05 Thread Suanming Mou
> -Original Message- > From: Thomas Monjalon > Sent: Monday, February 5, 2024 10:09 PM > To: Suanming Mou > Cc: ferruh.yi...@amd.com; Ori Kam ; Aman Singh > ; Yuying Zhang ; > Andrew Rybchenko ; dev@dpdk.org > Subject: Re: [PATCH v6 2/3] ethdev: add compare it

RE: [PATCH v6 2/3] ethdev: add compare item

2024-02-05 Thread Suanming Mou
Hi Thomas, > -Original Message- > From: Thomas Monjalon > Sent: Monday, February 5, 2024 9:01 PM > To: Suanming Mou > Cc: ferruh.yi...@amd.com; Ori Kam ; Aman Singh > ; Yuying Zhang ; > Andrew Rybchenko ; dev@dpdk.org > Subject: Re: [PATCH v6 2/3] ethdev: add

RE: [PATCH v6 1/3] ethdev: rename action modify field data structure

2024-02-05 Thread Suanming Mou
Hi, > -Original Message- > From: Thomas Monjalon > Sent: Monday, February 5, 2024 8:39 PM > To: Suanming Mou > Cc: dev@dpdk.org; ferruh.yi...@amd.com; Ori Kam ; Aman > Singh ; Yuying Zhang ; > Dariusz Sosnowski ; Slava Ovsiienko > ; Matan Azrad ; Andrew &g

RE: [PATCH v6 1/3] ethdev: rename action modify field data structure

2024-02-05 Thread Suanming Mou
Hi Thomas, > -Original Message- > From: Thomas Monjalon > Sent: Monday, February 5, 2024 7:23 PM > To: Suanming Mou > Cc: ferruh.yi...@amd.com; Ori Kam ; Aman Singh > ; Yuying Zhang ; Dariusz > Sosnowski ; Slava Ovsiienko > ; Matan Azrad ; Andrew > Rybchenko ;

[PATCH v6 3/3] net/mlx5: add compare item support

2024-02-01 Thread Suanming Mou
result between packet fields is supported. Signed-off-by: Suanming Mou Acked-by: Ori Kam --- doc/guides/nics/features/mlx5.ini | 1 + doc/guides/nics/mlx5.rst | 7 +++ doc/guides/rel_notes/release_24_03.rst | 2 + drivers/net/mlx5/mlx5_flow.h | 3 ++ drivers/net

[PATCH v6 2/3] ethdev: add compare item

2024-02-01 Thread Suanming Mou
ate 1 flow queue 0 create 0 template_table 1 pattern_template 0 \ actions_template 0 postpone no pattern compare op is le \ a_type is tag a_tag_index is 1 b_type is tag b_tag_index is 2 \ width is 32 / end actions count / drop / end Signed-off-by: Suanming Mou Acked-by: Or

[PATCH v6 1/3] ethdev: rename action modify field data structure

2024-02-01 Thread Suanming Mou
Current rte_flow_action_modify_data struct describes the pkt field perfectly and is used only in action. It is planned to be used for item as well. This commit renames it to "rte_flow_field_data" making it compatible to be used by item. Signed-off-by: Suanming Mou Acked-by: Ori Kam

[PATCH v6 0/3] ethdev: add RTE_FLOW_ITEM_TYPE_COMPARE

2024-02-01 Thread Suanming Mou
odify field data directly instead of adding new flow field struct. Suanming Mou (3): ethdev: rename action modify field data structure ethdev: add compare item net/mlx5: add compare item support app/test-pmd/cmdline_flow.c | 416 +++- doc/guides/nics/fea

RE: [PATCH v5 0/3] ethdev: add RTE_FLOW_ITEM_TYPE_COMPARE

2024-02-01 Thread Suanming Mou
> -Original Message- > From: Ferruh Yigit > Sent: Friday, February 2, 2024 2:56 AM > To: Suanming Mou > Cc: dev@dpdk.org; Ori Kam > Subject: Re: [PATCH v5 0/3] ethdev: add RTE_FLOW_ITEM_TYPE_COMPARE > > On 2/1/2024 12:29 PM, Suanming Mou wrote: > > The

RE: [PATCH 1/2] app/test-crypto-perf: fix copy segment size calculation

2024-02-01 Thread Suanming Mou
Hi, I saw other crypto perf fixes are reviewed, any chance to take a look at this series? > -Original Message- > From: Suanming Mou > Sent: Wednesday, January 3, 2024 12:00 PM > To: ciara.po...@intel.com > Cc: dev@dpdk.org > Subject: [PATCH 1/2] app/test-crypto-perf

[PATCH v5 3/3] net/mlx5: add compare item support

2024-02-01 Thread Suanming Mou
result between packet fields is supported. Signed-off-by: Suanming Mou Acked-by: Ori Kam --- doc/guides/nics/features/mlx5.ini | 1 + doc/guides/nics/mlx5.rst | 7 +++ doc/guides/rel_notes/release_24_03.rst | 2 + drivers/net/mlx5/mlx5_flow.h | 3 ++ drivers/net

[PATCH v5 2/3] ethdev: add compare item

2024-02-01 Thread Suanming Mou
ate 1 flow queue 0 create 0 template_table 1 pattern_template 0 \ actions_template 0 postpone no pattern compare op is le \ a_type is tag a_tag_index is 1 b_type is tag b_tag_index is 2 \ width is 32 / end actions count / drop / end Signed-off-by: Suanming Mou Acked-by: Or

[PATCH v5 1/3] ethdev: rename action modify field data structure

2024-02-01 Thread Suanming Mou
Current rte_flow_action_modify_data struct describes the pkt field perfectly and is used only in action. It is planned to be used for item as well. This commit renames it to "rte_flow_field_data" making it compatible to be used by item. Signed-off-by: Suanming Mou Acked-by: Ori Kam

[PATCH v5 0/3] ethdev: add RTE_FLOW_ITEM_TYPE_COMPARE

2024-02-01 Thread Suanming Mou
patch. - add comparison flow create sample in testpmd_funcs.rst. V3: - fix code style missing empty line in rte_flow.rst. - fix missing the ABI change release notes. V2: - Since modify field data struct is experiment, rename modify field data directly instead of adding new flow field struct. Sua

RE: [PATCH v3 1/3] ethdev: rename action modify field data structure

2024-02-01 Thread Suanming Mou
> -Original Message- > From: Ferruh Yigit > Sent: Thursday, February 1, 2024 7:21 PM > To: Suanming Mou ; Ori Kam ; > Aman Singh ; Yuying Zhang > ; Dariusz Sosnowski ; Slava > Ovsiienko ; Matan Azrad ; NBU- > Contact-Thomas Monjalon (EXTERNAL) ; Andrew > Ry

RE: [PATCH v3 1/3] ethdev: rename action modify field data structure

2024-02-01 Thread Suanming Mou
> -Original Message- > From: Ferruh Yigit > Sent: Thursday, February 1, 2024 6:56 PM > To: Suanming Mou ; Ori Kam ; > Aman Singh ; Yuying Zhang > ; Dariusz Sosnowski ; Slava > Ovsiienko ; Matan Azrad ; NBU- > Contact-Thomas Monjalon (EXTERNAL) ; Andrew > Ry

[PATCH v4 3/3] net/mlx5: add compare item support

2024-01-31 Thread Suanming Mou
result between packet fields is supported. Signed-off-by: Suanming Mou Acked-by: Ori Kam --- doc/guides/nics/features/mlx5.ini | 1 + doc/guides/nics/mlx5.rst | 7 +++ doc/guides/rel_notes/release_24_03.rst | 2 + drivers/net/mlx5/mlx5_flow.h | 3 ++ drivers/net

[PATCH v4 2/3] ethdev: add compare item

2024-01-31 Thread Suanming Mou
ate 1 flow queue 0 create 0 template_table 1 pattern_template 0 \ actions_template 0 postpone no pattern compare op is le \ a_type is tag a_tag_index is 1 b_type is tag b_tag_index is 2 \ width is 32 / end actions count / drop / end Signed-off-by: Suanming Mou Acked-by: Or

[PATCH v4 1/3] ethdev: rename action modify field data structure

2024-01-31 Thread Suanming Mou
Current rte_flow_action_modify_data struct describes the pkt field perfectly and is used only in action. It is planned to be used for item as well. This commit renames it to "rte_flow_field_data" making it compatible to be used by item. Signed-off-by: Suanming Mou Acked-by: Ori Kam

[PATCH v4 0/3] ethdev: add RTE_FLOW_ITEM_TYPE_COMPARE

2024-01-31 Thread Suanming Mou
code style missing empty line in rte_flow.rst. - fix missing the ABI change release notes. V2: - Since modify field data struct is experiment, rename modify field data directly instead of adding new flow field struct. Suanming Mou (3): ethdev: rename action modify field data structure ethdev

RE: [PATCH v3 2/3] ethdev: add compare item

2024-01-31 Thread Suanming Mou
> -Original Message- > From: Ferruh Yigit > Sent: Thursday, February 1, 2024 12:46 AM > To: Ori Kam ; Suanming Mou ; > Aman Singh ; Yuying Zhang > ; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Andrew Rybchenko > > Cc: dev@dpdk.org > Subject: Re: [PATCH v3

RE: [PATCH v3 1/3] ethdev: rename action modify field data structure

2024-01-30 Thread Suanming Mou
Hi, > -Original Message- > From: Ferruh Yigit > Sent: Wednesday, January 31, 2024 1:19 AM > To: Suanming Mou ; Ori Kam ; > Aman Singh ; Yuying Zhang > ; Dariusz Sosnowski ; Slava > Ovsiienko ; Matan Azrad ; NBU- > Contact-Thomas Monjalon (EXTERNAL) ; Andre

RE: [PATCH v3 2/3] ethdev: add compare item

2024-01-30 Thread Suanming Mou
Hi, > -Original Message- > From: Ferruh Yigit > Sent: Wednesday, January 31, 2024 1:34 AM > To: Suanming Mou ; Ori Kam ; > Aman Singh ; Yuying Zhang > ; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Andrew Rybchenko > > Cc: dev@dpdk.org > Subject: Re: [PAT

RE: [PATCH v1 00/23] net/mlx5: support Geneve and options for HWS

2024-01-25 Thread Suanming Mou
Hi, > -Original Message- > From: Michael Baum > Sent: Sunday, December 3, 2023 7:25 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; Ori Kam > ; Suanming Mou > Subject: [PATCH v1 00/23] net/mlx5: support Geneve and options for HWS

[PATCH v3 2/3] ethdev: add compare item

2024-01-15 Thread Suanming Mou
equal) - RTE_FLOW_ITEM_COMPARE_GT (great than) - RTE_FLOW_ITEM_COMPARE_GE (great than or equal) Signed-off-by: Suanming Mou Acked-by: Ori Kam Acked-by: Andrew Rybchenko --- app/test-pmd/cmdline_flow.c | 414 +++- doc/guides/nics/features/default.ini

[PATCH v3 3/3] net/mlx5: add compare item support

2024-01-15 Thread Suanming Mou
result between packet fields is supported. Signed-off-by: Suanming Mou Acked-by: Ori Kam --- doc/guides/nics/features/mlx5.ini | 1 + doc/guides/nics/mlx5.rst | 7 +++ doc/guides/rel_notes/release_24_03.rst | 2 +- drivers/net/mlx5/mlx5_flow.h | 3 ++ drivers/net

[PATCH v3 1/3] ethdev: rename action modify field data structure

2024-01-15 Thread Suanming Mou
Current rte_flow_action_modify_data struct describes the pkt field perfectly and is used only in action. It is planned to be used for item as well. This commit renames it to "rte_flow_field_data" making it compatible to be used by item. Signed-off-by: Suanming Mou Acked-by: Ori Kam

[PATCH v3 0/3] ethdev: add RTE_FLOW_ITEM_TYPE_COMPARE

2024-01-15 Thread Suanming Mou
ad of adding new flow field struct. Suanming Mou (3): ethdev: rename action modify field data structure ethdev: add compare item net/mlx5: add compare item support app/test-pmd/cmdline_flow.c | 416 +++- doc/guides/nics/features/default.ini| 1 +

RE: [PATCH v2 2/3] ethdev: add compare item

2024-01-15 Thread Suanming Mou
Hi, > -Original Message- > From: Andrew Rybchenko > Sent: Friday, January 12, 2024 4:11 PM > To: Suanming Mou ; Ori Kam ; > Aman Singh ; Yuying Zhang > ; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Ferruh Yigit > Cc: dev@dpdk.org > Subject: Re: [PATCH v2 2/

[PATCH v2] app/test-crypto-perf: add missed resubmission fix

2024-01-15 Thread Suanming Mou
ation resubmission") Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Cc: sta...@dpdk.org Signed-off-by: Suanming Mou Acked-by: Anoob Joseph --- v2: code-style update. --- app/test-crypto-perf/cperf_test_verify.c | 12 +++- 1 file changed,

RE: [EXT] [PATCH] app/test-crypto-perf: add missed resubmission fix

2024-01-14 Thread Suanming Mou
> -Original Message- > From: Anoob Joseph > Sent: Wednesday, January 10, 2024 10:47 PM > To: Suanming Mou > Cc: dev@dpdk.org; sta...@dpdk.org; ciara.po...@intel.com > Subject: RE: [EXT] [PATCH] app/test-crypto-perf: add missed resubmission fix > > Hi Suanming

[PATCH] app/test-crypto-perf: add throughput OOP decryption

2024-01-05 Thread Suanming Mou
the test data can be prepared out of the running loop, the decryption test should be fine. This commit adds the support of out-of-place decryption testing for throughput. [1]: http://mails.dpdk.org/archives/dev/2023-July/273328.html Signed-off-by: Suanming Mou --- app/test-crypto-perf

[PATCH] app/test-crypto-perf: add missed resubmission fix

2024-01-04 Thread Suanming Mou
ssion") Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Cc: sta...@dpdk.org Signed-off-by: Suanming Mou --- app/test-crypto-perf/cperf_test_verify.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/

[PATCH v2 2/2] app/test-crypto-perf: fix encrypt operation verify

2024-01-04 Thread Suanming Mou
ned-off-by: Suanming Mou --- v2: align auth/cipher to bool. --- app/test-crypto-perf/cperf_test_verify.c | 55 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/app/test-crypto-perf/cperf_test_verify.c b/app/test-crypto-perf/cperf_test_verify.c index 8aa714b969..

[PATCH v2 1/2] app/test-crypto-perf: fix invalid memcmp results

2024-01-04 Thread Suanming Mou
value to be zero or greater than zero. That will make sure the sum of results be correct. Fixes: df52cb3b6e13 ("app/crypto-perf: move verify as single test type") Signed-off-by: Suanming Mou Acked-by: Anoob Joseph --- app/test-crypto-perf/cperf_test_verify.c | 6 +++--- 1 file

RE: [EXT] [PATCH 2/2] app/test-crypto-perf: fix encrypt operation verify

2024-01-04 Thread Suanming Mou
Hi, > -Original Message- > From: Anoob Joseph > Sent: Thursday, January 4, 2024 1:13 PM > To: Suanming Mou ; Ciara Power > > Cc: dev@dpdk.org > Subject: RE: [EXT] [PATCH 2/2] app/test-crypto-perf: fix encrypt operation > verify > > Hi Suanming, >

[PATCH v2] app/test-crypto-perf: fix invalid mbuf next operation

2024-01-03 Thread Suanming Mou
pto-perf: use single mempool") Signed-off-by: Suanming Mou --- v2: move next_mbuf inside remaining_segments check. --- app/test-crypto-perf/cperf_test_common.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/app/test-crypto-perf/cperf_test_common.c b/ap

RE: [EXT] [PATCH] app/test-crypto-perf: fix invalid mbuf next operation

2024-01-03 Thread Suanming Mou
> -Original Message- > From: Anoob Joseph > Sent: Wednesday, January 3, 2024 11:43 PM > To: Suanming Mou > Cc: dev@dpdk.org; Ciara Power > Subject: RE: [EXT] [PATCH] app/test-crypto-perf: fix invalid mbuf next > operation > > Hi Suanming, > &g

RE: [EXT] [PATCH] app/test-crypto-perf: fix invalid mbuf next operation

2024-01-03 Thread Suanming Mou
Hi, > -Original Message- > From: Anoob Joseph > Sent: Wednesday, January 3, 2024 7:22 PM > To: Suanming Mou > Cc: dev@dpdk.org; Ciara Power > Subject: RE: [EXT] [PATCH] app/test-crypto-perf: fix invalid mbuf next > operation > > Hi Suanming, > &

[PATCH 2/2] app/test-crypto-perf: fix dst_mbuf size calculation

2024-01-02 Thread Suanming Mou
If crypto device requires headroom and tailroom, the mbuf of dst in out-of-place should reserve the headroom and tailroom as well, otherwise there will be no enough room for dst mbuf. Fixes: bf9d6702eca9 ("app/crypto-perf: use single mempool") Signed-off-by: Suanming Mou --- app/t

[PATCH 0/2] app/test-crypto-perf: fix multi-segment issue

2024-01-02 Thread Suanming Mou
This commit fixes the bugs in multi-segment size calculation. *** BLURB HERE *** Suanming Mou (2): app/test-crypto-perf: fix copy segment size calculation app/test-crypto-perf: fix dst_mbuf size calculation app/test-crypto-perf/cperf_test_common.c | 5 +++-- 1 file changed, 3 insertions

[PATCH 1/2] app/test-crypto-perf: fix copy segment size calculation

2024-01-02 Thread Suanming Mou
tead of options->segment_sz. This commit fixes the copy segment size calculation. Fixes: 14864c4217ce ("test/crypto-perf: populate mbuf in latency test") Signed-off-by: Suanming Mou --- app/test-crypto-perf/cperf_test_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 2/2] app/test-crypto-perf: fix encrypt operation verify

2024-01-02 Thread Suanming Mou
ned-off-by: Suanming Mou --- app/test-crypto-perf/cperf_test_verify.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/test-crypto-perf/cperf_test_verify.c b/app/test-crypto-perf/cperf_test_verify.c index 8aa714b969..525a2b1373 100644 --- a/app/test-crypto-perf/cperf_tes

[PATCH 1/2] app/test-crypto-perf: fix invalid memcmp results

2024-01-02 Thread Suanming Mou
value to be zero or greater than zero. That will make sure the sum of results be correct. Fixes: df52cb3b6e13 ("app/crypto-perf: move verify as single test type") Signed-off-by: Suanming Mou --- app/test-crypto-perf/cperf_test_verify.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH] app/test-crypto-perf: fix invalid mbuf next operation

2024-01-02 Thread Suanming Mou
pto-perf: use single mempool") Signed-off-by: Suanming Mou --- app/test-crypto-perf/cperf_test_common.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/app/test-crypto-perf/cperf_test_common.c b/app/test-crypto-perf/cperf_test_common.c index 932aab16df.

[PATCH v2 2/3] ethdev: add compare item

2023-12-18 Thread Suanming Mou
equal) - RTE_FLOW_ITEM_COMPARE_GT (great than) - RTE_FLOW_ITEM_COMPARE_GE (great than or equal) Signed-off-by: Suanming Mou --- app/test-pmd/cmdline_flow.c | 414 +++- doc/guides/nics/features/default.ini| 1 + doc/guides/prog_guide/rte_flo

  1   2   3   4   5   6   7   8   9   10   >