[PATCH net 4/4] lib/test_bpf: Add additional BPF_ADD tests

Naveen N. Rao naveen.n.rao at linux.vnet.ibm.com
Wed Apr 6 02:51:47 AEST 2016


On 2016/04/05 09:28AM, Alexei Starovoitov wrote:
> On 4/5/16 3:02 AM, Naveen N. Rao wrote:
> >Some of these tests proved useful with the powerpc eBPF JIT port due to
> >sign-extended 16-bit immediate loads. Though some of these aspects get
> >covered in other tests, it is better to have explicit tests so as to
> >quickly tag the precise problem.
> >
> >Cc: Alexei Starovoitov <ast at fb.com>
> >Cc: Daniel Borkmann <daniel at iogearbox.net>
> >Cc: "David S. Miller" <davem at davemloft.net>
> >Cc: Ananth N Mavinakayanahalli <ananth at in.ibm.com>
> >Cc: Michael Ellerman <mpe at ellerman.id.au>
> >Cc: Paul Mackerras <paulus at samba.org>
> >Signed-off-by: Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com>
> 
> Makes sense. Looks like ppc jit will be using quite a bit of
> available ppc instructions. Nice.
> 
> I'm assuming all these new tests passed with x64 jit?

Yes, all these tests pass on x86_64.

- Naveen



More information about the Linuxppc-dev mailing list