Re: [vpp-dev] containers interconnect via memif

2018-05-27 Thread Sara Gittlin
.li...@gmail.com> wrote: > > Sara, > > libmemif currently can act only as memif slave, but there is no reason for > not being master, somebody just needs to extend the lib. > > Thanks, > > -- > Damjan > > On 27 May 2018, at 09:02, Sara Gittlin <sara.gitt...@g

Re: [vpp-dev] containers interconnect via memif

2018-05-27 Thread Sara Gittlin
to connect via memif in your containers? Is it a CNF > (Cloud-native Network Function... ie something meant to process packets) or > a traditional app (think webserver, databace, etc)? > > Ed > > On Thu, May 24, 2018 at 3:37 AM Sara Gittlin <sara.gitt...@gmail.com> > wro

[vpp-dev] containers interconnect via memif

2018-05-24 Thread Sara Gittlin
Hello All, I've followed the example as per https://docs.fd.io/vpp/17.10/libmemif_doc.html . everything works fine. My question is how to connect 2 containers where the container image is a common image [not necessarily libmemif-sample-service] ? what to install ? how to create the memif

[vpp-dev] my plugin are missing from build-root/rpmbuild/vpp-18.07/src/plugins

2018-04-29 Thread Sara Gittlin
Hello all i see that after build and 'make pkg-rpm' my plugins are missing from the /home/sarag/vpp/build-root/rpmbuild/vpp-18.07/src/plugins this may explain some strange things that i see.. any idea why ? Thank you -Sara

Re: [vpp-dev] Build error with my_plugin.api.h file.

2018-04-25 Thread Sara Gittlin
> Cheers, > Ole > > > On 25 Apr 2018, at 14:41, Sara Gittlin <sara.gitt...@gmail.com> wrote: > > > > Chris and Neale, > > Can we go back to the original problem pasted below - > > the 53 is *not* a line in my_policer/forwarder.api > >

Re: [vpp-dev] Build error with my_plugin.api.h file.

2018-04-25 Thread Sara Gittlin
not long ago in which DPDK broke their > packages and invalidated the checksums we had, but I thought that was > evident only on master and only briefly, not 18.01*. > > > > Chris. > > > > > > *From:* Sara Gittlin [mailto:sara.gitt...@gmail.com] > *Sent:* Mo

[vpp-dev] vnet_feature_init:70: Unknown feature arc 'my_policer'

2018-04-24 Thread Sara Gittlin
Hello all, i get this run time error message i have 3 plugins my_policer, my_forwarder4 and my_forwarder6 the policer set the next node to be forwarder4 or 6 i **did not** get this error message when i only have **2 plugins** policer and forwarder the policer VNET_FEATURE_INIT macro is set to:

Re: [vpp-dev] integrating ARP and l2-rewrite nodes

2018-04-22 Thread Sara Gittlin
2018 at 11:48 PM, Damjan Marion <dmarion.li...@gmail.com> wrote: > > If it is ip6 traffic why you don't use ip6-unicast feature arc? > ip6-input node can take care for ip6 hdr checks and pass packets to your > feature node.. > > -- > Damjan > > On 16 Apr 2018, at

Re: [vpp-dev] Build error with my_plugin.api.h file.

2018-04-16 Thread Sara Gittlin
e to force it. “make wipe” or to be doubly sure “git > clean -fxd” (making sure you have your local files added to git etc) > > > > Chris > > > > *From:* Sara Gittlin [mailto:sara.gitt...@gmail.com] > *Sent:* Monday, April 16, 2018 11:29 AM > *To:* Luke, Chris

Re: [vpp-dev] Build error with my_plugin.api.h file.

2018-04-16 Thread Sara Gittlin
uke, Chris <chris_l...@comcast.com> wrote: > Do you list the .api files in the variable API_FILES in your plugin .am > file? > > > > Chris > > > > *From:* vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] *On Behalf Of *Sara > Gittlin > *Sent:* Monday, April 16,

