bpf/arm: add branch operation
authorJerin Jacob <jerinj@marvell.com>
Tue, 3 Sep 2019 10:59:38 +0000 (16:29 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 12 Oct 2019 12:20:29 +0000 (14:20 +0200)
commit082482cef4f6e07c4c4167ef99bac6eac906181b
treef181ef35d5b772c49c735a7c828eab6c61fa9332
parent2acfae37f6b32b6ca245e9a571b9aa84ffd67dd2
bpf/arm: add branch operation

Add branch and call operations.

jump_offset_* APIs used for finding the relative offset
to jump w.r.t current eBPF program PC.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_bpf/bpf_jit_arm64.c