Bug 194763 - bond0 fails to accept MTU change.
Summary: bond0 fails to accept MTU change.
Status: NEW
Alias: None
Product: Networking
Classification: Unclassified
Component: Other (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-02 11:22 UTC by Darius
Modified: 2023-12-29 09:47 UTC (History)
4 users (show)

See Also:
Kernel Version: 4.10.1
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Darius 2017-03-02 11:22:24 UTC
Bond0 interface doesn't accept MTU higher than 1500.I can set MTU perfectly fine for the slave devices. Recreating the bond0 didn't help to up the MTU. 



05:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
05:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)

[ 1626.840818] bond0: Invalid MTU 9000 requested, hw max 1500
[ 1668.913497] ixgbe 0000:05:00.0 enp5s0f0: changing MTU from 1500 to 9000
[ 1669.176015] ixgbe 0000:05:00.0 enp5s0f0: speed changed to 0 for port enp5s0f0
[ 1669.237523] ixgbe 0000:05:00.0 enp5s0f0: detected SFP+: 5
[ 1669.487920] ixgbe 0000:05:00.0 enp5s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
[ 1675.591234] ixgbe 0000:05:00.1 enp5s0f1: changing MTU from 1500 to 9000
[ 1675.855232] ixgbe 0000:05:00.1 enp5s0f1: speed changed to 0 for port enp5s0f1
[ 1675.911259] ixgbe 0000:05:00.1 enp5s0f1: detected SFP+: 6
[ 1676.159087] ixgbe 0000:05:00.1 enp5s0f1: NIC Link is Up 10 Gbps, Flow Control: RX/TX
[ 1684.745389] bond0: Invalid MTU 9000 requested, hw max 1500




Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer3+4 (1)
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0

802.3ad info
LACP rate: slow
Min links: 0
Aggregator selection policy (ad_select): stable
System priority: 65535
System MAC address: 90:e2:ba:15:68:20
Active Aggregator Info:
        Aggregator ID: 2
        Number of ports: 2
        Actor Key: 13
        Partner Key: 221
        Partner Mac Address: 02:1c:73:b2:9a:29

Slave Interface: enp5s0f0
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 90:e2:ba:15:68:20
Slave queue ID: 0
Aggregator ID: 2
Actor Churn State: none
Partner Churn State: none
Actor Churned Count: 0
Partner Churned Count: 0
details actor lacp pdu:
    system priority: 65535
    system mac address: 90:e2:ba:15:68:20
    port key: 13
    port priority: 255
    port number: 1
    port state: 61
details partner lacp pdu:
    system priority: 32768
    system mac address: 02:1c:73:b2:9a:29
    oper key: 221
    port priority: 16000
    port number: 373
    port state: 61

Slave Interface: enp5s0f1
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 90:e2:ba:15:68:21
Slave queue ID: 0
Aggregator ID: 2
Actor Churn State: none
Partner Churn State: none
Actor Churned Count: 0
Partner Churned Count: 0
details actor lacp pdu:
    system priority: 65535
    system mac address: 90:e2:ba:15:68:20
    port key: 13
    port priority: 255
    port number: 2
    port state: 61
details partner lacp pdu:
    system priority: 32768
    system mac address: 02:1c:73:b2:9a:29
    oper key: 221
    port priority: 17000
    port number: 33141
    port state: 61

Settings for enp5s0f0:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Full 
                                10000baseT/Full 
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Full 
                                10000baseT/Full 
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Speed: 10000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes

Settings for enp5s0f1:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseT/Full 
                                10000baseT/Full 
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Full 
                                10000baseT/Full 
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Speed: 10000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
Comment 1 Jarod Wilson 2017-03-06 13:28:00 UTC
The fix for this has been added to the net tree and is queued up for 4.10-stable.
Comment 2 H.-Dirk Schmitt 2017-04-25 15:31:06 UTC
The problems also occurs in 4.8.0-49 in ubuntu:

See: https://bugs.launchpad.net/linux/+bug/1679823/comments/6 and https://bugs.launchpad.net/linux/+bug/1679823/comments/7
Comment 3 Gilbert Wood 2023-12-29 09:47:34 UTC Comment hidden (spam)

Note You need to log in before you can comment on or make changes to this bug.