07/10/2019 21:29, Jerin Jacob: > On Mon, 7 Oct, 2019, 11:35 PM Thomas Monjalon, <tho...@monjalon.net> 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 cases > > # packet filtering > # debugging > # function call tracing > # There are some Lua JIT based dataplane implementations. Which can be > replaced with eBPF with JIT. > > - how much we'll benefit from sharing code with Linux? > > I have mentioned some of the performance constraint in the other thread. > Moreover I don't believe it is not easy task for Linux eBPF to run as > userspace and I not sure who is going to do that
I was asking the benefits here: - sharing optimizations in both projects - get verifier support What else? > - what can we lose in a single JIT implementation? > > Sorry, I didn't understood this question? I mean what are the drawbacks of using a Linux implementation? How performance constraints are differents, etc? Note: as a lot of people, I don't really know BPF, so these are real questions to help understanding the challenge.