bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Error during load: Arg#1 type is not a struct
@ 2021-10-12  0:43 Mohan Parthasarathy
  0 siblings, 0 replies; only message in thread
From: Mohan Parthasarathy @ 2021-10-12  0:43 UTC (permalink / raw)
  To: bpf

Hi,

My XDP program was working fine with older version of clang/llvm (10)
and when I moved to ubuntu 21.04, I ended up using version 12 and
started seeing the problem during load:

Validating xyz() func#1...
arg#1 type is not a struct
Arg#1 type PTR in xyz() is not supported yet.

I can see it is coming from btf_get_prog_ctx_type, but not able to
find the reason. The argument is a "void *".  What am I missing ?

Thanks
Mohan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-12  0:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12  0:43 Error during load: Arg#1 type is not a struct Mohan Parthasarathy

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).