ConnectX-4 25Gbps link not detected with Arista 7150 switch

Hi,

I am noticing that when my connectx-4 25Gbps card is connected to the Arista 7150 switch (10Gbps) ports, the link is not getting detected.

Based on the documents I read, my understanding is that the auto-negotiate should successfully negotiate the link to 10Gbps.

I also tried to disable auto negotiate and set the port speed to 10Gbps and still it is not working.

The details:

Arista switch:

localhost>show version

Software image version: 4.12.7.1

Architecture: i386

Host:

linux-6cof:~ # cat /etc/SuSE-release

SUSE Linux Enterprise Server 12 (x86_64)

VERSION = 12

PATCHLEVEL = 3

This file is deprecated and will be removed in a future service pack or release.

Please check /etc/os-release for details about this release.

linux-6cof:~ # uname -r

4.4.73-5-default

linux-6cof:~ # ethtool eth1

Settings for eth1:

Supported ports: [ FIBRE Backplane ]

Supported link modes: 1000baseKX/Full

10000baseKR/Full

25000baseCR/Full

25000baseKR/Full

25000baseSR/Full

Supported pause frame use: Symmetric

Supports auto-negotiation: Yes

Advertised link modes: 10000baseKR/Full

Advertised pause frame use: Symmetric

Advertised auto-negotiation: No

Speed: Unknown!

Duplex: Unknown! (255)

Port: FIBRE

PHYAD: 0

Transceiver: internal

Auto-negotiation: off

Supports Wake-on: d

Wake-on: d

Link detected: no

linux-6cof:~ # modinfo mlx5_core

filename: /lib/modules/4.4.73-5-default/kernel/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko

version: 3.0-1

license: Dual BSD/GPL

description: Mellanox Connect-IB, ConnectX-4 core driver

author: Eli Cohen <eli@mellanox.com mailto:eli@mellanox.com >