BPF elf examples
Marat Khalili
marat.khalili at huawei.com
Tue Oct 21 13:42:25 CEST 2025
> -----Original Message-----
> Tried using AI to generate tests, and as usual it sort of worked but the
> example code generated won't load or work. Is there anywhere to find working
> DPDK examples of using BPF load?
Hello! I'm sitting on some patches adding a framework for generating BPF ELF
files using libelf and some basic unit tests based on it. Hopefully I'll be
able to upstream it within the next couple of months.
Generating ELF files is probably beyond the reach of current AI, but once the
framework is there perhaps it could be used to add test cases, would be
interesting to try...
More information about the dev
mailing list