diff options
author | Denis Kirjanov <kda@linux-powerpc.org> | 2014-11-10 06:59:43 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-11 19:39:47 +0100 |
commit | 5b61c4db49e2530ed10631321d4c73f49d560a93 (patch) | |
tree | 1dbc2c4c557a54aa81a161f65b8bffb61ed5bfd6 /net/batman-adv/multicast.h | |
parent | Merge branch 'net_next_ovs' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
download | linux-5b61c4db49e2530ed10631321d4c73f49d560a93.tar.xz linux-5b61c4db49e2530ed10631321d4c73f49d560a93.zip |
PPC: bpf_jit_comp: add SKF_AD_HATYPE instruction
Add BPF extension SKF_AD_HATYPE to ppc JIT to check
the hw type of the interface
Before:
[ 57.723666] test_bpf: #20 LD_HATYPE
[ 57.723675] BPF filter opcode 0020 (@0) unsupported
[ 57.724168] 48 48 PASS
After:
[ 103.053184] test_bpf: #20 LD_HATYPE 7 6 PASS
CC: Alexei Starovoitov<alexei.starovoitov@gmail.com>
CC: Daniel Borkmann<dborkman@redhat.com>
CC: Philippe Bergheaud<felix@linux.vnet.ibm.com>
Signed-off-by: Denis Kirjanov <kda@linux-powerpc.org>
v2: address Alexei's comments
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/multicast.h')
0 files changed, 0 insertions, 0 deletions