ConnectX-6 Dx not setting MAC

Hi,

I’ve an issue where a ConnectX-6 Dx has a MAC configured according to flint, but it’s not showing in Linux (Ubuntu 24.04 using doca-host_3.2.1).

Device and Firmware info:

$ sudo mlxfwmanager --online
Querying Mellanox devices firmware ...

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

  Device Type:      ConnectX6DX
  Part Number:      MCX623106AN-CDA_Ax
  Description:      ConnectX-6 Dx EN adapter card; 100GbE; Dual-port QSFP56; PCIe 4.0/3.0 x16;
  PSID:             MT_0000000359
  PCI Device Name:  /dev/mst/mt4125_pciconf0
  Base GUID:        c46237000003015c
  Base MAC:         c4623703015c
  Versions:         Current        Available     
     FW             22.47.1088     22.43.1014    
     PXE            3.8.0201       3.7.0500      
     UEFI           14.40.0010     14.36.0016    

  Status:           Up to date

If we check flint, we see that a Base MAC is configured

$ sudo flint -d 03:00.0 query

Image type:            FS4

FW Version:            22.47.1088

FW Release Date:       9.12.2025

Product Version:       22.47.1088

Rom Info:              type=UEFI version=14.40.10 cpu=AMD64,AARCH64

                       type=PXE version=3.8.201 cpu=AMD64

Description:           UID                GuidsNumber

Base GUID:             c46237000003015c        4

Base MAC:              c4623703015c            4

Image VSD:             N/A

Device VSD:            N/A

PSID:                  MT_0000000359

Security Attributes:   N/A

If we check ip dev we see a all zero’s-mac:

$ ip link show dev ens2f0np0 
6: ens2f0np0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
    altname enp3s0f0np0

How can this be fixed?

Hi

This is a kernel related issue, you can change it manually.

The mac address should be: c4:62:37:03:01:5d

You can also check udev relate configuration to check why the kernel cause the issue.

Thanks,

Suo