Re: [dpdk-dev] [PATCH v2 0/5] bpf: add support for BPF_ABS/BPF_IND instructions

2020-06-24 Thread Thomas Monjalon
27/05/2020 16:16, Konstantin Ananyev: > To fill the gap with linux kernel eBPF implementation, > add support for two non-generic instructions: > (BPF_ABS | | BPF_LD) and (BPF_IND | | BPF_LD) > which are used to access packet data in a safe manner. > Make necessary changes in BPF verifier, interpr

[dpdk-dev] [PATCH v2 0/5] bpf: add support for BPF_ABS/BPF_IND instructions

2020-05-27 Thread Konstantin Ananyev
To fill the gap with linux kernel eBPF implementation, add support for two non-generic instructions: (BPF_ABS | | BPF_LD) and (BPF_IND | | BPF_LD) which are used to access packet data in a safe manner. Make necessary changes in BPF verifier, interpreter and x86 JIT code. Konstantin Ananyev (5):