CX8 C8180 - Port Splitting to Configuration-7 2x400Gbps Infiniband NDR creates one Ethernet port instead

I am trying to configure ConnectX8 C8180 into two Infiniband 400G ports as per Configuration-7.

Used the suggested mlxconfig steps:
mlxconfig -d set MODULE_SPLIT_M0[0..3]=1 MODULE_SPLIT_M0[4..7]=2 MODULE_SPLIT_M0[8..15]=FF
mlxconfig -d set NUM_OF_PLANES_P1 = 0
mlxconfig -d set LINK_TYPE_P1=1
mlxconfig -d set NUM_OF_PF = 2
---- Reboot/power cycle HCA ----
mlxconfig -d set NUM_OF_PLANES_P2 = 0
mlxconfig -d set LINK_TYPE_P2=1

However on reboot, I see one port as Infiniband and the other port as Ethernet.
root@dmr:~# ibv_devinfo
hca_id: mlx5_0
transport: InfiniBand (0)
fw_ver: 40.44.1036
node_guid: 5000:e603:0047:3656
sys_image_guid: 5000:e603:0047:3656
vendor_id: 0x02c9
vendor_part_id: 4131
hw_ver: 0x0
board_id: MT_0000001167
phys_port_cnt: 1
port: 1
state: PORT_INIT (2)
max_mtu: 4096 (5)
active_mtu: 4096 (5)
sm_lid: 0
port_lid: 65535
port_lmc: 0x00
link_layer: InfiniBand

hca_id: mlx5_1
transport: InfiniBand (0)
fw_ver: 40.44.1036
node_guid: 5000:e603:0047:3657
sys_image_guid: 5000:e603:0047:3656
vendor_id: 0x02c9
vendor_part_id: 4131
hw_ver: 0x0
board_id: MT_0000001167
phys_port_cnt: 1
port: 1
state: PORT_DOWN (1)
max_mtu: 4096 (5)
active_mtu: 1024 (3)
sm_lid: 0
port_lid: 0
port_lmc: 0x00
link_layer: Ethernet

LINK_TYPE_P2 parameter comes as unsupported.
mlxconfig -d /dev/mst/mt4131_pciconf0.1 set LINK_TYPE_P2=1

Device #1:

Device type: ConnectX8
Name: 900-9X81E-00EX-ST0_Ax
Description: NVIDIA ConnectX-8 C8180 HHHL SuperNIC; 800Gbs XDR IB (default mode) / 2x400GbE; Single-cage OSFP; PCIe 6 x16 with x16 PCIe Socket Direct/Multi Host Extension option; Crypto Enabled; Secure Boot Enabled
Device: /dev/mst/mt4131_pciconf0.1

Configurations: Next Boot New
-E- The Device doesn’t support LINK_TYPE_P2 parameter.

Hi vinit.shenoy

From the used steps that you shared, it seems there was missing to identify the device.
when you use ‘mlxconfig’, it requires to select the specific .
You can check and identify your device info from the command

From the steps you shared, it seems that the device identification step was missing.
When using mlxconfig, you must specify the target .
You can identify your device information by running the following commands:

sudo mst start
sudo mst status -v

Once you identify the device, you can use a command similar to the following:

sudo mlxconfig -d /dev/mst/mt4131_pciconf0 set LINK_TYPE_P1=1

For more details, please refer to the user manual:

Using mlxconfig | NVIDIA Firmware Tools (MFT) Documentation

Regards,
Cho

Hi Cho,

I tried the commands on both mst devices:
root@dmr:~# mst status -v
MST modules:

MST PCI module is not loaded
MST PCI configuration module loaded

PCI devices:

DEVICE_TYPE MST PCI RDMA NET NUMA VFIO FWCTL STATE
ConnectX8(rev:0) /dev/mst/mt4131_pciconf0.1 11:00.1 mlx5_1 net-ens1f1np1 0 /dev/fwctl/fwctl1

ConnectX8(rev:0) /dev/mst/mt4131_pciconf0 11:00.0 mlx5_0 net-ibs1f0 0 /dev/fwctl/fwctl0

root@dmr:~# mlxconfig -d /dev/mst/mt4131_pciconf0 set LINK_TYPE_P2=1

Device #1:

Device type: ConnectX8
Name: 900-9X81E-00EX-ST0_Ax
Description: NVIDIA ConnectX-8 C8180 HHHL SuperNIC; 800Gbs XDR IB (default mode) / 2x400GbE; Single-cage OSFP; PCIe 6 x16 with x16 PCIe Socket Direct/Multi Host Extension option; Crypto Enabled; Secure Boot Enabled
Device: /dev/mst/mt4131_pciconf0

Configurations: Next Boot New
-E- The Device doesn’t support LINK_TYPE_P2 parameter

root@dmr:~# mlxconfig -d /dev/mst/mt4131_pciconf0.1 set LINK_TYPE_P2=1

Device #1:

Device type: ConnectX8
Name: 900-9X81E-00EX-ST0_Ax
Description: NVIDIA ConnectX-8 C8180 HHHL SuperNIC; 800Gbs XDR IB (default mode) / 2x400GbE; Single-cage OSFP; PCIe 6 x16 with x16 PCIe Socket Direct/Multi Host Extension option; Crypto Enabled; Secure Boot Enabled
Device: /dev/mst/mt4131_pciconf0.1

Configurations: Next Boot New
-E- The Device doesn’t support LINK_TYPE_P2 parameter

Hi

It seems that the system either does not have a ConnectX adapter installed or that the driver is not loaded properly.
First, please check whether a ConnectX device is installed on the server by running the following command:

user01@server01:~# sudo lspci | grep -i Mellanox

5e:00.0 Infiniband controller: Mellanox Technologies MT2910 Family [ConnectX-7]
86:00.0 Infiniband controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex]
86:00.1 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex]

If a ConnectX device is detected, you may need to open a NVIDIA support case using your valid entitlement for further investigation:
→ NVIDIA Enterprise Customer Support

If no ConnectX device is detected, please verify that the hardware is properly installed and seated in the server.