Re: [vpp-dev] VPP python binding for getting interface stats in VPP 18.07

2018-07-11 Thread Shwetha bhandari via Lists.Fd.Io
Neha, I tried this [1] and it works with output like this [2] in the latest VPP branch. You should follow the instructions in https://wiki.fd.io/view/VPP/Python_API for setting up python VPP module and running the script. I will update the wiki with this. Thanks, Shwetha 1] from vpp_papi

Re: [vpp-dev] VPP python binding for getting interface stats in VPP 18.07

2018-07-11 Thread Neha
Hi, I verified that values for ‘show api client’ and ‘os.getpid’ are same. But this issue is seen in all the want_* functions. The example provided in https://wiki.fd.io/view/VPP/Python_API does not work. Also, examples provided in ‘src/vpp-api/python/tests/test_papi.py’ is also failing.

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

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 –

[vpp-dev] DPDK and VPP Relationship

2018-07-11 Thread Gulakh
Hi, I have a question about DPDK and VPP. As far as I know, DPDK has some NIC drivers developed for some types of NICs. These drivers are Linux device drivers that are installed as kernel module e.g. uio_pci_generic and ixgbe (yes?). In Linux , kernel modules have the as privilege as the Linux