Devlink esw_multiport not supported

When trying to set esw_multiport mode on NVIDIA Bluefield 2, I get an error from kernel that operation is not supported.

$ sudo devlink dev param set pci/0000:03:00.1 name esw_multiport value true cmode runtime
kernel answers: Operation not supported
$ sudo devlink dev info pci/0000:03:00.0
pci/0000:03:00.0:
  driver mlx5_core
  versions:
      fixed:
        fw.psid MT_0000000733
      running:
        fw.version 24.42.1000
        fw 24.42.1000
      stored:
        fw.version 24.42.1000
        fw 24.42.1000

Is this behavior expected for this FW version and HW?

I would like to use it so that connection tracking from DOCA Flow can be used for two ports. So far I managed to only run the ct 2 ports sample where esw_multiport is not required. However, this limits me to hairpin mode only. How to run CT from DOCA Flow on two ports?

Hi,

Please refer to the following guide in order to run CT from DOCA flow on two ports:
https://docs.nvidia.com/doca/sdk/doca+flow+connection+tracking/index.html

Additionally, please make sure to have the latest MLNX_OFED / DOCA_HOST installed properly on the system.
According to the DOCA documentation of the latest version, esw_multiport is supported by the HW and FW:
https://docs.nvidia.com/doca/sdk/ovs-doca+hardware+acceleration/index.html#src-3382565631_id-.OVSDOCAHardwareAccelerationv2.9.1-MultiporteSwitchMode

If this doesn’t help and the issue still persists, please open a case with EnterpriseSupport@nvidia.com and it will be handled according to entitlement.

Thanks,
Jonathan.

Hi, thanks for the response. The issue was fixed by installing newest bfb-bundle. The version I had issues with was bf-bundle-2.8.0-98_24.07. Upgrading to bf-bundle-2.9.0-90_24.10 allowed me to set esw_multiport mode