How to configure two single-port cards and one dual-port card as a local network?

hello, i have one dual-port connectx-3 card and two single-port connectx-3 cards, i want to build a local network with the three cards, but i can not finish it. is there some advices?

i want to connect them just like this:

Hi,

Please make sure:

  1. The hosts are equipped with Mellanox ConnectX-3 adapters

  2. The hosts are installed with the latest MLNX-OFED release and firmware version

Driver:

Firmware:

  1. The cables are supported

LinkX Cables and Transceivers | NVIDIA.

  1. Mellanox ConnectX-3 adapter card may be equipped with one or two ports that may be configured to run InfiniBand or Ethernet.

In order to change the port type (eth, ib), please follow the documentation below

https://community.mellanox.com/s/article/howto-change-port-type-in-mellanox-connectx-3-adapter

Regards,

Chen