Hi Damjan, I was hoping to use the dpdk-pdump utility (built as part of DPDK) to generate the pcap files for traffic passing through the various ports. I have used that successfully with pure vanilla DPDK primary processes (non VPP usecases). It runs as a secondary process.
Well, my requirement is to generate pcap's for ports on both tx and rx -- if you have an alternate VPP-core solution, that would be great. Regards -Prashant On Wed, Jul 25, 2018 at 11:32 PM, Damjan Marion <[email protected]> wrote: > > Dear Prashant, > > We had lot of operational issues with dpdk leftover files in the past, so > we took special care to made them disappear ASAP. > > Even if they are present you will not be able to use secondary process, > we simply don't support that use case. Secondary process will not be > able to access buffer memory as buffer memory is allocated by VPP and not by > DPDK. > > Please note that VPP is not application built on top of DPDK, for us DPDK is > just > source of device drivers wit a bit of weight around them. Typical VPP > feature > code can work even without DPDK being present. > > If you explain your use case we might be able to advise you how to approach > your problem > in a way native to VPP, without relying on DPDK legacy features. > > Regards, > > -- > Damjan > > On 25 Jul 2018, at 13:11, Prashant Upadhyaya <[email protected]> wrote: > > Hi, > > I am running VPP with DPDK plugin. > I see that when I normally run other non VPP DPDK applications, they > create a file called /var/run/.rte_config > But VPP running as a DPDK application (and calling rte_eal_init) does > not create this file. > > There are consequences of the above in certain usecases where > secondary processes try to look at this file. > > Can somebody advise why this file is not created when VPP is run with > DPDK plugin. Or what needs to be done so that it does get created, or > perhaps it is getting created somewhere that I am not aware of. I am > running VPP as root. > > Regards > -Prashant > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#9929): https://lists.fd.io/g/vpp-dev/message/9929 > Mute This Topic: https://lists.fd.io/mt/23811660/675642 > Group Owner: [email protected] > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] > -=-=-=-=-=-=-=-=-=-=-=- > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9937): https://lists.fd.io/g/vpp-dev/message/9937 Mute This Topic: https://lists.fd.io/mt/23811660/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
