Skip to content

Commit

Permalink
net: dsa: tag_ksz: KSZ8795 and KSZ9477 also use tail tags
Browse files Browse the repository at this point in the history
The Marvell 88E6060 uses tag_trailer.c and the KSZ8795, KSZ9477 and
KSZ9893 switches also use tail tags.

Fixes: 7a6ffe7 ("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>
  • Loading branch information
Christian Eggers authored and Jakub Kicinski committed Oct 20, 2020
1 parent 3bd57b9 commit bc7e343
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/dsa/tag_ksz.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit bc7e343

Please sign in to comment.