Re: [vpp-dev] Build error with my_plugin.api.h file.

2018-04-16 Thread Sara Gittlin
I see that this file (and the my_plugin.api.json) are not auto generated in the build Why ? -Sara On Mon, Apr 16, 2018 at 5:27 PM, Sara Gittlin <sara.gitt...@gmail.com> wrote: > Hello, > > I've encountered this build error few times and managed to get rid of it > so

[vpp-dev] Build error with my_plugin.api.h file.

2018-04-16 Thread Sara Gittlin
Hello, I've encountered this build error few times and managed to get rid of it somehow. the error is always with the my_plugin.api.h file. Can you tell me what is the problem here ? - /bin/sh ./config.status config.status: creating Makefile config.status: creating

Re: [vpp-dev] integrating ARP and l2-rewrite nodes

2018-04-16 Thread Sara Gittlin
> solution... > > -- > Damjan > > On 15 Apr 2018, at 15:58, Sara Gittlin <sara.gitt...@gmail.com> wrote: > > Hi > my VPP contains a customized forwarder plugin > > the graph is looking like : > > device-input--> my-forwarder-plugin --> ethernet-

[vpp-dev] integrating ARP and l2-rewrite nodes

2018-04-15 Thread Sara Gittlin
Hi my VPP contains a customized forwarder plugin the graph is looking like : device-input--> my-forwarder-plugin --> ethernet-output (or error drop) this is good as long as the traversed traffic is within the same subnet but if not - i need to integrate/reuse VPP ARP/NDP nodes and the node

Re: [vpp-dev] running VPP failed - clib_socket_init:

2018-03-28 Thread Sara Gittlin
a few minutes. > > 3. run “vppctl” > > > > it can work well. > > > > Thanks > > Zhiyong > > > > *From:* Sara Gittlin [mailto:sara.gitt...@gmail.com] > *Sent:* Wednesday, March 28, 2018 2:42 PM > *To:* Yang, Zhiyong <zhiyong.y...@intel.

Re: [vpp-dev] running VPP failed - clib_socket_init:

2018-03-28 Thread Sara Gittlin
llowing configuration in the file > /etc/vpp/startup.conf, Maybe it can fix your issue. > > unix { > > cli-listen /run/vpp/cli.sock > > } > > > > Thanks > > Zhiyong > > > > *From:* vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] *On Behalf Of *S

[vpp-dev] running VPP failed - clib_socket_init:

2018-03-27 Thread Sara Gittlin
Hello all when i run the vpp as a service - service vpp start it fails with error: "clib_socket_init: connect (fd 3, '/run/vpp/cli.sock'): No such file or directory" if i run it interactive - it is OK any idea ? Thank you -Sara

Re: [vpp-dev] generated api file build error

2018-03-27 Thread Sara Gittlin
Yes Ole On Tue, Mar 27, 2018 at 4:25 PM, Ole Troan <otr...@employees.org> wrote: > Sara, > > Then you've got an error in policer_plugin.api. > That's your file right? > > Cheers, > Ole > > > On 27 Mar 2018, at 13:35, Sara Gittlin <sara.gitt...@gmail.com>

Re: [vpp-dev] VPP rpm install conflicts fail

2018-03-27 Thread Sara Gittlin
Thank you Marco this didnt help. i just dnf remove vpp-dpdk-devel-17.11-vpp1.x86_64 and the problem disappeared Regards - Sara On Tue, Mar 27, 2018 at 1:26 PM, Marco Varlese <mvarl...@suse.de> wrote: > Hi Sara, > > On Mon, 2018-03-26 at 19:15 +0300, Sara Gittlin wrote: > &g

[vpp-dev] VPP rpm install conflicts fail

