summaryrefslogtreecommitdiffstats
path: root/include/net/devlink.h
diff options
context:
space:
mode:
authorEric Dumazet2017-08-31 13:53:42 +0200
committerDavid S. Miller2017-08-31 20:57:37 +0200
commit84ccac6e7854ebbfb56d2fc6d5bef9be49bb304c (patch)
tree86577241d7a33a02dc714cbfd0c32fa7c19ebd8d /include/net/devlink.h
parentsamples/bpf: Fix compilation issue in redirect dummy program (diff)
downloadkernel-qcow2-linux-84ccac6e7854ebbfb56d2fc6d5bef9be49bb304c.tar.gz
kernel-qcow2-linux-84ccac6e7854ebbfb56d2fc6d5bef9be49bb304c.tar.xz
kernel-qcow2-linux-84ccac6e7854ebbfb56d2fc6d5bef9be49bb304c.zip
x86: bpf_jit: small optimization in emit_bpf_tail_call()
Saves 4 bytes replacing following instructions : lea rax, [rsi + rdx * 8 + offsetof(...)] mov rax, qword ptr [rax] cmp rax, 0 by : mov rax, [rsi + rdx * 8 + offsetof(...)] test rax, rax Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/devlink.h')
0 files changed, 0 insertions, 0 deletions