Hi all,
Recently bought a Mellanox ConnectX-3 CX311A from eBay.
Plugged it into my hypervisor XCP-NG 8.3, but can't seem to get the card to work. As far as I know this card is ethernet only so shouldn't require any flashing or anything like that.
I'm using a new DAC from FS.com from the card to the 10GB SFP+ port on my Juniper switch.
Card is detected:
lspci
04:00.0 Ethernet controller: Mellanox Technologies MT27500 Family [ConnectX-3]
lspci -v | grep Mellanox
04:00.0 Ethernet controller: Mellanox Technologies MT27500 Family [ConnectX-3]
Subsystem: Mellanox Technologies Device 0055
I deleted and re-created my PCI passthrough config
xl pci-assignable-list
0000:09:00.0
0000:05:00.1
0000:01:00.0
0000:0a:00.0
0000:05:00.0
0000:01:00.1
Tried PIF scan in GUI and console but when I check PIF list I only see the on board NIC
xe pif-scan host-uuid=ff0c8a58-0feb-4fe1-8cc1-556aad1f8c75
xe pif-list
uuid ( RO) : a902c9a0-77f2-ad66-9f69-814e9bdd6413
device ( RO): eth0
MAC ( RO): d8:5e:d3:2b:23:8b
currently-attached ( RO): true
VLAN ( RO): -1
network-uuid ( RO): 5e0c47e8-abbd-bc5b-02eb-83b838560f90
host-uuid ( RO): ff0c8a58-0feb-4fe1-8cc1-556aad1f8c75
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP group default qlen 1000
link/ether d8:5e:d3:2b:23:8b brd ff:ff:ff:ff:ff:ff
3: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 92:b5:0c:1e:3e:cc brd ff:ff:ff:ff:ff:ff
4: xenbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
link/ether d8:5e:d3:2b:23:8b brd ff:ff:ff:ff:ff:ff
inet 192.168.1.13/24 brd 192.168.1.255 scope global dynamic xenbr0
valid_lft 81730sec preferred_lft 81730sec
5: vif1.0: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
7: vif2.0: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
9: vif3.0: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
11: vif4.0: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether d8:5e:d3:2b:23:8b txqueuelen 1000 (Ethernet)
RX packets 53756 bytes 20202528 (19.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 27516 bytes 6309909 (6.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1000 (Local Loopback)
RX packets 9556 bytes 5978566 (5.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9556 bytes 5978566 (5.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vif1.0: flags=4291<UP,BROADCAST,RUNNING,NOARP,MULTICAST> mtu 1500
ether fe:ff:ff:ff:ff:ff txqueuelen 1000 (Ethernet)
RX packets 3859 bytes 336927 (329.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 29344 bytes 9261592 (8.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vif2.0: flags=4291<UP,BROADCAST,RUNNING,NOARP,MULTICAST> mtu 1500
ether fe:ff:ff:ff:ff:ff txqueuelen 1000 (Ethernet)
RX packets 4605 bytes 937140 (915.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 28965 bytes 8527803 (8.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vif3.0: flags=4291<UP,BROADCAST,RUNNING,NOARP,MULTICAST> mtu 1500
ether fe:ff:ff:ff:ff:ff txqueuelen 1000 (Ethernet)
RX packets 9936 bytes 1319123 (1.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 33662 bytes 7927207 (7.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vif4.0: flags=4291<UP,BROADCAST,RUNNING,NOARP,MULTICAST> mtu 1500
ether fe:ff:ff:ff:ff:ff txqueuelen 1000 (Ethernet)
RX packets 7851 bytes 1274556 (1.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 31981 bytes 8681713 (8.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
xenbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.13 netmask 255.255.255.0 broadcast 192.168.1.255
ether d8:5e:d3:2b:23:8b txqueuelen 1000 (Ethernet)
RX packets 33215 bytes 5737003 (5.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6334 bytes 5412414 (5.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Any ideas?