]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: dsa: microchip: fix tag_ksz egress mask for KSZ8795 family
authorPieter Van Trappen <pieter.van.trappen@cern.ch>
Tue, 13 Aug 2024 14:27:40 +0000 (16:27 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 16 Aug 2024 17:25:02 +0000 (10:25 -0700)
commit6f2b72c04d58a40c16f3cd858776517f16226119
treeec5b3f307be23ebabc16e8554b59c28b5c0633fd
parent0d3edc90c4a0ac77332a25e1e6b709a39b202de9
net: dsa: microchip: fix tag_ksz egress mask for KSZ8795 family

Fix the tag_ksz egress mask for DSA_TAG_PROTO_KSZ8795, the port is
encoded in the two and not three LSB. This fix is for completeness,
for example the bug doesn't manifest itself on the KSZ8794 because bit
2 seems to be always zero.

Signed-off-by: Pieter Van Trappen <pieter.van.trappen@cern.ch>
Acked-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Link: https://patch.msgid.link/20240813142750.772781-7-vtpieter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/dsa/tag_ksz.c