rocev2 is not working Connect X5 with Mellanox OFED

HowTo Configure RoCE v2 for ConnectX-3 Pro using Mellanox SwitchX Switches

Similar procedure not working for MLX5 Connect x5

modinfo mlx5_core also not providing roce_mode parameters . I am using MLXOFED stack 3.4.2

cat /sys/module/mlx5_core/parameters/roce_mod


RoCE mode is a parameter for ConnectX-3 Pro cards. ConnectX-4/5 doesn’t have this parameter.

See some examples here:

There are more on the RoCE page.