]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
net: dsa: tag_rtl8_4: set KEEP flag
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Wed, 8 Apr 2026 20:31:02 +0000 (17:31 -0300)
committerJakub Kicinski <kuba@kernel.org>
Sun, 12 Apr 2026 16:03:55 +0000 (09:03 -0700)
commit82f37bd9a4d779495479c0c13152208d5400c8a4
tree58f4501eb64e60c1379542173f140e0a0f347589
parent297e1f411ed4927a912c7e207ba6f978cb1f9f0e
net: dsa: tag_rtl8_4: set KEEP flag

KEEP=1 is needed because we should respect the format of the packet as
the kernel sends it to us. Unless tx forward offloading is used, the
kernel is giving us the packet exactly as it should leave the specified
port on the wire. Until now this was not needed because the ports were
always functioning in a standalone mode in a VLAN-unaware way, so the
switch would not tag or untag frames anyway. But arguably it should have
been KEEP=1 all along.

Co-developed-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Signed-off-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260408-realtek_fixes-v1-2-915ff1404d56@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/dsa/tag_rtl8_4.c