• Vlad Yasevich's avatar
    bonding: Support macvlans on top of tlb/rlb mode bonds · 14af9963
    Vlad Yasevich authored
    To make TLB mode work, the patch allows learning packets
    to be sent using mac addresses assigned to macvlan devices,
    also taking into an account vlans that may be between the
    bond and macvlan device.
    
    To make RLB work, all we have to do is accept ARP packets
    for addresses added to the bond dev->uc list.  Since RLB
    mode will take care to update the peers directly with
    correct mac addresses, learning packets for these addresses
    do not have be send to switch.
    Signed-off-by: default avatarVlad Yasevich <vyasevic@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    14af9963
bond_main.c 124 KB