Re: [vpp-dev] ACL panics in `hash_acl_set_heap`

2020-09-16 Thread Mahdi Varasteh
Hi Andrew, Thanks for you response. That makes sense. I will monitor my box memory usage. Unfortunately I'm using VPP 20.05. So I will try to forwardport( we have it? :D) this patch to it. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17433):

Re: [vpp-dev] run existing plugin in VPP

2020-09-16 Thread hemant via lists.fd.io
I did a “ps -ef | grep -I vpp” and found a few vpp processes (?) running. I killed them and then the single cdp test ran fine on using “sudo make test TEST=test_cdp” from vpp root directory. == CDP Test Case

Re: [vpp-dev] run existing plugin in VPP

2020-09-16 Thread hemant via lists.fd.io
Andrew, Thanks. I will have to play more with VPP because “sudo make test TEST=test_cdp” fails. If anyone else is able to run this test, then I know I have some issues with my VPP setup or dependencies. I found the CSIT reports – thanks! Regarding my p4 to vpp compiler, it’s work

Re: [vpp-dev] run existing plugin in VPP

2020-09-16 Thread Andrew Yourtchenko
Hemant, > On 17 Sep 2020, at 00:43, hem...@mnkcg.com wrote: > >  > Andrew, > > Thanks! Yes, I am a developer trying to get started with VPP. > Cool! So my “find the answer” quiz was on target :-) > I run VPP using “make run-release” and get to the “vpp#” prompt. I could do > a “cdp

Re: [vpp-dev] run existing plugin in VPP

2020-09-16 Thread hemant via lists.fd.io
Andrew, Thanks! Yes, I am a developer trying to get started with VPP. I run VPP using “make run-release” and get to the “vpp#” prompt. I could do a “cdp enable” and thus I know this plugin has been loaded. Now how to I run the packet testing in vpp/src/plugins/cdp/test/? There

Re: [vpp-dev] ping not able to receive replies on vpp interface

2020-09-16 Thread Pac Ette
Hi Filip, sorry, amendment to my last email: Your suggestion worked. But ping from linux stack (tap interface) is not working because there is no NAT in/out anymore. I am using VPP with NAT. Is it not possible for ping to work with NAT? I noticed something. If I add back: set interface nat44

Re: [vpp-dev] run existing plugin in VPP

2020-09-16 Thread Andrew Yourtchenko
Hey Hemant, Welcome! :-) Most of the plugins load automatically (default), some don’t by default.. (see src/plugins/unittest/unittest.c on how it’s overridden). You can take a look at the config required to change the defaults in test/framework.py, line 422) Looking at those places, as well

Re: [vpp-dev] ping not able to receive replies on vpp interface

2020-09-16 Thread Pac Ette
Hi Filip, Your suggestion worked. But I am using VPP with NAT. Is it not possible for ping to work with NAT? I noticed something. When NAT is set, in addition to vpp to server not working, I am also unable to ping from linux server to vpp box. If I add back: set interface nat44 in loop0 in

Re: [vpp-dev] ping not able to receive replies on vpp interface

2020-09-16 Thread Filip Varga via lists.fd.io
Hi Pac, Try removing from your configuration following two lines: set interface nat44 in loop0 in loop1 set interface nat44 out wan1 Now try to ping from linux & vpp. From linux ping vpp wan interface 10.200.1.7 and from vpp linux host 10.200.1.1 (don’t forget to specify the source interface,

[vpp-dev] run existing plugin in VPP

2020-09-16 Thread hemant via lists.fd.io
Folks, I am new to VPP. I see several plugins in vpp/src/plugins. How do I run an existing plugin in VPP such as cdp? Regards, Hemant smime.p7s Description: S/MIME cryptographic signature -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

Re: [vpp-dev] ACL panics in `hash_acl_set_heap`

2020-09-16 Thread Andrew Yourtchenko
ACL plugin historically uses its own heaps for hash lookup data. It should be just 64M by default. It’s been like that since day1, so you might need to look at your memory usage on that box overall... I am not sure if custom heaps use the huge pages or not - maybe you need to have less huge

Re: [vpp-dev] vpp checkstyle failures

2020-09-16 Thread Sergey Matov
I've just wanted to avoid the trick of fetching the counter's value and calling "set" with (value - 1). Extra decrementing method would not be harmful and can be used only when it's desired. On Tue, 15 Sep 2020 at 16:02, wrote: > Hi Sergey, > > > In a nutshell - yes, gauges are something I am

[vpp-dev] ACL panics in `hash_acl_set_heap`

2020-09-16 Thread Mahdi Varasteh
Hi VPP folks, Setting ACL from VAPI, we have a panic `ACL plugin failed to allocate lookup heap of %U bytes` in `hash_acl_set_heap` function. It doesn't happen always. Time to time and randomly this problem occurs. My system has 8G of RAM. VPP is running with the default `startup.conf`. I've