← Back to team overview

kernel-packages team mailing list archive

[Bug 1517919] Re: Mlx5 EN - Ethtool link speed setting fixes


** Changed in: linux (Ubuntu Wily)
       Status: In Progress => Fix Committed

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  Mlx5 EN - Ethtool link speed setting fixes

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Wily:
  Fix Committed
Status in linux source package in Xenial:
  Fix Released

Bug description:
  Setting link speed for ConnectX4 is not working.
  ethtool -s ens1 speed 10000
  ethtool -s ens1 |grep Speed 
  Speed: 40000

  The commit below  fix this issue is 

  commit 6fa1bcab6be6e9bd93f80e345c7e9a4ec7861df9
  Author: Achiad Shochat <achiad@xxxxxxxxxxxx>
  Date:   Sun Aug 16 16:04:50 2015 +0300

      net/mlx5e: Ethtool link speed setting fixes

      - Port speed settings are applied by the device only upon
        port admin status transition from DOWN to UP.
        So we enforce this transition regardless of the port's
        current operation state (which may be occasionally DOWN if
        for example the network cable is disconnected).
      - Fix the PORT_UP/DOWN device interface enum
      - Set the local_port bit in the device PAOS register
      - EXPORT the PAOS (Port Administrative and Operational Status)
        register set/query access functions.

      Signed-off-by: Achiad Shochat <achiad@xxxxxxxxxxxx>
      Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>

  I cherry -pick it to Ubuntu 15.10 (please see the attached patch) and test it.
  could you please add the fix also in Ubuntu 14.04.4 not only 15.10.

  # lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 15.10
  Release:        15.10
  Codename:       wily

  # uname -a
  Linux dev-h-vrt-006 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

To manage notifications about this bug go to: