[PATCH v5 3/5] bpf: add a test for BPF ELF load

Stephen Hemminger stephen at networkplumber.org
Mon Nov 10 18:08:33 CET 2025


On Mon, 10 Nov 2025 16:38:08 +0000
Marat Khalili <marat.khalili at huawei.com> wrote:

> > +static int
> > +test_bpf_elf_load(void)
> > +{
> > +	static const char test_section[] = "call1";
> > +	uint8_t tbuf[sizeof(struct dummy_vect8)];  
> 
> I still think alignment may become an issue here.

This was copied from earlier part (run_test).


More information about the dev mailing list