On Mon, 8 Apr 2019 17:25:55 +0300 Avi Cohen <[email protected]> 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.
