Set dv_flow_en=2, but cannot create HWS action since HWS is not supported

Hi.
I’m trying to use rte_flow rules with asynchronous API in DPDK 22.11.
When I configure rte flow set using rte_flow_configure(), it returns like below and fail to configure.

mlx5_net: [mlx5dr_action_create_generic]: Cannot create HWS action since HWS is not supporte
d

I found that dv_flow_en is set as 2, but when querying HCA capability, mlx5dr_cmd_query_caps() returns caps->wqe_based_update of 0.

I guess there is something more that I should setup with firmware.
Is there anyone has tried asynchronous rte_flow APIs?
How can I use rte_flow_configure()?

Thanks

Are you familiar with the following links:
This is basis though might provide you some answers to your inquiries.
You might want to check that the HCA is supported and flashed with our latest FW respectively.

https://doc.dpdk.org/guides/nics/mlx5.html
Section HW steering (NIC ConnectX-5 and before are not supported) + other validations worst checking

https://doc.dpdk.org/guides-22.11/howto/rte_flow.html#
https://doc.dpdk.org/guides-22.11/prog_guide/rte_flow.html#generic-flow-api

After installing latest FW, it worked. Thank you.

HI ,
I am also trying to create rte_flow rules with asynchronous API in DPDK 22.11.
rte_flow_configure() is failing with below error message:

Caught PMD error type 1 (cause unspecified): info get with incorrect steering mode: Operation not supported
ret :-95

1.looks i am missing some NIC settings. let me know what NIC settings to be done , before we try creating async flow rules?
2.how to set dv_flow_en to 2 ?
how to check value of dv_flow_en that is set? i saw in mlnx driver code that this parameter should be set to 2.
3.send me a sample code for creating asyn rte_flow rule.

-Timothy

Hi,

I have the same issue on a MCX653105A-ECAT NIC in ethernet mode. Could you please tell me whether HWS is supported on this SKU?

Thanks,
Michael