Ethernet Switch Support in the Linux Kernel
summary
Hardware Ethernet switches on SoCs can offload VLAN tagging, IGMP snooping and link aggregation to the kernel using switchdev and DSA APIs, with the switch exposed as network devices and ports represented to the bridge. Implementations must register devices, provide callbacks for MAC learning and sync so kernel and switch stay consistent, handle multicast filtering to avoid flooding, and support hardware offload of forwarding and link aggregation; some features require extra userspace coordination and not all switches implement every capability.
AI-written summary · about
chapters (10)
- 0:00Linux Ethernet switch support
- 3:52Current switch support
- 7:40Registering switch devices
- 13:11MAC learning and forwarding
- 19:05User space interaction
- 23:36Handling state changes
- 27:59Multicast and VLAN support
- 33:27Port attributes and configs
- 37:52Offloading and performance
- 42:24Future directions
related talks
52mDistributed Switch Architecture: Running Mainline on Commercial Switches
52mIn the Kernel Trenches: Mastering Ethernet Drivers on Linux
25mLearning about slightly more advanced networking with linux
52mIn the Kernel Trenches: Mastering Ethernet Drivers on Linux
37mDisaggregating the Network: Switching as a Service
41mBraiding Wires Into the Linux Network Stack - Recent Work on Embedded Networking
51mSoftware Defined Networking Using the VXLAN Standard
32mSnabb Switch simple and fast packet networking
