From: Marat Khalili <marat.khalili@huawei.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>
Subject: RE: BPF elf examples
Date: Tue, 21 Oct 2025 11:42:25 +0000 [thread overview]
Message-ID: <1c2a834602b440d6841ea8120ae37db2@huawei.com> (raw)
In-Reply-To: <20251020131631.2a6a0de3@phoenix.lan>
> -----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...
next prev parent reply other threads:[~2025-10-21 11:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-20 20:16 Stephen Hemminger
2025-10-21 11:30 ` Konstantin Ananyev
2025-10-21 11:42 ` Marat Khalili [this message]
2025-10-21 13:38 ` Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1c2a834602b440d6841ea8120ae37db2@huawei.com \
--to=marat.khalili@huawei.com \
--cc=dev@dpdk.org \
--cc=konstantin.v.ananyev@yandex.ru \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).