From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933978AbaHZICl (ORCPT ); Tue, 26 Aug 2014 04:02:41 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:35238 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752889AbaHZICg (ORCPT ); Tue, 26 Aug 2014 04:02:36 -0400 Date: Tue, 26 Aug 2014 10:02:31 +0200 From: Ingo Molnar To: Daniel Borkmann Cc: Alexei Starovoitov , Stephen Hemminger , "David S. Miller" , Linus Torvalds , Andy Lutomirski , Steven Rostedt , Chema Gonzalez , Eric Dumazet , Peter Zijlstra , Brendan Gregg , Namhyung Kim , "H. Peter Anvin" , Andrew Morton , Kees Cook , Linux API , Network Development , LKML Subject: Re: [PATCH v6 net-next 4/6] bpf: enable bpf syscall on x64 and i386 Message-ID: <20140826080231.GA20565@gmail.com> References: <1409014858-1410-1-git-send-email-ast@plumgrid.com> <1409014858-1410-5-git-send-email-ast@plumgrid.com> <20140825205201.10ac5ee3@uryu.home.lan> <20140826074655.GB19799@gmail.com> <53FC3E9A.1020108@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53FC3E9A.1020108@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Daniel Borkmann wrote: > On 08/26/2014 09:46 AM, Ingo Molnar wrote: > >* Alexei Starovoitov wrote: > >>On Mon, Aug 25, 2014 at 8:52 PM, Stephen Hemminger > >> wrote: > >>>Per discussion at Kernel Summit. Every new syscall requires > >>>a manual page and test programs. We have had too many new syscalls > >>>that are DOA. > >> > >>There is verifier testsuite that is testing eBPF verifier from userspace > >>via bpf syscall. Also there are multiple examples and libbpf. > >>I think test coverage for bpf syscall is quite substantial already. > > > >This is in tools/bpf/, right? > > No, it contains a BPF JIT disasm, bpf assembler and a debugger, > but the last two are for the 'classic' BPF interface only. > There's a test suite for BPF/eBPF in general under > lib/test_bpf.c, but so far it tests only the current code w/o > eBPF verifier. > > That said, I think Alexei is referring to the examples et al > from the bigger previous proposed patch set. I mean, if all the testing already exists, it should be part of an initial submission and such. Thanks, Ingo