Skip to content

Commit bc7e343

Browse files
ceggers-arrikuba-moo
authored andcommitted
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: 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>
1 parent 3bd57b9 commit bc7e343

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎net/dsa/tag_ksz.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ static const struct dsa_device_ops ksz8795_netdev_ops = {
123123
.xmit = ksz8795_xmit,
124124
.rcv = ksz8795_rcv,
125125
.overhead = KSZ_INGRESS_TAG_LEN,
126+
.tail_tag = true,
126127
};
127128

128129
DSA_TAG_DRIVER(ksz8795_netdev_ops);
@@ -199,6 +200,7 @@ static const struct dsa_device_ops ksz9477_netdev_ops = {
199200
.xmit = ksz9477_xmit,
200201
.rcv = ksz9477_rcv,
201202
.overhead = KSZ9477_INGRESS_TAG_LEN,
203+
.tail_tag = true,
202204
};
203205

204206
DSA_TAG_DRIVER(ksz9477_netdev_ops);

0 commit comments

Comments
 (0)