diff options
author | Tristram Ha <Tristram.Ha@microchip.com> | 2019-03-01 06:57:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-04 00:48:49 +0300 |
commit | 88b573af91dafd60ba35b2dc6af3f9d8d7168146 (patch) | |
tree | b39ec77edade2efee982a910b39c2e1b5111f190 /include/net | |
parent | a1c0ed24fe9babc53143a5452a0f85cae6e37ba7 (diff) | |
download | linux-88b573af91dafd60ba35b2dc6af3f9d8d7168146.tar.xz |
net: dsa: add KSZ9893 switch tagging support
KSZ9893 switch is similar to KSZ9477 switch except the ingress tail tag
has 1 byte instead of 2 bytes. The size of the portmap is smaller and
so the override and lookup bits are also moved.
Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/dsa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h index e8ac5b35ac4a..ae480bba11f5 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -38,6 +38,7 @@ enum dsa_tag_protocol { DSA_TAG_PROTO_EDSA, DSA_TAG_PROTO_GSWIP, DSA_TAG_PROTO_KSZ9477, + DSA_TAG_PROTO_KSZ9893, DSA_TAG_PROTO_LAN9303, DSA_TAG_PROTO_MTK, DSA_TAG_PROTO_QCA, |