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.