• Andrew Lunn's avatar
    dsa: mv88e6171: Fix tagging protocol/Kconfig · c146b778
    Andrew Lunn authored
    The mv88e6171 can support two different tagging protocols, DSA and
    EDSA. The switch driver structure only allows one protocol to be
    enumerated, and DSA was chosen. However the Kconfig entry ensures the
    EDSA tagging code is built. With a minimal configuration, we then end
    up with a mismatch. The probe is successful, EDSA tagging is used, but
    the switch is configured for DSA, resulting in mangled packets.
    
    Change the switch driver structure to enumerate EDSA, fixing the
    mismatch.
    Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
    Fixes: 42f27253 ("net: DSA: Marvell mv88e6171 switch driver")
    Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    c146b778
mv88e6171.c 11 KB