#rtl83xx

2025-09-02

I just wanted to make a little #multicast safety feature in the Linux bridge available to #switchdev + #DSA, too, to use it on #rtl83xx / #rtl93xx #Realtek drivers / switches later. One suggestion on the PR was like, maybe we could do the locking differently or use atomics. Me several hours later:

Meme with an agitated, bearded person with a tie in front of a wall of papers with red criss-crossing lines and big, supposedly explaining something to someone else. (Charlie Conspiracy (Always Sunny in Philidelphia)?)
2025-08-07

Interesting, the #XikeStor / #Seekswan SKS8300-12X switch seems to be rtl93xx based, too, with the most SFP ports I've seen for a #Realtek #rtl93xx or #rtl83xx device. According to this page it should be #rtl9313: visit.seekswan.com:6555/xksupp
And maybe it wouldn't be too hard to add to #OpenWrt as the smaller XikeStor SKS8300-8X is already supported there: openwrt.org/toh/hwdata/xikesto

2025-06-23

@txt_file replaced the switches at the #Nobreakspace with a second hand 52 ports switch and a 24 ports PoE switch - both with a #Realtek / #rtl83xx chip and OpenWrt support, 50€ each on kleinanzeigen.de. But yeah, 10 and even 40 Gbit/s ports and 750W for PoE on this Mikrotik one sound nice :D.

2025-06-13

Nice talk at the @battlemesh about #Realtek #switches running #OpenWrt. To get people even more excited about it this is how an OpenWrt #LuCI can look like with 52 ports :D. This D-Link DGS-1210-52 F1 was obtained for just 50€ on a German second hand online market place (kleinanzeigen.de) and is now running in the #Nobreakspace. Always make sure to pick the correct revision though, there are switches with very similar names but which don't use a Realtek chip.
#rtl83xx #rtl93xx

A picture of OpenWrt's LuCI webinterface, with nearly the whole picture filled with the status of 52 ethernet ports.A picture of OpenWrt's LuCI webinterface, showing the basic system information and status page of a D-Link DGS-1210-52.
2025-05-18

Use #BSD for good networking, nuff said... Use #OPNsense for a firewall/router, nuff said...

Me trying to use #multicast snooping with this in our hackspace: After several hours of debugging, realizing it's not bc. of the #OpenWrt powered, #rtl83xx based switch I've added, nor the new patches I've made and added to it. But because of this two years old, ignored #OPNsense (or #FreeBSD?) bug with #MLD: github.com/opnsense/core/issue
😒 😤

2025-05-16

So, an #rtl83xx based switch, a ZyXEL GS1900-24HP v1, running #OpenWrt was now added to the rack of our hackspace. Some initial weirdness and confusion: PoE would not be enabled by default on boot. "/etc/init.d/poe restart" would until rebooted. Or manually populating /etc/config/poe with each PoE port seems to make it reboot safe...
Also PoE LEDs are not working yet.
The thing is, many crucial things in our space rely on PoE, like #VoIP phones, WiFi APs and the internet modem...

2025-05-13

#rtl83xx #multicast update, v2: added forwarding to multicast router support, which is required by #RFC4541. And one bugfix to my original PR:
github.com/openwrt/openwrt/pul
This should make multicast snooping with this device usable now.

2025-05-10

So, a bunch of #multicast fixes for #rtl83xx / #OpenWrt / Linux bridge / #switchdev / DSA patches are out now.

Fix 1: Already applied: github.com/openwrt/openwrt/pul
Fix 2: Pending: github.com/openwrt/openwrt/pul

And a slightly larger patchset here: github.com/openwrt/openwrt/pul

2025-04-11

Also getting my #rtl83xx switch #Linux kernel code changes more and more into a style shape that I start to like, that looks more upstreamable to me.
Sometimes I see can see that some code looks ugly, but might have some difficulties to come up with a solution that is more "pretty"/readable. I have some judgement for aesthetics, I think, but I'm sometimes lacking a bit of creativity for aesthetics in general. Aesthetics has such a huge search space, too many possibilities :D. #OpenWrt

2025-04-03

@jpl @ffhl @batadv @Freifunk bin gerade noch dabei, den #rtl83xx basierten Switch, den @bdobe empfohlen hatte, ein bisschen was am IGMP/MLD snooping im Linux kernel zu fixen und habe unseren #Nobreakspace wieder ans #dn42 angeschlossen, will danach dann auch das layer 3 #multicast routing noch zwischen @ffhl und unseren hackspace einrichten. Danach wäre der Plan, das über #dn42 und das #ICVPN zu machen, genau. Wer aber direkt schon layer 3 multicast peeren möchte, gerne bescheid sagen :-).

2025-03-26

Curse you, #Linux bridge (or #DSA or #switchdev) - why do you send this uncalled-for #VLAN deletion notification... (and do I dig deeper into this, maybe finding a bug?, or should I just go for the other approach I wanted to implement anyway, which wouldn't need to hook into the VLAN notifications in the first place...)

#multicast #rtl83xx #switch

2025-02-28

Had found an issue with the #DSA #rtl83xx #IGMP / #MLD snooping code in #OpenWrt, it would always flood snoopable IP #multicast payload with no MDB entry, instead of dropping. Finally got some clue how this chip gets configured, it's a bit confusing with all these tables and how they point to each other :D. And these magic shifting numbers, instead abstracting them... Also found one bug in one shift value, I think.
And could get things to drop! Now need to drop more selectively.

2025-02-23

on the other hand, unfortunately, it seems that #DSA in #Linux (and by that this downstream #rtl83xx driver) so far seems to repeat the mistakes we did in the Linux #bridge and fixed during the last decade... it's not following #RFC4541, DSA does not seem to have an option to set multicast router ports yet... which overall breaks #IGMP / #MLD snooping and by that #multicast in many scenarios... will be interesting if that is fixable or a limitation of #rtl83xx based #switch chips.

2025-02-23

So bought a used, managed D-link DGS-1210-24HP PoE switch on kleinanzeigen.de now. Thanks to the pointers from @bodems and this feedback on the #OpenWrt forum: forum.openwrt.org/t/openwrt-su.
Switches using the #rtl83xx driver seem to be the most promising and affordable solution with #DSA. Interestingly, OpenWrt has patched it downstream to implement the DSA .port_mdb_add.

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst