RE: [EXTERNAL] [PATCH v2 3/3] compress/uadk: support burst enqueue/dequeue

2024-06-09 Thread Akhil Goyal
> -Original Message- > From: Zhangfei Gao > Sent: Friday, June 7, 2024 7:24 PM > To: Akhil Goyal > Cc: Fan Zhang ; Ashish Gupta > ; dev@dpdk.org > Subject: Re: [EXTERNAL] [PATCH v2 3/3] compress/uadk: support burst > enqueue/dequeue > > Hi, Akhil > > On Fri, 7 Jun 2024 at 19:49, Akhil

RE: [PATCH] net/mlx5: add queue hardware object context dump

2024-06-09 Thread Slava Ovsiienko
> -Original Message- > From: Kiran Vedere > Sent: Wednesday, June 5, 2024 12:12 AM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; Dariusz > Sosnowski > Subject: [PATCH] net/mlx5: add queue hardware object context dump > > Add debug capability to mlx5 PMD to

Re: [PATCH] net/virtio-user: add VIRTIO_F_ORDER_PLATFORM to feature list

2024-06-09 Thread Maxime Coquelin
On 2/20/24 12:40, Nithin Dabilpuram wrote: VIRTIO_F_ORDER_PLATFORM is needed feature when working with real HW platforms that are exposing virtio-net devices via VDPA framework. This feature helps in having more real ordering requirements between descriptor updates and notification data update

Re: 0001-vhost-optimize-vhost-user-get-protocol-features

2024-06-09 Thread Maxime Coquelin
Hello Yuan, On 12/5/23 12:01, yuanzhiyuan0...@outlook.com wrote: From 4cf72842a07b2270876939fd2bb2367efaad95f4 Mon Sep 17 00:00:00 2001 From: Yuan Zhiyuan  Date: Fri, 1 Dec 2023 11:27:51 + Subject: [PATCH] vhost: optimize vhost user get protocol features Thanks for your contribution. For

RE: [PATCH v6 1/4] app/testpmd: fix the testpmd field string sequence

