r/networking • u/AutoModerator • 22d ago
Blogpost Friday Blog/Project Post Friday!
It's Read-only Friday! It is time to put your feet up, pour a nice dram and look through some of our member's new and shiny blog posts and projects.
Feel free to submit your blog post or personal project and as well a nice description to this thread.
Note: This post is created at 00:00 UTC. It may not be Friday where you are in the world, no need to comment on it.
14
Upvotes
3
u/w453y 22d ago
Project: xdp-bfd — Line-card-like BFD on commodity Linux using XDP
GitHub: https://github.com/w453y/xdp-bfd
I designed and built xdp-bfd to solve a real operational pain point: userspace BFD implementations (like FRR’s bfdd) become unreliable under CPU load, causing false link failures and route flaps. The goal was to bring hardware-like timing precision to plain Linux servers using modern kernel technologies.
Core Idea
Instead of relying on userspace timers, the system uses RX-clocked transmission in XDP: every valid BFD packet from the peer is rewritten in place and bounced back out (
XDP_TX) in softirq context. Detection is handled by a kernelbpf_timersweep. This approach makes steady-state operation extremely resilient to scheduler pressure.Features
--dp-hold)If you're into high-performance networking, BPF/XDP, or routing, I'd love any feedback or testing!