This fix was merged and landed in 4.10.5

commit be18cce7e665b09406c4168fd3da32492dd5d8f3
Author: Jarod Wilson <ja...@redhat.com>
Date:   Mon Mar 6 08:48:58 2017 -0500

    team: use ETH_MAX_MTU as max mtu
    
    [ Upstream commit 3331aa378e9bcbd0d16de9034b0c20f4050e26b4 ]
    
    This restores the ability to set a team device's mtu to anything higher
    than 1500. Similar to the reported issue with bonding, the team driver
    calls ether_setup(), which sets an initial max_mtu of 1500, while the
    underlying hardware can handle something much larger. Just set it to
    ETH_MAX_MTU to support all possible values, and the limitations of the
    underlying devices will prevent setting anything too large.
    
    Fixes: 91572088e3fd ("net: use core MTU range checking in core net infra")
    CC: Cong Wang <xiyou.wangc...@gmail.com>
    CC: Jiri Pirko <j...@resnulli.us>
    CC: net...@vger.kernel.org
    Signed-off-by: Jarod Wilson <ja...@redhat.com>
    Signed-off-by: David S. Miller <da...@davemloft.net>
    Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>

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

Title:
  bond0: Invalid MTU 9000 requested, hw max 1500 with kernel 4.10

Status in Linux:
  Unknown
Status in neutron:
  New
Status in linux package in Ubuntu:
  Triaged
Status in linux-hwe-edge package in Ubuntu:
  Confirmed

Bug description:
  Since I upgraded the kernel from linux-image-4.8.0-46-generic to
  linux-image-extra-4.10.0-14-generic I'm facing an issue when I want to
  change the MTU.

  It seems to be known bug already fixed:
  https://bugzilla.kernel.org/show_bug.cgi?id=194763

  # ip l sh eno49
  2: eno49: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master 
bond0 state UP mode DEFAULT group default qlen 1000
      link/ether 5c:b9:01:8a:61:e9 brd ff:ff:ff:ff:ff:ff

  # ip l sh eno50
  3: eno50: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master 
bond0 state UP mode DEFAULT group default qlen 1000
      link/ether 5c:b9:01:8a:61:e9 brd ff:ff:ff:ff:ff:ff

  # ip l sh bond0
  6: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue 
state UP mode DEFAULT group default qlen 1000
      link/ether 5c:b9:01:8a:61:e9 brd ff:ff:ff:ff:ff:ff

  # ip l set mtu 9000 bond0
  RTNETLINK answers: Invalid argument

  root@controller002[SRV][YUL]:~# tail -1 /var/log/syslog
  Apr  4 19:36:28 controller002 kernel: [ 8869.077853] bond0: Invalid MTU 9000 
requested, hw max 1500

  # modinfo ixgbe
  filename:       
/lib/modules/4.10.0-14-generic/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
  version:        4.4.0-k
  license:        GPL
  description:    Intel(R) 10 Gigabit PCI Express Network Driver

  # modinfo bonding
  filename:       
/lib/modules/4.10.0-14-generic/kernel/drivers/net/bonding/bonding.ko
  author:         Thomas Davis, tada...@lbl.gov and many others
  description:    Ethernet Channel Bonding Driver, v3.7.1
  version:        3.7.1

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to