← Back to team overview

kernel-packages team mailing list archive

[Bug 1528466] Re: Mellanox ConnectX4 MTU limits: max and min

 

I built a Wily test kernel with a cherry-pick of commit 50a9eea from
mainline.  The test kernel can be downloaded from:

http://kernel.ubuntu.com/~jsalisbury/lp1528466/

Can you test this kernel and confirm it resolves this bug?


Also, commit 50a9eea was applied to mainline in v4.4-rc2.  Commit 50a9eea states that it fixes commit facc9699f0, which was added to mainline in v4.2-rc1.  That is how this bug was introduced in to Wily and the linux-lts-wily kernels.  In addition, the file that is changed by commit 50a9eea is:

drivers/net/ethernet/mellanox/mlx5/core/en_main.c

This file was not added until v4.2-rc1 by commit f62b8bb.

I'd just like to confirm you are only requesting this fix in Wily and
the HWE kernels in Trusty?

-- 
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/1528466

Title:
  Mellanox ConnectX4 MTU limits: max and min

Status in linux package in Ubuntu:
  In Progress
Status in linux-lts-vivid package in Ubuntu:
  Incomplete
Status in linux-lts-wily package in Ubuntu:
  In Progress
Status in linux source package in Vivid:
  Incomplete
Status in linux source package in Wily:
  In Progress

Bug description:
  
  Max MTU limit should be 9978 

  Tested on Ubuntu 14.04.4 daily build, this issue exist also in 15.10.

  reproduce

  # ifconfig p2p1  mtu 9000000               
  SIOCSIFMTU: Invalid argument                   

  # dmesg

  [62898.559808] mlx5_core 0000:20:00.0 p2p1: mlx5e_change_mtu: Bad MTU (9000000) > (10000) Max
  [63058.512668] command failed, status bad parameter(0x3), syndrome 0x648afc

  
  Upstream commit that fix the issue  

  commit 60825c35bf023553f8524f6695f176236e54df97          
  Author: Doron Tsur <doront@xxxxxxxxxxxx>                 
  Date:   Thu Nov 12 19:35:27 2015 +0200                   

      net/mlx5e: Max mtu comparison fix
                                       
      On change mtu the driver compares between hardware queried mtu and
      software requested mtu. We need to compare between software       
      representation of the queried mtu and the requested mtu.          
                                                                        
      Fixes: facc9699f0fe ('net/mlx5e: Fix HW MTU settings')            
      Signed-off-by: Doron Tsur <doront@xxxxxxxxxxxx>                   
      Signed-off-by: Saeed Mahameed <saeedm@xxxxxxxxxxxx>               
      Signed-off-by: Or Gerlitz <ogerlitz@xxxxxxxxxxxx>                 
      Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>              


  # cat /etc/os-release
  NAME="Ubuntu"
  VERSION="14.04.3 LTS, Trusty Tahr"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu 14.04.3 LTS"
  VERSION_ID="14.04"
  HOME_URL="http://www.ubuntu.com/";
  SUPPORT_URL="http://help.ubuntu.com/";
  BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/";

  # uname -r
  4.2.0-22-generic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1528466/+subscriptions


References