ConnectX-2 Card User Manual
Rev 1.0
Mellanox Technologies
15
2
Adapter Card Interfaces
2.1
I/O Interfaces
Each card includes the following interfaces:
• I/O panel LEDs
• I
2
C compatible connector (for debug)
2.1.1 InfiniBand Interface
The ConnectX
®
-2 device is compliant with the
InfiniBand Architecture Specification, Release 1.2.1.
VPI adapter cards (listed in Table 3 on page 11) based on this device provide access to its port by
means of a QSFP connector.
2.1.2
VPI Port Configuration
The VPI port is auto-sensing but can be manually configured using a script.
Port type management:
By default ConnectX
®
-2 the VPI port is initialized as an Infiniband port. If you wish to change the
port type use the connectx_port_config script after the driver is loaded.
The script is installed as part of the Mellanox OFED for Linux package (under /sbin). See the Mel-
lanox OFED for Linux User’s Manual available at
http://www.mellanox.com => Home > Products
> Adapter IB/VPI SW.
Running "/sbin/connectx_port_config -s" will show the current port configuration for all Con-
nectX
®
-2 devices.
Port configuration is saved in the file: /etc/infiniband/connectx.conf. This saved configuration is
restored at driver restart only if done via "/etc/init.d/openibd restart".
Possible port types are:
• "eth" - Always Ethernet
• "ib" - Always Infiniband
• "auto" - Link sensing mode - detect port type based on the attached network type. If no link is
detected, the driver retries link sensing every few seconds.
The port link type can be configured for each device in the system at run time using the "/sbin/
connectx_port_config" script. This utility will prompt for the PCI device to be modified (if there is
only one it will be selected automatically). At the next stage the user will be prompted for the
desired mode for each port.