bpf/x86: support packet data load instructions
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Wed, 27 May 2020 14:16:53 +0000 (15:16 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 24 Jun 2020 21:42:20 +0000 (23:42 +0200)
commitce77f03ca380ca3f7411a7f49b8cfbb8167a676f
tree488a50706b7a39159d7b122b9981d4585a380e39
parentb901d928361cc6f2ff03909a0f7a18640252ee27
bpf/x86: support packet data load instructions

Make x86 JIT to generate native code for
(BPF_ABS | <size> | BPF_LD) and (BPF_IND | <size> | BPF_LD)
instructions.

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
lib/librte_bpf/bpf_jit_x86.c
lib/librte_bpf/bpf_validate.c