[PATCH 0/2] realtek: fix L2 entry setup and learning on CPU port

Jan Hoffmann jan at 3e8.eu
Fri Oct 21 14:54:25 PDT 2022


This is a follow-up to yesterdays patch ("realtek: don't set L2LEARNING
flag in rtl83xx TX header"). It switches to assisted learning for the 
CPU port on all devices, and fixes some existing issues with setup of
unicast L2 entries.

Together with the kernel 5.15 pull request, entries for local/bridge
addresses are added to the switch. I am still not sure why that doesn't
work with the patches in the current kernel. However, the pull request
for the kernel update seems to be in a good shape, so I don't think it
is worth it to investigate that any further.

Tested on RTL838x (HPE 1920-8G) and RTL839x (HPE 1920-48G).

Jan Hoffmann (2):
  realtek: set up L2 table entries properly
  realtek: use assisted learning on CPU port

 .../files-5.10/drivers/net/dsa/rtl83xx/dsa.c  | 45 ++++++++++++++-----
 1 file changed, 35 insertions(+), 10 deletions(-)

-- 
2.37.3




More information about the openwrt-devel mailing list