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

Alexei Starovoitov ast at fb.com
Wed Apr 6 02:28:34 AEST 2016


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?

Acked-by: Alexei Starovoitov <ast at kernel.org>



More information about the Linuxppc-dev mailing list