net: dsa: add KSZ9893 switch tagging support
authorTristram Ha <Tristram.Ha@microchip.com>
Fri, 1 Mar 2019 03:57:23 +0000 (19:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Mar 2019 21:48:49 +0000 (13:48 -0800)
commit88b573af91dafd60ba35b2dc6af3f9d8d7168146
treeb39ec77edade2efee982a910b39c2e1b5111f190
parenta1c0ed24fe9babc53143a5452a0f85cae6e37ba7
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>
include/net/dsa.h
net/dsa/dsa.c
net/dsa/dsa_priv.h
net/dsa/tag_ksz.c