diff options
author | Christian Eggers <ceggers@arri.de> | 2020-10-16 19:16:03 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-19 17:32:50 -0700 |
commit | bc7e343dbd4c1a86c490c1d4f08fca9ecdedbeaa (patch) | |
tree | 3ecfc5045acbfe5a18e71c7ab4234c340eb86589 /net | |
parent | 3bd57b90554b4bb82dce638e0668ef9dc95d3e96 (diff) | |
download | linux-bc7e343dbd4c1a86c490c1d4f08fca9ecdedbeaa.tar.bz2 |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/dsa/tag_ksz.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/dsa/tag_ksz.c b/net/dsa/tag_ksz.c index 945a9bd5ba35..0a5aa982c60d 100644 --- a/net/dsa/tag_ksz.c +++ b/net/dsa/tag_ksz.c @@ -123,6 +123,7 @@ static const struct dsa_device_ops ksz8795_netdev_ops = { .xmit = ksz8795_xmit, .rcv = ksz8795_rcv, .overhead = KSZ_INGRESS_TAG_LEN, + .tail_tag = true, }; DSA_TAG_DRIVER(ksz8795_netdev_ops); @@ -199,6 +200,7 @@ static const struct dsa_device_ops ksz9477_netdev_ops = { .xmit = ksz9477_xmit, .rcv = ksz9477_rcv, .overhead = KSZ9477_INGRESS_TAG_LEN, + .tail_tag = true, }; DSA_TAG_DRIVER(ksz9477_netdev_ops); |