Re: [vpp-dev] DPDK and VPP Relationship

2018-07-11 Thread Jim Thompson
> On Jul 11, 2018, at 6:38 AM, Dave Barach via Lists.Fd.Io > wrote: > > In short, the kernel is simply not involved in packet processing. > ... unless you’re running netmap, and even then, you don’t take the described ctx switch hit or “copy” hit. The kernel does run the driver(s) in netma

Re: [vpp-dev] DPDK and VPP Relationship

2018-07-11 Thread Dave Barach via Lists.Fd.Io
What you wrote is not correct. DPDK drivers run in user-mode, as part of the vpp executable. To a first approximation: device drivers use the uio_pci_generic kernel module to map device registers into user-space. Once that happens, user-mode device drivers – either dpdk or vpp native – manipula