Re: [dpdk-dev] [PATCH v1 1/5] bpf: add BPF loading and execution framework

2018-03-13 Thread Ananyev, Konstantin
> > diff --git a/lib/librte_bpf/bpf.c b/lib/librte_bpf/bpf.c > > new file mode 100644 > > index 0..4727d2251 > > --- /dev/null > > +++ b/lib/librte_bpf/bpf.c > > @@ -0,0 +1,48 @@ > > +/* SPDX-License-Identifier: BSD-3-Clause > > + * Copyright(c) 2018 Intel Corporation > > + */ > > + > > +

Re: [dpdk-dev] [PATCH v1 1/5] bpf: add BPF loading and execution framework

2018-03-13 Thread Jerin Jacob
-Original Message- > Date: Fri, 9 Mar 2018 16:42:01 + > From: Konstantin Ananyev > To: dev@dpdk.org > CC: Konstantin Ananyev > Subject: [dpdk-dev] [PATCH v1 1/5] bpf: add BPF loading and execution > framework > X-Mailer: git-send-email 1.7.0.7 > > librte_

[dpdk-dev] [PATCH v1 1/5] bpf: add BPF loading and execution framework

2018-03-09 Thread Konstantin Ananyev
librte_bpf provides a framework to load and execute eBPF bytecode inside user-space dpdk based applications. It supports basic set of features from eBPF spec (https://www.kernel.org/doc/Documentation/networking/filter.txt). Not currently supported features: - JIT - cBPF - tail-pointer call - e