Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: dsa: tag_ksz: KSZ8795 and KSZ9477 also use tail tags

The Marvell 88E6060 uses tag_trailer.c and the KSZ8795, KSZ9477 and
KSZ9893 switches also use tail tags.

Fixes: 7a6ffe764be3 ("net: dsa: point out the tail taggers")
Signed-off-by: Christian Eggers <ceggers@arri.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20201016171603.10587-1-ceggers@arri.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Christian Eggers and committed by
Jakub Kicinski
bc7e343d 3bd57b90

+2
+2
net/dsa/tag_ksz.c
··· 123 123 .xmit = ksz8795_xmit, 124 124 .rcv = ksz8795_rcv, 125 125 .overhead = KSZ_INGRESS_TAG_LEN, 126 + .tail_tag = true, 126 127 }; 127 128 128 129 DSA_TAG_DRIVER(ksz8795_netdev_ops); ··· 200 199 .xmit = ksz9477_xmit, 201 200 .rcv = ksz9477_rcv, 202 201 .overhead = KSZ9477_INGRESS_TAG_LEN, 202 + .tail_tag = true, 203 203 }; 204 204 205 205 DSA_TAG_DRIVER(ksz9477_netdev_ops);