← Back to team overview

kernel-packages team mailing list archive

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

 

Thank You,


Tested on 15.10 and it's working proberly.
you are right, need to fix this in Wily and HWE kernels in Trusty.

Yours,
Talat

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