• Vladimir Oltean's avatar
    net: dsa: pass extack to .port_bridge_join driver methods · 06b9cce4
    Vladimir Oltean authored
    As FDB isolation cannot be enforced between VLAN-aware bridges in lack
    of hardware assistance like extra FID bits, it seems plausible that many
    DSA switches cannot do it. Therefore, they need to reject configurations
    with multiple VLAN-aware bridges from the two code paths that can
    transition towards that state:
    
    - joining a VLAN-aware bridge
    - toggling VLAN awareness on an existing bridge
    
    The .port_vlan_filtering method already propagates the netlink extack to
    the driver, let's propagate it from .port_bridge_join too, to make sure
    that the driver can use the same function for both.
    Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    06b9cce4
b53_priv.h 11.6 KB