Skip to content
Commit 5040cc99 authored by Arun Parameswaran's avatar Arun Parameswaran Committed by David S. Miller
Browse files

net: dsa: b53: Fix for brcm tag issue in Cygnus SoC

In the Broadcom Cygnus SoC, the brcm tag needs to be inserted
in between the mac address and the ether type (should use
'DSA_PROTO_TAG_BRCM') for the packets sent to the internal
b53 switch.

Since the Cygnus was added with the BCM58XX device id and the
BCM58XX uses 'DSA_PROTO_TAG_BRCM_PREPEND', the data path is
broken, due to the incorrect brcm tag location.

Add a new b53 device id (BCM583XX) for Cygnus family to fix the
issue. Add the new device id to the BCM58XX family as Cygnus
is similar to the BCM58XX in most other functionalities.

Fixes: 11606039

 ("net: dsa: b53: Support prepended Broadcom tags")

Signed-off-by: default avatarArun Parameswaran <arun.parameswaran@broadcom.com>
Acked-by: default avatarScott Branden <scott.branden@broadcom.com>
Reported-by: default avatarClément Péron <peron.clem@gmail.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Tested-by: default avatarClément Péron <peron.clem@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4016a7f1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment