Loading
Draft: ethernet: (GSoC26) Add Switched Ethernet with pluggable schedulers
Adds Switched Ethernet model and Switch Scheduler for scheduling policies. This is the first iteration which will be modified and updated in the following Merge Requests.
Implementation
Ethernet Switch
- Performs Layer-2 forwarding based on MAC address learning, managing switch ports, Interfacing with the scheduler for packet transmission.
- Maintains the MAC learning table (LearnMac, LookUpMac)
Ethernet Switch port
- The switch port is responsible for: Receiving frames, interface with mac/phy and deliver the validated frame to switch.
Ethernet Switch Scheduler
- Determine the transmission order according to the selected scheduling algorithm.
- Supports pluggable scheduling policies such as First-Come-First-Serve (FCFS), with support for future scheduling algorithms like Weighted Round Robin (WRR).
This MR depends on !2886
AI Disclosure
I have used AI for understanding the existing code and summarise it.
I have referred bridge module for implementation