diff options
author | 2017-08-18 16:40:33 -0700 | |
---|---|---|
committer | 2017-08-21 10:31:34 -0700 | |
commit | 6035b3faf3e58ee6eb423a45a1b7b7c3b4c8dc9f (patch) | |
tree | 173c544e8134dcfae4572e8b2db5eed44cf122a8 /net/dsa/tag_ksz.c | |
parent | MIPS, bpf: Implement JLT, JLE, JSLT and JSLE ops in the eBPF JIT. (diff) | |
download | linux-dev-6035b3faf3e58ee6eb423a45a1b7b7c3b4c8dc9f.tar.xz linux-dev-6035b3faf3e58ee6eb423a45a1b7b7c3b4c8dc9f.zip |
MIPS,bpf: Cache value of BPF_OP(insn->code) in eBPF JIT.
The code looks a little cleaner if we replace BPF_OP(insn->code) with
the local variable bpf_op. Caching the value this way also saves 300
bytes (about 1%) in the code size of the JIT.
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/tag_ksz.c')
0 files changed, 0 insertions, 0 deletions