Hi Anand,
We met the similar issue with Philip's.
CX314 card, two 40G ports connected back to back. We tested it both on Freebsd7.0 and CentOS 7.0.
But the speed seen were always 10G.
We didn't use Mellanox transceiver/cables.
[root@localhost var]# uname -a
Linux localhost.localdomain 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost var]# ethtool enp10s0d1
Settings for enp10s0d1:
Supported ports: [ TP ]
Supported link modes: 10000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: 10000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 10000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
MDI-X: Unknown
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000014 (20)
link ifdown
Link detected: yes
And the mstdump results are attached.
Please give me some guidance.
Thanks a lot.
Regards,
Patrick