From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Subject: Re: [PATCH v2 net-next 3/4] bpftool: implement prog load command Date: Thu, 7 Dec 2017 13:55:25 -0800 Message-ID: <20171207135525.4ce09b48@cakuba.netronome.com> References: <20171207183909.16240-1-guro@fb.com> <20171207183909.16240-4-guro@fb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: , , , , , , Quentin Monnet , David Ahern To: Roman Gushchin Return-path: In-Reply-To: <20171207183909.16240-4-guro@fb.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Thu, 7 Dec 2017 18:39:08 +0000, Roman Gushchin wrote: > Add the prog load command to load a bpf program from a specified > binary file and pin it to bpffs. > > Usage description and examples are given in the corresponding man > page. > > Syntax: > $ bpftool prog load SOURCE_FILE FILE > > FILE is a non-existing file on bpffs. > > Signed-off-by: Roman Gushchin Reviewed-by: Jakub Kicinski The only reservation I have is that SRC may confuse people, would it make sense to call the compiled code OBJ? I'm afraid someone may try to load a C source...