logoalt Hacker News

Wireblast a 100 Gbps packet generator in Go using AF_XDP

34 pointsby bgpdudeyesterday at 4:07 PM13 commentsview on HN

Comments

spaceywillyyesterday at 6:45 PM

That’s very interesting, thank you for sharing. Looks like it could be a very useful tool for testing high performance networking.

I wonder if something similar could be done using TC BPF instead of AF_XDP? My only reservation about AF XDP is that it requires a special NIC to support it, so it may not be useful for a “regular Joe” user. I wonder if TC BPF would also work since it similarly bypasses the Kernel networking stack, I believe you can put packets directly into the NIC TX queue for transmission

show 3 replies
bgpdudeyesterday at 8:45 PM

The video demo is pretty neat as well https://www.youtube.com/watch?v=8EmxvaOR5uA

barryvandyesterday at 8:50 PM

ooh no more DPDK, this will make it a lot easier. I just started working with trex but it's all really complicated. Going to give this a try

show 1 reply