commit | 254ef4d746878162bb095484fc4b53d713620c33 | [log] [tgz] |
---|---|---|
author | Jiong Wang <jiong.wang@netronome.com> | Wed Nov 01 10:38:25 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 02 16:47:30 2017 +0900 |
tree | 56a933bd7f065d3b8f2463ed9bd53577db25bd4d | |
parent | 5d42ced1950c7a7b5f5aa5c1c7e2c78dde9f8ca4 [diff] |
nfp: bpf: support [BPF_ALU | BPF_ALU64] | BPF_NEG This patch supports BPF_NEG under both BPF_ALU64 and BPF_ALU. LLVM recently starts to generate it. NOTE: BPF_NEG takes single operand which is an register and serve as both input and output. Signed-off-by: Jiong Wang <jiong.wang@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>