* [LSF/MM/BPF TOPIC] Support more than 5 parameters in bpf
@ 2026-03-18 18:21 Yonghong Song
0 siblings, 0 replies; only message in thread
From: Yonghong Song @ 2026-03-18 18:21 UTC (permalink / raw)
To: lsf-pc, bpf; +Cc: Kernel Team
Currently, bpf function calls and kfunc's are limited by 5 reg-level
parameters. For function calls with more than 5 parameters,
developers can use always inlining or pass a struct pointer
after packing more parameters in that struct. But there is
no workaround for kfunc if more than 5 parameters is needed.
I started to explore how to support more than 5 parameters
for bpf prog function calls and kfuncs. This involves both llvm
and kernel bpf. I would like to present my findings
at LSF/MM/BPF.
Thanks!
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-18 18:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-18 18:21 [LSF/MM/BPF TOPIC] Support more than 5 parameters in bpf Yonghong Song
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox