Re: [vpp-dev] system func in vpp

2017-03-01 Thread yug...@telincn.com
Is func rte_malloc safe to be called between rte_spinlock_lock adn rte_spinlock_unlock or can it be only called at main thread? Ewan yug...@telincn.com From: Luke, Chris Date: 2017-03-01 20:14 To: yug...@telincn.com; Dave Barach (dbarach); Ed Warnicke CC: vpp-dev Subject: RE: RE: [vpp-d

Re: [vpp-dev] vpp w/ dpdk-as-plugin

2017-03-01 Thread Luke, Chris
Ooh, nice From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Dave Barach (dbarach) Sent: Wednesday, March 1, 2017 18:09 To: Damjan Marion (damarion) Cc: vpp-dev@lists.fd.io Subject: [vpp-dev] vpp w/ dpdk-as-plugin "If you're reading this message, vpp w/ dpdk-as

[vpp-dev] vpp w/ dpdk-as-plugin

2017-03-01 Thread Dave Barach (dbarach)
"If you're reading this message, vpp w/ dpdk-as-a-plugin is now running my home gateway." No issues noted... Nice job, Damjan! dbarach@vppgate:~$ telnet 0 5002 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. _____ _ ___ __/ __/ _ \ (_)__| | / / _ \/ _

Re: [vpp-dev] system func in vpp

2017-03-01 Thread otroan
Ewan, > I would like send five tuples 、 mac 、traffic etc. info out, which can be > display out some where. > I will try shared memory api. I also have an IPFIX node doing that. Exporting L2, L3 and L4 aggregated flow information. It would also be possible to add other export formats to that. P

Re: [vpp-dev] system func in vpp

2017-03-01 Thread yug...@telincn.com
I would like send five tuples 、 mac 、traffic etc. info out, which can be display out some where. I will try shared memory api. Regards, Ewan yug...@telincn.com From: Luke, Chris Date: 2017-03-01 20:14 To: yug...@telincn.com; Dave Barach (dbarach); Ed Warnicke CC: vpp-dev Subject: RE: RE: [vpp

Re: [vpp-dev] system func in vpp

2017-03-01 Thread Luke, Chris
A Unix domain socket would work, if you use it only from the main thread. Instead though, VPP already has a performant binary API that uses shared memory. Could you not use this? What sort of messages are you trying to send? Chris. From: yug...@telincn.com [mailto:yug...@telincn.com] Sent: Wedn

Re: [vpp-dev] system func in vpp

2017-03-01 Thread yug...@telincn.com
Thanks. So it's not security to use unix socket too? If i want to send some data from vpp to linux or to another process, any options? Regards, Ewan yug...@telincn.com From: Dave Barach (dbarach) Date: 2017-02-28 21:12 To: Luke, Chris; yug...@telincn.com; Ed Warnicke CC: vpp-dev Subject: RE