2024-06-09 Thread Ori Kam
> -Original Message- > From: rongwei liu > Sent: Wednesday, June 5, 2024 1:22 PM > Subject: [PATCH v6 1/4] app/testpmd: fix the testpmd field string sequence > > The field string should be in the same order as the rte_flow_field_id > enumration definitions > > Fixes: bfc007802 ("ethdev

[PATCH v7 11/11] net/mlx5: initial design changes

2024-06-09 Thread Maayan Kashani
Change flow_drv_list_create/destroy to mlx5_flow_list_create/destroy. Remove resource release function inlining. Check number of queues in template mode in hw configure function. Use user priority to calculate matcher priority. Signed-off-by: Maayan Kashani Acked-by: Dariusz Sosnowski --- driv

[PATCH v7 10/11] net/mlx5: use non const max number for ASO actions

2024-06-09 Thread Maayan Kashani
For ASO max allocations in non-template mode, Read FW capabilities instead of using consts. Signed-off-by: Maayan Kashani Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/mlx5.h| 17 - drivers/net/mlx5/mlx5_flow_hw.c| 13 + drivers/net/mlx5/mlx5_flow_

[PATCH v7 09/11] net/mlx5: support bulk actions in non template mode

2024-06-09 Thread Maayan Kashani
Add support for encap/decap/modify header action for non template API. Save 1 action per bulk according to action data. Reuse action if possible. Store actions same as for SWS today, use same key structure. Signed-off-by: Maayan Kashani Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/mlx5_flo

[PATCH v7 08/11] common/mlx5: read connection tracking attributes

2024-06-09 Thread Maayan Kashani
Need to read maximum connection tracking objects from HCA attributes. Signed-off-by: Maayan Kashani Acked-by: Dariusz Sosnowski --- drivers/common/mlx5/mlx5_devx_cmds.c | 3 +++ drivers/common/mlx5/mlx5_devx_cmds.h | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/common/mlx5/mlx5_d

[PATCH v7 07/11] net/mlx5: abstract action handling and enable reconfigure

2024-06-09 Thread Maayan Kashani
reuse HWS actions translation code in order to create the actions for lower layer. All actions are handled as non masked. Therefore, will be translated in the rule construct phase shared with the template code and not during the action template translate. Currently there is no option to reconfigur

[PATCH v7 06/11] net/mlx5: fix segfault on counter pool destroy

2024-06-09 Thread Maayan Kashani
If the counter pool was not added to list, and an error state was reached, on attempt to destroy the counter pool, segmentation fault was received during list remove action. Added a check to verify the list is not empty before trying to remove the cpool from the list. Invalid state, leading to se

[PATCH v7 04/11] net/mlx5: add default miss action support in nt2hws mode

2024-06-09 Thread Maayan Kashani
From: Bing Zhao The validation will be handled later. Now it only supports the SEND_TO_KERNEL on non-root tables. Signed-off-by: Bing Zhao Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/mlx5_flow_hw.c | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git

[PATCH v7 03/11] net/mlx5: add basic actions support for non-template API

2024-06-09 Thread Maayan Kashani
From: Bing Zhao Support JUMP / DROP / QUEUE / MARK / FLAG now. Signed-off-by: Bing Zhao Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/mlx5_flow_hw.c | 154 1 file changed, 136 insertions(+), 18 deletions(-) diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/dr

[PATCH v7 05/11] net/mlx5: add ASO actions support to non-template mode

2024-06-09 Thread Maayan Kashani
This patch adds counter, connection tracking, meter and age actions support to non-template mode. For CT, counter and meter: if no previous allocation was handled by hw configure routine, Half of the maximum supported number of objects will be allocated. For AGE action, if no counters were allocat

[PATCH v7 02/11] net/mlx5: add dummy last action

2024-06-09 Thread Maayan Kashani
From: Bing Zhao The RTE_FLOW_ACTION_TYPE_END action needs to be translated into the MLX5DR_ACTION_TYP_LAST for the future usage. It is only needed in the hardware steering backward compatible API. Signed-off-by: Bing Zhao Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/mlx5.h | 1 +

[PATCH v7 01/11] net/mlx5: initial design of non template to hws

2024-06-09 Thread Maayan Kashani
Implement the frame and needed building blocks for non template to hws API's. Added validate, list_create and list_destroy to mlx5_flow_hw_drv_ops. Rename old list_create/list_destroy functions to legacy_* and added a call from verbs/dv ops to the legacy functions. Updated rte_flow_hw as needed.

Re: [PATCH v8 2/3] ethdev: add VXLAN last reserved field

2024-06-09 Thread Thomas Monjalon
07/06/2024 16:02, Rongwei Liu: > Add "uint8_t last_rsvd" as union with origin rsvd1. > Add RTE_FLOW_FIELD_VXLAN_LAST_RSVD into rte flow packet > field. > > The new union is used by testpmd matching item VXLAN > "last_rsvd" and modify target RTE_FLOW_FIELD_VXLAN_LAST_RSVD. > > Signed-off-by: Rongw

[PATCH v6 11/11] net/mlx5: initial design changes

2024-06-09 Thread Maayan Kashani
Change flow_drv_list_create/destroy to mlx5_flow_list_create/destroy. Remove resource release function inlining. Check number of queues in template mode in hw configure function. Use user priority to calculate matcher priority. Signed-off-by: Maayan Kashani Acked-by: Dariusz Sosnowski --- driv

[PATCH v6 10/11] net/mlx5: use non const max number for ASO actions

2024-06-09 Thread Maayan Kashani
For ASO max allocations in non-template mode, Read FW capabilities instead of using consts. Signed-off-by: Maayan Kashani Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/mlx5.h| 17 - drivers/net/mlx5/mlx5_flow_hw.c| 13 + drivers/net/mlx5/mlx5_flow_

[PATCH v6 09/11] net/mlx5: support bulk actions in non template mode

2024-06-09 Thread Maayan Kashani
Add support for encap/decap/modify header action for non template API. Save 1 action per bulk according to action data. Reuse action if possible. Store actions same as for SWS today, use same key structure. Signed-off-by: Maayan Kashani Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/mlx5_flo

[PATCH v6 08/11] common/mlx5: read connection tracking attributes

2024-06-09 Thread Maayan Kashani
Need to read maximum connection tracking objects from HCA attributes. Signed-off-by: Maayan Kashani Acked-by: Dariusz Sosnowski --- drivers/common/mlx5/mlx5_devx_cmds.c | 3 +++ drivers/common/mlx5/mlx5_devx_cmds.h | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/common/mlx5/mlx5_d

[PATCH v6 07/11] net/mlx5: abstract action handling and enable reconfigure

2024-06-09 Thread Maayan Kashani
reuse HWS actions translation code in order to create the actions for lower layer. All actions are handled as non masked. Therefore, will be translated in the rule construct phase shared with the template code and not during the action template translate. Currently there is no option to reconfigur

[PATCH v6 04/11] net/mlx5: add default miss action support in nt2hws mode

2024-06-09 Thread Maayan Kashani
From: Bing Zhao The validation will be handled later. Now it only supports the SEND_TO_KERNEL on non-root tables. Signed-off-by: Bing Zhao Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/mlx5_flow_hw.c | 23 --- 1 file changed, 20 insertions(+), 3 deletions(-) diff --gi

[PATCH v6 05/11] net/mlx5: add ASO actions support to non-template mode

2024-06-09 Thread Maayan Kashani
This patch adds counter, connection tracking, meter and age actions support to non-template mode. For CT, counter and meter: if no previous allocation was handled by hw configure routine, Half of the maximum supported number of objects will be allocated. For AGE action, if no counters were allocat

[PATCH v6 02/11] net/mlx5: add dummy last action

2024-06-09 Thread Maayan Kashani
From: Bing Zhao The RTE_FLOW_ACTION_TYPE_END action needs to be translated into the MLX5DR_ACTION_TYP_LAST for the future usage. It is only needed in the hardware steering backward compatible API. Signed-off-by: Bing Zhao Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/mlx5.h | 1 +

[PATCH v6 06/11] net/mlx5: fix segfault on counter pool destroy

2024-06-09 Thread Maayan Kashani
If the counter pool was not added to list, and an error state was reached, on attempt to destroy the counter pool, segmentation fault was received during list remove action. Added a check to verify the list is not empty before trying to remove the cpool from the list. Invalid state, leading to se

[PATCH v6 01/11] net/mlx5: initial design of non template to hws

2024-06-09 Thread Maayan Kashani
Implement the frame and needed building blocks for non template to hws API's. Added validate, list_create and list_destroy to mlx5_flow_hw_drv_ops. Rename old list_create/list_destroy functions to legacy_* and added a call from verbs/dv ops to the legacy functions. Updated rte_flow_hw as needed.

[PATCH v6 03/11] net/mlx5: add basic actions support for non-template API

2024-06-09 Thread Maayan Kashani
From: Bing Zhao Support JUMP / DROP / QUEUE / MARK / FLAG now. Signed-off-by: Bing Zhao Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/mlx5_flow_hw.c | 153 1 file changed, 135 insertions(+), 18 deletions(-) diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/dr