Hi, Trying to get a dual port Connect-3 EN MCX312A-XCBT configured under Ubuntu 14.01 and struggling with the device names.
The first port seems to get named p6p1 as I would expect but the second port, rather than being named p6p2, is getting named "rename5".
Here is the output of biosdevname:
$ sudo biosdevname -d
BIOS device: em1
Kernel name: em1
Permanent MAC: 0C:C4:7A:04:65:CE
Assigned MAC : 0C:C4:7A:04:65:CE
ifIndex: 2
Driver: igb
Driver version: 5.0.5-k
Firmware version: 0.93, 0x800006b2
Bus Info: 0000:03:00.0
PCI name : 0000:03:00.0
PCI Slot : embedded
SMBIOS Device Type: Ethernet
SMBIOS Instance: 1
SMBIOS Label: Onboard Intel i350 Ethernet #1
sysfs Index: 1
sysfs Label: Onboard Intel i350 Ethernet #1
Embedded Index: 1
BIOS device: em2
Kernel name: em2
Permanent MAC: 0C:C4:7A:04:65:CF
Assigned MAC : 0C:C4:7A:04:65:CF
ifIndex: 3
Driver: igb
Driver version: 5.0.5-k
Firmware version: 0.93, 0x800006b2
Bus Info: 0000:03:00.1
PCI name : 0000:03:00.1
PCI Slot : embedded
SMBIOS Device Type: Ethernet
SMBIOS Instance: 2
SMBIOS Label: Onboard Intel i350 Ethernet #2
sysfs Index: 2
sysfs Label: Onboard Intel i350 Ethernet #2
Embedded Index: 2
BIOS device: p6p1
Kernel name: p6p1
Permanent MAC: F4:52:14:43:50:00
Assigned MAC : F4:52:14:43:50:00
ifIndex: 4
Driver: mlx4_en
Driver version: 2.2-1.0.0 (Jul 15 2014)
Firmware version: 2.31.5050
Bus Info: 0000:02:00.0
PCI name : 0000:02:00.0
PCI Slot : 6
SMBIOS Label: CPU1 Slot6 PCI-E 3.0 X16
Index in slot: 1
BIOS device:
Kernel name: rename5
Permanent MAC: F4:52:14:43:50:01
Assigned MAC : F4:52:14:43:50:01
ifIndex: 5
Driver: mlx4_en
Driver version: 2.2-1.0.0 (Jul 15 2014)
Firmware version: 2.31.5050
Bus Info: 0000:02:00.0
Some output from dmesg:
$ dmesg | egrep "mlx4|rename" | grep -v irq
[ 7.107031] systemd-udevd[189]: renamed network interface eth1 to em2
[ 7.297106] systemd-udevd[186]: renamed network interface eth0 to em1
[ 8.098119] mlx4_core: Mellanox ConnectX core driver v1.1 (Jul 15 2014)
[ 8.098119] mlx4_core: Initializing 0000:02:00.0
[ 15.570516] mlx4_en: Mellanox ConnectX HCA Ethernet driver v2.2-1.0.0 (Jul 15 2014)
[ 15.570627] mlx4_en 0000:02:00.0: registered PHC clock
[ 15.570673] mlx4_en 0000:02:00.0: Activating port:1
[ 15.585098] mlx4_en: eth0: Using 96 TX rings
[ 15.585099] mlx4_en: eth0: Using 8 RX rings
[ 15.585265] mlx4_en: eth0: Initializing port
[ 15.585624] mlx4_en 0000:02:00.0: Activating port:2
[ 15.599339] mlx4_en: eth1: Using 96 TX rings
[ 15.599341] mlx4_en: eth1: Using 8 RX rings
[ 15.599545] mlx4_en: eth1: Initializing port
[ 15.600929] <mlx4_ib> mlx4_ib_add: mlx4_ib: Mellanox ConnectX InfiniBand driver v1.0 (Jul 15 2014)
[ 15.601236] mlx4_core 0000:02:00.0: mlx4_ib_add: allocated counter index 1 for port 1
[ 15.601238] mlx4_core 0000:02:00.0: mlx4_ib_add: allocated counter index 3 for port 2
[ 15.634428] systemd-udevd[445]: renamed network interface eth0 to p6p1
[ 15.684496] systemd-udevd[448]: renamed network interface eth1 to rename5
[ 17.902943] mlx4_core 0000:02:00.0: mlx4_ib: Port 2 logical link is up
[ 17.902953] mlx4_en: rename5: Link Up
[ 17.957858] mlx4_core 0000:02:00.0: mlx4_ib: Port 1 logical link is up
[ 17.957863] mlx4_en: p6p1: Link Up
and some output from lspci:
$ lspci | grep Ethernet
02:00.0 Ethernet controller: Mellanox Technologies MT27500 Family [ConnectX-3]
03:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
03:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
I'm wondering if the issue stems from the device not reporting a port on the bus at 02:00.1?
Anyone have any idea on how to work around this? -- Bud
Message was edited by: Bud Bach Changed title