realtek: Trap LLDP packets to the CPU
authorKevin Jilissen <info@kevinjilissen.nl>
Sat, 4 May 2024 14:12:20 +0000 (16:12 +0200)
committerSander Vanheule <sander@svanheule.net>
Fri, 10 May 2024 14:08:34 +0000 (16:08 +0200)
commit5b7240c07056ccdde606cea8e832d76f0d4e8002
tree7624eca4e314e02a00f2ba1c79e23da3fd3e2d6e
parentc5ed115104ce35c0c5a6853b50889f8b777a759b
realtek: Trap LLDP packets to the CPU

We should setup the registers for trapping LLDP packets to the CPU.
Currently, these packets are forwarded to all ports which is not desired
behaviour.

Signed-off-by: Kevin Jilissen <info@kevinjilissen.nl>
(cherry picked from commit 5a5c52085a5bd0b1b8bc629f3586c7a93dcb4460)
target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/dsa.c