2018-03-26 Thread Sara Gittlin
Hello all, i git-clone the master branch - but the build failed with dpdk18.02 cksm then i checkout the last stable * (HEAD detached at v18.01) i build the RPM (i'm running fedora-27) but the rpm intstall failed - sudo rpm -i build-root/*.rpm *file /usr/include/dpdk from install of

Re: [vpp-dev] Very poor performance vm to vm via VPP vhostuser

2018-03-26 Thread Sara Gittlin
wrote: > Sara, > > > > You need qemu 2.8.0 or later for the rx_queue_size option to work. > > > > Steven > > > > *From: *<vpp-dev@lists.fd.io> on behalf of Sara Gittlin < > sara.gitt...@gmail.com> > *Date: *Sunday, March 25, 2018 at 1:57 AM > &g

Re: [vpp-dev] Very poor performance vm to vm via VPP vhostuser

2018-03-25 Thread Sara Gittlin
-backend-file,id=mem,size=2048M,mem-path=/dev/hugepages,share=on -numa node,memdev=mem -mem-prealloc Thank you -Sara On Sun, Mar 25, 2018 at 11:56 AM, Sara Gittlin <sara.gitt...@gmail.com> wrote: > Thank Steven and Alec > I'm using the iperf as a basic tool to check sanity - i'l

Re: [vpp-dev] Very poor performance vm to vm via VPP vhostuser

2018-03-25 Thread Sara Gittlin
nter > vhost-user dropping packets as you are using the default virtqueue size > 256. You’ll need to specify rx_queue_size=1024 when you launch the VM in > the qemu start command to reduce the drops. > > > > Steven > > > > *From: *<vpp-dev@lists.fd.io> on behalf

Re: [vpp-dev] Very poor performance vm to vm via VPP vhostuser

2018-03-22 Thread Sara Gittlin
<jdeni...@cisco.com> wrote: > > > Hi Sara, > > > > Can you also send the results from show hardware and show interfaces? > > > > What are you using to test your performance. > > > > John > > > > > > *From: *<vpp-dev@li

Re: [vpp-dev] Very poor performance vm to vm via VPP vhostuser

2018-03-22 Thread Sara Gittlin
used.flags 1 used.idx 32414 kickfd 30 callfd 36 errfd -1 On Thu, Mar 22, 2018 at 3:07 PM, Sara Gittlin <sara.gitt...@gmail.com> wrote: > i dont think these are error counters - anyway very poor pps > > On Thu, Mar 22, 2018 at 2:55 PM, Sara Gittlin <sara.gitt...@gmail.com>

Re: [vpp-dev] Very poor performance vm to vm via VPP vhostuser

2018-03-22 Thread Sara Gittlin
i dont think these are error counters - anyway very poor pps On Thu, Mar 22, 2018 at 2:55 PM, Sara Gittlin <sara.gitt...@gmail.com> wrote: > in the show err output i see that l2-output l2-learn l2-input counters > are continuously incremented : > show err >Count

Re: [vpp-dev] Very poor performance vm to vm via VPP vhostuser

2018-03-22 Thread Sara Gittlin
l2-inputL2 input packets* On Thu, Mar 22, 2018 at 11:59 AM, Sara Gittlin <sara.gitt...@gmail.com> wrote: > Hello > i setup 2 vm connected to VPP as per the guide : > https://wiki.fd.io/view/VPP/Use_VPP_to_connect_VMs_Using_ > Vhost-User_Interface > > Th

[vpp-dev] Very poor performance vm to vm via VPP vhostuser

2018-03-22 Thread Sara Gittlin
Hello i setup 2 vm connected to VPP as per the guide : https://wiki.fd.io/view/VPP/Use_VPP_to_connect_VMs_Using_Vhost-User_Interface The performance looks very bad very low pps and large latencies udp pkt size 100B - throughput 500Mb average latency is 900us i have 2 PMDs threads (200% cpu)

Re: [vpp-dev] how to add a library to plugin?

2018-03-15 Thread Sara Gittlin
I had the same issue yesterday see Dave answer. But my lib was .so not static. Just add to your plugin.am xxx_plugin_am_LIBADD =-lyourlib בתאריך יום ה׳, 15 במרץ 2018, 17:32, מאת lin huang ‏: > Hi there, > > I want to know how to add a new static library to compile

[vpp-dev] Interface name to sw-if-index

2018-03-15 Thread Sara Gittlin
I send this again - hope someone can help Hello I need to get sw-if-index from if-name (the if-index that is shown in the :"show interface" in the Idx column) John already answered how to do that - but i fill lost with the cli buffers John's answer: "The functions in the area you are

Re: [vpp-dev] LOG and ERROR handlers

2018-03-15 Thread Sara Gittlin
Thank you Marco That's what I wanted - Sara On Thu, Mar 15, 2018 at 11:35 AM, Marco Varlese <mvarl...@suse.de> wrote: > On Thu, 2018-03-15 at 10:33 +0200, Sara Gittlin wrote: >> Thank you Keith >> I mean the error/log macros that write to the log files > Maybe you're

Re: [vpp-dev] LOG and ERROR handlers

2018-03-15 Thread Sara Gittlin
Mar 14, 2018 at 9:27 AM Sara Gittlin <sara.gitt...@gmail.com> wrote: >> >> Hello All, >> >> what are the VPP standard log and error handlers ? >> >> Thank you >> -Sara >> >> >> > -=-=-=-=-=-=-=-=-=-=-=- Links: You recei

[vpp-dev] Interface name to sw-if-index

2018-03-15 Thread Sara Gittlin
Hello i have a config file being read during init , one of its fileds is if-name. I need to have sw-if-index given the if-name. John already answered how to do that - but i fill lost with the cli buffers i only need a function get-if-index-by-if-name that receives if-name and returns

[vpp-dev] LOG and ERROR handlers

2018-03-14 Thread Sara Gittlin
Hello All, what are the VPP standard log and error handlers ? Thank you -Sara -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8544): https://lists.fd.io/g/vpp-dev/message/8544 View All Messages In Topic (1):

