net: dsa: mv88e6xxx: Have 6161/6123 use EDSA tags
authorAndrew Lunn <andrew@lunn.ch>
Wed, 7 Jun 2017 13:06:19 +0000 (15:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Jun 2017 19:28:23 +0000 (15:28 -0400)
The mv88e6161 and mv88e6123 are capable of using EDSA tags when
passing frames from the host to the switch and back.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c

index 117f275e3fb69a22e178925251022193883fbe14..44c87027623b696b63566e03e72df4bf047b6fc7 100644 (file)
@@ -3246,7 +3246,7 @@ static const struct mv88e6xxx_info mv88e6xxx_table[] = {
                .g1_irqs = 9,
                .atu_move_port_mask = 0xf,
                .pvt = true,
-               .tag_protocol = DSA_TAG_PROTO_DSA,
+               .tag_protocol = DSA_TAG_PROTO_EDSA,
                .flags = MV88E6XXX_FLAGS_FAMILY_6165,
                .ops = &mv88e6123_ops,
        },
@@ -3298,7 +3298,7 @@ static const struct mv88e6xxx_info mv88e6xxx_table[] = {
                .g1_irqs = 9,
                .atu_move_port_mask = 0xf,
                .pvt = true,
-               .tag_protocol = DSA_TAG_PROTO_DSA,
+               .tag_protocol = DSA_TAG_PROTO_EDSA,
                .flags = MV88E6XXX_FLAGS_FAMILY_6165,
                .ops = &mv88e6161_ops,
        },