2 Replies Latest reply on Oct 8, 2018 11:58 AM by rgoodfel

    mlx5: ethtool -m not working

    rgoodfel

      I have a ConnectX-4 2x100G. I'm running Linux 4.16.16 (Fedora) with the mlx5_core kernel module installed. ethtool -m does not appear to work with this setup. Other ethool commands work fine such as ethtool -S and ethtool -i and just plain ethtool. I have an official Mellanox active optical cable transceiver plugged into the port. What is required to get the transceiver module info from the card? I've checked that the firmware is the latest version (MT_2150110033), this is part number MCX416A-CCAT.

       

      $ ethtool -m enp9s0f0

      Cannot get module EEPROM information: Input/output error

       

      $ ethtool -i enp9s0f0

      driver: mlx5_core

      version: 5.0-0

      firmware-version: 12.12.1100 (MT_2150110033)

      expansion-rom-version:

      bus-info: 0000:09:00.0

      supports-statistics: yes

      supports-test: yes

      supports-eeprom-access: no

      supports-register-dump: no

      supports-priv-flags: yes

       

      $ lspci | grep Mel

      09:00.0 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4]

      09:00.1 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4]

       

      $ ethtool enp9s0f0

      Settings for enp9s0f0:

          Supported ports: [ FIBRE ]

          Supported link modes:   10000baseKR/Full

                                  40000baseCR4/Full

                                  40000baseSR4/Full

                                  40000baseLR4/Full

                                  25000baseCR/Full

                                  25000baseSR/Full

                                  50000baseCR2/Full

                                  100000baseSR4/Full

                                  100000baseCR4/Full

                                  100000baseLR4_ER4/Full

          Supported pause frame use: Symmetric

          Supports auto-negotiation: Yes

          Supported FEC modes: Not reported

          Advertised link modes:  10000baseKR/Full

                                  40000baseCR4/Full

                                  40000baseSR4/Full

                                  40000baseLR4/Full

                                  25000baseCR/Full

                                  25000baseSR/Full

                                  50000baseCR2/Full

                                  100000baseSR4/Full

                                  100000baseCR4/Full

                                  100000baseLR4_ER4/Full

          Advertised pause frame use: Symmetric

          Advertised auto-negotiation: Yes

          Advertised FEC modes: Not reported

          Speed: 100000Mb/s

          Duplex: Full

          Port: FIBRE

          PHYAD: 0

          Transceiver: internal

          Auto-negotiation: on

          Supports Wake-on: d

          Wake-on: d

          Current message level: 0x00000004 (4)

                         link

          Link detected: yes