← Back to team overview

kernel-packages team mailing list archive

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

 

This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
wily' to 'verification-done-wily'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-wily

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1517919

Title:
  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.
  reproduce 
  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:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1517919/+subscriptions


References