Question

Switch Mellanox Card to eth Mode

  • 13 January 2020
  • 0 replies
  • 136 views

Playing around with an old NX-2000 series server and it seems I need to make my 10GbE nics default to eth now while before on boot they seemed to be recognized in eth mode.

New module:

# modinfo mlx4_core
filename: /lib/modules/4.19.0+1/kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko
version: 4.0-0

Old module:

# modinfo mlx4_core
filename: /lib/modules/4.4.0+10/updates/mlx4_core.ko
version: 3.4-1.0.0

Booted to a Kubuntu 16.04 Live CD to attempt to do it with the last supported firmware for the card but the Mellanox card doesn't seem to be supported by Mellanox OEM software. MLNX_OFED_LINUX-4.7-3.2.9.0-ubuntu16.04-x86_64.tgz

root@kubuntu:~# mlxfwmanager --query
Querying Mellanox devices firmware ...
Failed to identify the device - Can not create SignatureManager!
Failed to identify the device - Can not create SignatureManager!

Device #1:
----------

Device Type: ConnectX2
Part Number: SUPERMICRO X8DTT-IBX/X8DTT-IBXF/X8DTT-HIBXF/X8DTT-HIBXF+ (Rev2.00 or later)
Description: ConnectX-2 VPI; single-port QSFP; IB 20Gbps/10GE; PCIe2.0x8 5.0GT/s; onboard HCA; RoHS R6
PSID: SM_2082000001000
PCI Device Name: /dev/mst/mt26418_pci_cr0
Port1 GUID: 002590ffff841c95
Port2 MAC: 002590841c96
Versions: Current Available
FW 2.9.1000 N/A

Status: No matching image found

root@kubuntu:~# mlxconfig -d /dev/mst/mt26418_pci_cr0 set LINK_TYPE_P1=2 LINK_TYPE_P2=4
-E- Unsupported device

Tried adding to /etc/modprobe.d/mlx4_core.conf
options mlx4_core port_type_array=2

Also tried
options mlx4_core port_type_array=2,4

How can I get this card to default to eth mode on boot?


0 replies

Be the first to reply!

Reply