HW Steering ConnectX6

Hello,
I have a node with the SmartNIC ConnectX6 – and I am trying to run the NVIDIA GPU Packet Processing application.
However, running the application throws this error

mlx5_net: [mlx5dr_table_init_check_hws_support]: HWS not supported, cannot create mlx5dr_table
mlx5_net: [mlx5dr_table_create]: Failed to initialise table
mlx5_net: [mlx5dr_action_validate_hws_action]: Cannot create HWS action since HWS is not supported

According to the documentation (https://doc.dpdk.org/guides/nics/mlx5.html) HW Steering – NIC ConnectX-5 and before are not supported
That means it should have worked for my ConnectX6 node, right? Am I missing something, or is any additional config required?

If anyone is familiar with this, please help me out! I can’t find any documentation or threads surrounding this on the internet! It would be a great help if anyone could help me figure this out.

Also, I read dv_flow_en has to be set to 2 for HWS, where do i see this setting?

Thanks,
Tanay

Hi @maheshwaritanay8 ,

This application leverages the DOCA library: DOCA Flow (see step #4).

Please check:
https://docs.nvidia.com/doca/sdk/doca+flow/index.html#src-3113748976_id-.DOCAFlowv2.9.0LTS-HardwareSteeringMode

“In the struct doca_flow_cfg, setting mode_args using (doca_flow_cfg_set_mode_args()) represents DOCA applications. If it is set with hws (e.g., “vnf,hws”, “switch,hws”, “remmote_vnf,hws”) then hardware steering mode is enabled.”

Thanks,
Chen