public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC] bpf: Suggestion on bpf syscall interface
@ 2015-03-28 11:36 He Kuang
  2015-03-28 17:21 ` Alexei Starovoitov
  0 siblings, 1 reply; 5+ messages in thread
From: He Kuang @ 2015-03-28 11:36 UTC (permalink / raw)
  To: ast@plumgrid.com >> Alexei Starovoitov
  Cc: wangnan0, linux-kernel@vger.kernel.org >> LKML

Hi, Alexei

In our end-end IO module project, we use bpf maps to record
configurations. According to current bpf syscall interface, we
should specify map_fd to lookup/update bpf maps, so we are
restricted to do config in the same user program.

My suggestion is to export this kind of operations to sysfs, so
we can load&attach bpf progs and config it seperately. We
implement this feature in our demo project. What's your opinion
on this?


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-31  3:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-28 11:36 [RFC] bpf: Suggestion on bpf syscall interface He Kuang
2015-03-28 17:21 ` Alexei Starovoitov
2015-03-28 22:16   ` Daniel Borkmann
2015-03-30  3:13   ` He Kuang
2015-03-31  3:23     ` Alexei Starovoitov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox