• Ariel Levkovich's avatar
    net: bonding: Inherit MPLS features from slave devices · 2e770b50
    Ariel Levkovich authored
    When setting the bonding interface net device features,
    the kernel code doesn't address the slaves' MPLS features
    and doesn't inherit them.
    
    Therefore, HW offloads that enhance performance such as
    checksumming and TSO are disabled for MPLS tagged traffic
    flowing via the bonding interface.
    
    The patch add the inheritance of the MPLS features from the
    slave devices with a similar logic to setting the bonding device's
    VLAN and encapsulation features.
    
    CC: Jay Vosburgh <j.vosburgh@gmail.com>
    CC: Veaceslav Falico <vfalico@gmail.com>
    CC: Andy Gospodarek <andy@greyhouse.net>
    Signed-off-by: default avatarAriel Levkovich <lariel@mellanox.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    2e770b50
bond_main.c 137 KB