Switch ConnectX VPI cards from IB to EN

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

cactus

Moderator
Jan 25, 2011
830
75
28
CA
There is a Mellanox script to switch the ConnectX VPI cards from IB to EN called "connectx_port_config". It comes in the Mellanox OFED stack, but if you using just mainline kernel support or non-rpm distros the script changes
Code:
/sys/bus/pci/devices/*PCI DEVICE ADDRESS OF ConnectX CARD*/mlx4_portX
.

Ex. My card is a single port in PCI-E slot 1 on a Intel Socket 1366 system.
Code:
/sys/bus/pci/devices/0000\:01\:00.0/mlx4_port1
Supported Modes are "ib", "eth", "auto".

Initial testing shows IPoIB being faster, using iperf, than running the card as a 10GbE device.