Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2020-04-06 Thread Ananyev, Konstantin
Hi guys, > On Fri, Oct 4, 2019 at 7:39 PM Daniel Borkmann wrote: > > > > On 10/4/19 12:53 PM, Thomas Monjalon wrote: > > > 04/10/2019 11:54, Steve Capper: > > >> I'd recommend also reaching out the BPF maintainers: > > >> BPF JIT for ARM64 > > >> M: Daniel Borkmann > > >> M: Alexei Starovoi

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-23 Thread Jerin Jacob
On Sat, Oct 5, 2019 at 8:09 PM Jerin Jacob wrote: > > > >> > > >> This might be one avenue if all kernel JIT contributors would be on > > >> board. > > >> Another option I'm wondering could be to extend the bpf() syscall in > > >> order > > >> to pass down a description of context and helper map

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-12 Thread Thomas Monjalon
24/09/2019 19:03, Ananyev, Konstantin: > > Jerin Jacob (8): > > bpf/arm64: add build infrastructure > > bpf/arm64: add prologue and epilogue > > bpf/arm64: add basic arithmetic operations > > bpf/arm64: add logical operations > > bpf/arm64: add byte swap operations > > bpf/arm64: add lo

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-07 Thread Jerin Jacob
On Tue, 8 Oct, 2019, 1:45 AM Thomas Monjalon, wrote: > 07/10/2019 21:29, Jerin Jacob: > > On Mon, 7 Oct, 2019, 11:35 PM Thomas Monjalon, > wrote: > [...] > > let's restart from the beginning by answering simple questions: > > > - what are the use cases of BPF in DPDK? > > > > If something needs

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-07 Thread Thomas Monjalon
07/10/2019 21:29, Jerin Jacob: > On Mon, 7 Oct, 2019, 11:35 PM Thomas Monjalon, wrote: [...] > let's restart from the beginning by answering simple questions: > > - what are the use cases of BPF in DPDK? > > If something needs to be dynamically controlled then eBPF can be used, > couple of use c

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-07 Thread Jerin Jacob
On Mon, 7 Oct, 2019, 11:35 PM Thomas Monjalon, wrote: > 07/10/2019 15:00, Jerin Jacob: > > On Mon, 7 Oct, 2019, 6:03 PM Thomas Monjalon wrote: > > > 04/10/2019 17:39, Jerin Jacob: > > > > On Thu, Oct 3, 2019 at 8:35 PM Ananyev, Konstantin wrote: > > > > > > On Thu, Oct 3, 2019 at 6:21 PM Thomas M

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-07 Thread Thomas Monjalon
07/10/2019 15:00, Jerin Jacob: > On Mon, 7 Oct, 2019, 6:03 PM Thomas Monjalon wrote: > > 04/10/2019 17:39, Jerin Jacob: > > > On Thu, Oct 3, 2019 at 8:35 PM Ananyev, Konstantin wrote: > > > > > On Thu, Oct 3, 2019 at 6:21 PM Thomas Monjalon wrote: > > > > > > 03/09/2019 12:59, jer...@marvell.com: >

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-07 Thread Jerin Jacob
On Mon, 7 Oct, 2019, 6:03 PM Thomas Monjalon, wrote: > 04/10/2019 17:39, Jerin Jacob: > > On Thu, Oct 3, 2019 at 8:35 PM Ananyev, Konstantin > > wrote: > > > > > > Hi everyone, > > > > > > > > > > > On Thu, Oct 3, 2019 at 6:21 PM Thomas Monjalon > wrote: > > > > > > > > > > 03/09/2019 12:59, je

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-07 Thread Thomas Monjalon
04/10/2019 17:39, Jerin Jacob: > On Thu, Oct 3, 2019 at 8:35 PM Ananyev, Konstantin > wrote: > > > > Hi everyone, > > > > > > > > On Thu, Oct 3, 2019 at 6:21 PM Thomas Monjalon > > > wrote: > > > > > > > > 03/09/2019 12:59, jer...@marvell.com: > > > > > Added eBPF arm64 JIT support to improve th

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-07 Thread Ananyev, Konstantin
Hi everyone, > > >> > > >> This might be one avenue if all kernel JIT contributors would be on > > >> board. > > >> Another option I'm wondering could be to extend the bpf() syscall in > > >> order > > >> to pass down a description of context and helper mappings e.g. via BTF > > >> and > > >

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-05 Thread Jerin Jacob
> >> > >> This might be one avenue if all kernel JIT contributors would be on board. > >> Another option I'm wondering could be to extend the bpf() syscall in order > >> to pass down a description of context and helper mappings e.g. via BTF and > >> let everything go through the verifier in the ker

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-04 Thread Daniel Borkmann
On 10/4/19 4:43 PM, Jerin Jacob wrote: On Fri, Oct 4, 2019 at 7:39 PM Daniel Borkmann wrote: On 10/4/19 12:53 PM, Thomas Monjalon wrote: 04/10/2019 11:54, Steve Capper: I'd recommend also reaching out the BPF maintainers: BPF JIT for ARM64 M: Daniel Borkmann M: Alexei Starovoitov M: Z

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-04 Thread Jerin Jacob
On Thu, Oct 3, 2019 at 8:35 PM Ananyev, Konstantin wrote: > > Hi everyone, > > > > > On Thu, Oct 3, 2019 at 6:21 PM Thomas Monjalon wrote: > > > > > > 03/09/2019 12:59, jer...@marvell.com: > > > > Added eBPF arm64 JIT support to improve the eBPF program performance > > > > on arm64. > > > > > > >

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-04 Thread Daniel Borkmann
On 10/4/19 12:53 PM, Thomas Monjalon wrote: 04/10/2019 11:54, Steve Capper: I'd recommend also reaching out the BPF maintainers: BPF JIT for ARM64 M: Daniel Borkmann M: Alexei Starovoitov M: Zi Shen Lim L: net...@vger.kernel.org L: b...@vger.kernel.org S: Support

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-04 Thread Jerin Jacob
On Fri, Oct 4, 2019 at 7:39 PM Daniel Borkmann wrote: > > On 10/4/19 12:53 PM, Thomas Monjalon wrote: > > 04/10/2019 11:54, Steve Capper: > >> I'd recommend also reaching out the BPF maintainers: > >> BPF JIT for ARM64 > >> M: Daniel Borkmann > >> M: Alexei Starovoitov > >> M: Zi Shen Lim

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-04 Thread Thomas Monjalon
04/10/2019 11:54, Steve Capper: > I'd recommend also reaching out the BPF maintainers: > BPF JIT for ARM64 > M:Daniel Borkmann > M:Alexei Starovoitov > M:Zi Shen Lim > L:net...@vger.kernel.org > L:b...@vger.kernel.org > S:Supported > F:arch/arm64/net/ > > As they wil

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-04 Thread Steve Capper
On Fri, Oct 04, 2019 at 05:55:18AM +0100, Honnappa Nagarahalli wrote: > Adding Arm JIT and Kernel experts Hi Honnappa, I'd recommend also reaching out the BPF maintainers: BPF JIT for ARM64 M: Daniel Borkmann M: Alexei Starovoitov M: Zi Shen Lim L: net...@vger.kernel.org L:

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-03 Thread Honnappa Nagarahalli
; Subject: RE: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support > > Hi everyone, > > > > > On Thu, Oct 3, 2019 at 6:21 PM Thomas Monjalon > wrote: > > > > > > 03/09/2019 12:59, jer...@marvell.com: > > > > Added eBPF arm64 JIT support to improve

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-03 Thread Ananyev, Konstantin
Hi everyone, > > On Thu, Oct 3, 2019 at 6:21 PM Thomas Monjalon wrote: > > > > 03/09/2019 12:59, jer...@marvell.com: > > > Added eBPF arm64 JIT support to improve the eBPF program performance > > > on arm64. > > > > > > lib/librte_bpf/bpf_jit_arm64.c | 1451 > >

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-03 Thread Jerin Jacob
On Thu, Oct 3, 2019 at 6:21 PM Thomas Monjalon wrote: > > 03/09/2019 12:59, jer...@marvell.com: > > Added eBPF arm64 JIT support to improve the eBPF program performance > > on arm64. > > > > lib/librte_bpf/bpf_jit_arm64.c | 1451 > > I am concerned about duplicatin

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-03 Thread Thomas Monjalon
03/09/2019 12:59, jer...@marvell.com: > Added eBPF arm64 JIT support to improve the eBPF program performance > on arm64. > > lib/librte_bpf/bpf_jit_arm64.c | 1451 I am concerned about duplicating the BPF JIT effort in DPDK and Linux. Could we try to pull the Linu

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-09-24 Thread Ananyev, Konstantin
> > Added eBPF arm64 JIT support to improve the eBPF program performance > on arm64. > > dpdk.org/examples/bpf/t1.c application shows around 50% improvement > on OCTEON TX2 platform in JIT vs interpreter mode. > > Verified the implementation using existing bpf_autotest application. > > # ech

[dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-09-03 Thread jerinj
From: Jerin Jacob Added eBPF arm64 JIT support to improve the eBPF program performance on arm64. dpdk.org/examples/bpf/t1.c application shows around 50% improvement on OCTEON TX2 platform in JIT vs interpreter mode. Verified the implementation using existing bpf_autotest application. # echo "b