[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <55169240.7040103@huawei.com>
Date: Sat, 28 Mar 2015 19:36:32 +0800
From: He Kuang <hekuang@...wei.com>
To: "ast@...mgrid.com >> Alexei Starovoitov" <ast@...mgrid.com>
CC: <wangnan0@...wei.com>,
"linux-kernel@...r.kernel.org >> LKML" <linux-kernel@...r.kernel.org>
Subject: [RFC] bpf: Suggestion on bpf syscall interface
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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists