[PATCH v2] PPC: bpf_jit_comp: add SKF_AD_PKTTYPE instruction

David Miller davem at davemloft.net
Sun Nov 2 05:00:35 AEDT 2014


From: Denis Kirjanov <kda at linux-powerpc.org>
Date: Sat, 1 Nov 2014 21:49:27 +0400

> David, you need a feedback from other guys to apply this patch, right?
> 
> Alexei wanted some output before/after the patch.
> Michael Ellerman wanted the explanation what a BPF_ANC | SKF_AD_PKTTYPE means.
> So I'm waiting  the ack/nack from them...

I don't really think performance metrics are necessary just for adding
SKF_AD_PKTTYPE support, that's sort of an over the top requirement
if you ask me.

It's pretty obvious that we should support as many operations as
possible to each JIT, because all of program has to do is use that
unsupported opcode and then we have none of that program being JIT'd.


More information about the Linuxppc-dev mailing list