[dpdk-users] eBPF in DPDK

Avi Cohen acohen at ves.io
Mon Apr 8 20:16:53 CEST 2019


Stephen
I did not understand. Is this eBPF dpdk feature can run in the kernel or
userspace ?
Regards avi

בתאריך יום ב׳, 8 באפר׳ 2019, 18:09, מאת Stephen Hemminger ‏<
stephen at networkplumber.org>:

> On Mon, 8 Apr 2019 17:25:55 +0300
> Avi Cohen <acohen at ves.io> wrote:
>
> > Hi All,
> > can someone refer to the flow of a packet that is processed  in eBPF
> > program in the kernel . and then forwarded to DPDK-app in user space.
> > this was integrated into DPDK 18.05   but not documented. (
> > https://doc.dpdk.org/guides-18.05/prog_guide/bpf_lib.html)
> > what is the PMD type for this flow ? new socket ? what is the penalty ?
> > i thought to do some traffic filtering  there.
> > pros/cons ?
> > Best Regards
> > Avi
>
>
> Unlike Linux which has a predetermined set of steps in processing packets.
> DPDK is a raw toolkit where the processing is composed totally by the
> network application.
>
> Therefore DPDK has a raw eBPF library, it is up to the application to
> install it where
> it wants in the packet processing. One example is done via rx and tx
> callbacks
> as shown in the rte_bpf_ethdev.h.
>


More information about the users mailing list