Re: [vpp-dev] Adding new lib to makefile

2018-03-14 Thread Sara Gittlin
FLAGS to add the library you > will use; you should use ..._LDADD just to conform to (my reading of) the > automake manual https://www.gnu.org/software/automake/manual/automake.pdf. > > Burt > > On Wed, Mar 14, 2018 at 8:10 AM, Sara Gittlin <sara.gitt...@gmail.com> > wro

[vpp-dev] Adding new lib to makefile

2018-03-14 Thread Sara Gittlin
Hello All in my plugin i'm using libconfig to read/parse configuration file. VPP fails when calling to my-plugin-int because this lib is not linked. [/usr/bin/vpp: symbol lookup error: /usr/lib/vpp_plugins/sample_plugin.so: undefined symbol: config_init] which Makefile should i add this new

Re: [vpp-dev] Decision point for next node ipv4 or ipv6

2018-03-13 Thread Sara Gittlin
Thank you Ole On Tue, Mar 13, 2018 at 11:39 AM, Ole Troan wrote: > Hi Sara, > >> Can someone refer to a code where a decision is made for the next >> node - ipv4 or ipv6 ? > > Take a look at ethernet_register_input_type() > You can also look at the graph (e.g. show vlib

[vpp-dev] order of running 2 plugins

2018-03-13 Thread Sara Gittlin
Hi, i've implemented 2 plugins plgA and plgB 1. plgA is running immediately after 'device-input' node 2. plgB should run after plgA 3. interface-output should run after plgB i set this these for plgA and plgB VNET_FEATURE_INIT (plgA, static) = { .arc_name = "device-input", .node_name =

[vpp-dev] Decision point for next node ipv4 or ipv6

2018-03-13 Thread Sara Gittlin
HI, Can someone refer to a code where a decision is made for the next node - ipv4 or ipv6 ? I understand that in order to keep the instruction cache - ip nodes must be separated to ipv4 and ipv6 , correct ? Thank you -Sara -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-13 Thread Sara Gittlin
get sw_if_index or hw_if_index > from user specified interface name.-John > > -Original Message- > From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Sara > Gittlin > Sent: Monday, March 12, 2018 11:22 AM > To: vpp-dev@lists.fd.io > Subject

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-12 Thread Sara Gittlin
btw - is there (like in linux) a vpp function helper "interface-name-to-if-index" - which its input is interface-name and output is vpp-if-index ? Thank you -Sara On Mon, Mar 12, 2018 at 5:16 PM, Sara Gittlin <sara.gitt...@gmail.com> wrote: > Thank you Jon > Th

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-12 Thread Sara Gittlin
Thank you Jon This indeed very helpful ! Cheers -Sara On Mon, Mar 12, 2018 at 5:01 PM, Jon Loeliger <j...@netgate.com> wrote: > > > On Mon, Mar 12, 2018 at 3:57 AM, Sara Gittlin <sara.gitt...@gmail.com> > wrote: >> >> Dear Florin, >> >> When usi

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-12 Thread Sara Gittlin
PM, Florin Coras <fcoras.li...@gmail.com> wrote: > Great! :-) > > Florin > > > On Mar 8, 2018, at 1:42 AM, Sara Gittlin <sara.gitt...@gmail.com> wrote: > > Florin > Thank you - i'm done - i get very good numbers with tap both for > throughput and latency

