- You can definitely make it work with CentOS 6.x.
With (for example) CentOS 6.4 using the CentOS supplied packages (yum “Infiniband Support”), the MHGH28-XTC cards can run in either Infiniband or native 10GbE mode. By default the cards are in Infiniband mode.
The file used to configure which mode is:
///mlx4
The comments in the file give decent instructions on what to do.
As a helpful reference example, this shows the PCI address for one of my MHGH28-XTC cards in a CentOS 6.4 test box here:
$ | Mellanox
01:00.0 InfiniBand: Mellanox Technologies MT25418 [ConnectX VPI PCIe 2.0 2.5GT/s - IB DDR / 10GigE] (rev a0)
That “01:00.0” address is then used in the mlx4 file as:
0000:01:00.0
After rebooting, the cards show up as native ethernet cards:
$
eth1 Link Ethernet HWaddr 00:03:BA:00:ED:BA
172.16.101.1 Bcast:172.16.101.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets0 errors0 dropped0 overruns0 frame0
TX packets0 errors0 dropped0 overruns0 carrier0
0 1000
RX bytes0 (0.0 b) TX bytes0 (0.0 b)
eth2 Link Ethernet HWaddr 00:03:BA:00:ED:B9
172.16.102.1 Bcast:172.16.102.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets0 errors0 dropped0 overruns0 frame0
TX packets0 errors0 dropped0 overruns0 carrier0
0 1000
RX bytes0 (0.0 b) TX bytes0 (0.0 b)
:
$
2: eth2: mtu 1500 qdisc state UNKNOWN qlen 1000
link/ether 00:03:ba:00:ed:b9 brd ff:ff:ff:ff:ff:ff
172.16.102.1/24 172.16.102.255 scope global eth2
3: eth1: mtu 1500 qdisc state UNKNOWN qlen 1000
link/ether 00:03:ba:00:ed:ba brd ff:ff:ff:ff:ff:ff
172.16.101.1/24 172.16.101.255 scope global eth1
The ethernet configuration of them is then done through the standard files in /etc/sysconfig/network-scripts/.
As a helpful reference these are two working config files (for the MHGH28-XTC card in the above example):
$ cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
DEFROUTE=no
PEERDNS=no
PEERROUTES=no
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=“System eth1”
IPADDR=172.16.101.1
PREFIX=24
:
$ cat /etc/sysconfig/network-scripts/ifcfg-eth2
DEVICE=eth2
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
DEFROUTE=no
PEERDNS=no
PEERROUTES=no
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=“System eth2”
IPADDR=172.16.102.1
PREFIX=24
Hope that all gets you up and running.