]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit490677629b232a3e1fbf09655c8927359edb2c55
treeb39ec77edade2efee982a910b39c2e1b5111f190
parenta2141fd94903f60832e269e0177aa2c717e5ec89
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