Cannot switch to switchdev mode as installing OVS Offload Using ASAP² Direct in mellanox ConnectX-6 Dx

Following is from dmesg

mlx5_core 0000:98:00.0: mlx5_rdma_enable_roce_steering:71:(pid 3537): Failed to create RDMA RX flow group err(-22)
mlx5_rdma_enable_roce:164:(pid 3537): Failed to enable RoCE steering: -22
mlx5_core 0000:98:00.0: esw_compat_write:353:(pid 3537): mlx5_core: Failed setting eswitch to offloads

Server:R750
Ubuntu: 22.04.4
Kernel:5.15.0-97-generic
OFED:23.10-2.1.3.1
NIC:MCX623106AC―CDAT ('lel lanox ConnectI 6 Dx Crypto cnabled neti,vorli ad:ipter)

sudo ethtool -i enp152s0f0np0
driver: mlx5_core
version: 23.10-2.1.3
firmware-version: 22.32.2004 (DEL0000000027)
expansion-rom-version:
bus-info: 0000:98:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: yes

I have already set ‘SR-IOV Global Enable’ to ‘Enabled’ in BIOS, and set SRIPV_EN true for NIC

I can’t figure out why this happen

make sure your firmware version are compatible with software version you are using.

Hi,

Please try upgrading the firmware to the compatible/tested version with this driver version according to Dell recommendation, as this is a Dell branded adapter.
If after upgrading the issue is still present, please open a new support case in Nvidia portal, and it will be handled according to support entitlement.

Best Regards,
Anatoly