a
On Tue, Feb 27, 2018 at 5:10 PM, Sara Gittlin wrote:
> Hello All,
> 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 custo
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
gin.so
load_one_plugin:63: 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 wrote:
> Hello All,
> Resending this -m
hey won't be 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 sampl
t'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 experiments should give you lots more info.
>
> D.
>
> --
, Sara Gittlin 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/sample_plugin.so: und
w (re)build VPP.
$ make wipe
$ make build
On Mon, Mar 5, 2018 at 4:38 PM, Dave Barach wrote:
> If your plugin is called "sample," you meant ENABLE_SAMPLE not
> ENABLE_NEWPLUGIN.
>
> -Original Message-
> From: vpp-dev@lists.fd.io On Behalf Of 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 rol
OK - Solved
On Tue, Mar 6, 2018 at 3:35 PM, Sara Gittlin 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_plugin.am
>
> and the b
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
Also the throughput is very poor - iperf3 TCP ~ 2Mbps
what is wrong here ?
On Tue, Mar 6, 2018 at 6:20 PM, Sara Gittlin wrote:
> 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]
, "Hao Fu (haof)" כתב:
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 throughput is very
imeout value.
>
>
>
> D.
>
>
>
> From: 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 Router Between Namespaces - 10ms latency
>
>
>
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 wrote:
> Thank you Florin and Dave
> Florin - I can create tap in vpp and tap in namespace - but how to
> connect them like vet
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 executables
'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir=
w 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 wrote:
>>
>> Hello
&
Thank you Marco
this solved the error
Cheers !
-Sara
On Thu, Mar 8, 2018 at 5:12 PM, Sara Gittlin 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
>
> On Thu, Mar 8, 20
8 at 5:32 PM, Florin Coras wrote:
> Great! :-)
>
> Florin
>
>
> On Mar 8, 2018, at 1:42 AM, Sara Gittlin wrote:
>
> Florin
> Thank you - i'm done - i get very good numbers with tap both for
> throughput and latency
>
> -Sara
>
> On Thu, Mar 8, 201
Thank you Jon
This indeed very helpful !
Cheers
-Sara
On Mon, Mar 12, 2018 at 5:01 PM, Jon Loeliger wrote:
>
>
> On Mon, Mar 12, 2018 at 3:57 AM, Sara Gittlin
> wrote:
>>
>> Dear Florin,
>>
>> When using the command " create tap rx-ring-size 4096 tx-ri
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 wrote:
> Thank you Jon
> This indeed very helpful !
> Cheers
_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
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 grou
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 = "plgA"
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 graph) to see which node
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 li
ry 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
> wrote:
>>
>> Hello All
>> in my plugin i&
Thank you Dave
This is working
Regards
-Sara
On Wed, Mar 14, 2018 at 4:34 PM, Dave Barach (dbarach)
wrote:
> Add it to sample.am:
>
> sample_plugin_la_LIBADD = [or +=, depending] -lconfig
>
>
> -Original Message-
> From: vpp-dev@lists.fd.io On Behalf Of Sara Gitt
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): https://lists.fd.io/g/vpp-dev/topic
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 if-index
Thank you Keith
I mean the error/log macros that write to the log files
Regards
-Sara
On Wed, Mar 14, 2018 at 10:30 PM, Keith Burns wrote:
> If using default startup.conf found;
> src/vpp/conf/startup.conf
> it is /var/log/vpp/vpp.log
>
>
> On Wed, Mar 14, 2018 at 9:27 AM S
Thank you Marco
That's what I wanted
- Sara
On Thu, Mar 15, 2018 at 11:35 AM, Marco Varlese 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 looking for cl
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 inte
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 with a
> specific plugi
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) in
l2-inputL2 input packets*
On Thu, Mar 22, 2018 at 11:59 AM, Sara Gittlin
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
>
> The performance looks very ba
i dont think these are error counters - anyway very poor pps
On Thu, Mar 22, 2018 at 2:55 PM, Sara Gittlin
wrote:
> in the show err output i see that l2-output l2-learn l2-input counters
> are continuously incremented :
> show err
>CountNode
used.flags 1 used.idx 32414
kickfd 30 callfd 36 errfd -1
On Thu, Mar 22, 2018 at 3:07 PM, Sara Gittlin
wrote:
> i dont think these are error counters - anyway very poor pps
>
> On Thu, Mar 22, 2018 at 2:55 PM, Sara Gittlin
> wrote:
>
>> in the show err output i see tha
M, John DeNisco 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: * on behalf of Sara Gittlin &
t; 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: * on behalf of Sara Gittlin <
>
emory-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
wrote:
> Thank Steven and Alec
> I'm using the iperf as a basic tool to check sanity - i'll run pktgen on
> th
;
>
> You need qemu 2.8.0 or later for the rx_queue_size option to work.
>
>
>
> Steven
>
>
>
> *From: * on behalf of Sara Gittlin <
> sara.gitt...@gmail.com>
> *Date: *Sunday, March 25, 2018 at 1:57 AM
>
> *To: *"vpp-dev@lists.fd.io"
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 vpp-devel-18.
maybe i have to run vagrant script (build-root/vagrant/build.sh )again ?
after the checkout ?
- Sara
On Mon, Mar 26, 2018 at 7:15 PM, Sara Gittlin
wrote:
> Hello all,
> i git-clone the master branch - but the build failed with dpdk18.02 cksm
> then i checkout the last stable * (HEAD
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 wrote:
> Hi Sara,
>
> On Mon, 2018-03-26 at 19:15 +0300, Sara Gittlin wrote:
>
> Hello all,
> i gi
Hello All
I have my plugins build and running OK
when i moved to fedora I've copied my plugins sources and the plugin.am to
the new cloned vpp 18.01
but i get these build error for the auto generated api file
make[4]: *** [Makefile:3309: policer_plugin/policer_plugin.api.h] Error 1
make[4]: *** W
]: *** [Makefile:686: vpp-build] Error 2
make[1]: Leaving directory '/home/sarag/vpp/build-root'
make: *** [Makefile:339: build-release] Error 2
-Sara
On Tue, Mar 27, 2018 at 2:29 PM, Ole Troan wrote:
> Hi Sara,
>
> Got the rest of the error message?
>
> Cheers
> Ole
Yes Ole
On Tue, Mar 27, 2018 at 4:25 PM, Ole Troan 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 wrote:
> >
> > Ole - here
>
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
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 *Sara
> Gittlin
> *Sent:*
n “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
> *Cc:* vpp-dev@lists.fd.io
> *Subject:* Re: [vpp-dev]
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
wh
--
> Damjan
>
> On 15 Apr 2018, at 15:58, Sara Gittlin wrote:
>
> 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 t
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 plugins/Makef
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
wrote:
> Hello,
>
> I've encountered this build error few times and managed to get rid of it
> somehow.
> the error
uke, Chris 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, 2018 11:08 AM
> *To:* vpp
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
> *Cc:* vpp-dev@lists.fd.io
>
&
e, Apr 17, 2018 at 11:48 PM, Damjan Marion
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 09:44, 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:
gh that DPDK version
> should work fine; there was a period 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:*
ke: *** [Makefile:339: build-release] Error 2
> > Thank you
> > -Sara
> >
> > On Mon, Apr 16, 2018 at 7:15 PM, Luke, Chris
> wrote:
> > I’d recommend working from master, personally. :) Though that DPDK
> version should work fine; there was a period not l
t; And also include the .api you are having problems with.
> >
> > I presume you are on latest master?
> >
> > Cheers,
> > Ole
> >
> > > On 25 Apr 2018, at 14:41, Sara Gittlin wrote:
> > >
> &g
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
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 interfac
f 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
> wrote:
>
>> Hello All,
>> I
ion
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 wrote:
>
> Ed,
> there are so
66 matches
Mail list logo