Re: [vpp-dev] VPP build error

2018-03-08 Thread Sara Gittlin
Thank you Marco this solved the error Cheers ! -Sara On Thu, Mar 8, 2018 at 5:12 PM, Sara Gittlin <sara.gitt...@gmail.com> wrote: > Dear Sirshak, > This is not the 1st time build (build pass ok few days ago) > anyway i've reinstall nasm - but didnt help > Thanks > -Sara &g

Re: [vpp-dev] VPP build error

2018-03-08 Thread Sara Gittlin
t > past it. I know this is a obvious question but did u try installing nasm > package via package manager ? > > ++ > Sirshak Das >> On Mar 8, 2018, at 8:51 AM, Sara Gittlin <sara.gitt...@gmail.com> wrote: >> >>

Re: [vpp-dev] VPP build error

2018-03-08 Thread Sara Gittlin
ine PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" configure: exit 77 On Thu, Mar 8, 2018 at 4:51 PM, Sara Gittlin <sara.gitt...@gmail.com> wrote: > Hello > Ha

[vpp-dev] VPP build error

2018-03-08 Thread Sara Gittlin
Hello Has anyone encountered this build error ? -- checking whether the C compiler works... no configure: error: in `/home/sarag/vpp/build-root/build-vpp-native/dpdk/nasm-2.13.01': configure: error: C compiler cannot create

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-08 Thread Sara Gittlin
Florin Thank you - i'm done - i get very good numbers with tap both for throughput and latency -Sara On Thu, Mar 8, 2018 at 10:55 AM, Sara Gittlin <sara.gitt...@gmail.com> wrote: > Thank you Florin and Dave > Florin - I can create tap in vpp and tap in namespace - but how to > co

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-08 Thread Sara Gittlin
the epoll_pwait timeout value. > > > > D. > > > > From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Sara Gittlin > Sent: Wednesday, March 7, 2018 2:02 PM > To: vpp-dev@lists.fd.io > Cc: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] VPP As A Ro

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-07 Thread Sara Gittlin
,‏ "Hao Fu (haof)" <h...@cisco.com> כתב: I encountered the similar issue before. Try replacing iperf3 with iperf2. Hao On 3/6/18, 8:34 AM, "vpp-dev@lists.fd.io on behalf of Sara Gittlin" < vpp-dev@lists.fd.io on behalf of sara.gitt...@gmail.com> wrote: Also the

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-06 Thread Sara Gittlin
Also the throughput is very poor - iperf3 TCP ~ 2Mbps what is wrong here ? On Tue, Mar 6, 2018 at 6:20 PM, Sara Gittlin <sara.gitt...@gmail.com> wrote: > Hi, > i have 2 namespaces connected with veth-pairs to vpp - see setup here > [https://wiki

[vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-06 Thread Sara Gittlin
Hi, i have 2 namespaces connected with veth-pairs to vpp - see setup here [https://wiki.fd.io/view/VPP/Configure_VPP_As_A_Router_Between_Namespaces] i see very big latency ~10ms when i ping between the 2 namespaces i expected to see latency in the order of 10's us

Re: [vpp-dev] No rule to make target 'my_plugin/my_plugin.api.json',

2018-03-06 Thread Sara Gittlin
OK - Solved On Tue, Mar 6, 2018 at 3:35 PM, Sara Gittlin <sara.gitt...@gmail.com> wrote: > Hi, > i created a plugin - just copy/rename an existing folder to the src/plugin > do the required changes in : > src/configure.ac > src/plugins/Makefile.am > src/plugins/my_plu

[vpp-dev] No rule to make target 'my_plugin/my_plugin.api.json',

2018-03-06 Thread Sara Gittlin
Hi, i created a plugin - just copy/rename an existing folder to the src/plugin do the required changes in : src/configure.ac src/plugins/Makefile.am src/plugins/my_plugin.am and the build was ok !!! and my-plugin was loaded and running !!! then i did a minor change in my-plugin (and then

Re: [vpp-dev] How to activate the sample plugins

2018-03-05 Thread Sara Gittlin
ns and/or aborts >> >> If that's OK, copy /etc/vpp/startup.conf to e.g. /etc/vpp/startup.conf.tmp. >> Change "nodaemon" to "interactive" in the copy, and try this: >> >> # /usr/bin/vpp -c /etc/vpp/startup.conf.tmp >> >> These two

Re: [vpp-dev] How to activate the sample plugins

2018-03-05 Thread Sara Gittlin
, Sara Gittlin <sara.gitt...@gmail.com> wrote: > Thank you Dave > we are progressing > the root failure is the new sample plugin- the variable 'sample_main' > (type sample_main_t ) is not defined anywhere > --- > load_one_plugin:142: /usr/lib/vpp_plugins/sam

Re: [vpp-dev] How to activate the sample plugins

2018-03-05 Thread Sara Gittlin
---Original Message- > From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Sara Gittlin > Sent: Sunday, March 4, 2018 11:32 AM > To: vpp-dev@lists.fd.io > Cc: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] How to activate the sample plugins > > Thank you Da

Re: [vpp-dev] How to activate the sample plugins

2018-03-04 Thread Sara Gittlin
loaded. > > HTH... D. > > -Original Message- > From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Sara > Gittlin > Sent: Wednesday, February 28, 2018 3:46 AM > To: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] How to activate the sample plugins > > I

Re: [vpp-dev] How to activate the sample plugins

2018-02-28 Thread Sara Gittlin
: Loaded plugin: /usr/lib/vpp_api_test_plugins/flowprobe_test_plugin.so load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/udp_ping_test_plugin.so Thanks in advance - Sara On Wed, Feb 28, 2018 at 7:57 AM, Sara Gittlin <sara.gitt...@gmail.com> wrote: > Hello All, > Resending t

[vpp-dev] How to activate the sample plugins

2018-02-27 Thread Sara Gittlin
Hello All, Resending this -my last mail was broken by other issues I'm a vpp newbei. I want to activate some existing plugins - i see that many of them are loaded (e.g, acl, flowprob ) but I cannot activate them. another question is - I understand that i can customize the code of these plugins