← Back to team overview

kernel-packages team mailing list archive

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

 

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

Title:
  Mellanox ConnectX4 MTU limits: max and min

Status in linux package in Ubuntu:
  In Progress
Status in linux-lts-wily package in Ubuntu:
  In Progress
Status in linux source package in Wily:
  Fix Committed

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