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

From: Naveen N. Rao
Date: Tue Apr 05 2016 - 12:53:40 EST


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@xxxxxx>
> >Cc: Daniel Borkmann <daniel@xxxxxxxxxxxxx>
> >Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> >Cc: Ananth N Mavinakayanahalli <ananth@xxxxxxxxxx>
> >Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
> >Cc: Paul Mackerras <paulus@xxxxxxxxx>
> >Signed-off-by: Naveen N. Rao <naveen.n.rao@xxxxxxxxxxxxxxxxxx>
>
> 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