[vpp-dev] 18.01 Release Notes

2018-01-23 Thread Dave Wallace
Folks, The 18.01 Release Notes are available for review in the patch: https://gerrit.fd.io/r/#/c/10219/ I have merged the patch and tagged it with v18.01 so that the release articles can build overnight and be available for testing tomorrow morning. Please send comments to me by replying

[vpp-dev] heap per thread

2018-01-23 Thread Saeed P
Hi I tried to change the memory allocation on VPP to set different mheap per worker not a shared mheap per worker. so on /vlib/threads.c at start_workers function chang as follow : if ( !strcmp( tr->name , "workers") ) { tr->mheap_size = new_mheap_size ; } vec_add2

Re: [vpp-dev] VPP ACL plugin session info

2018-01-23 Thread Andrew Yourtchenko
Pradeep, At this time you can only look at the specific session for the debug purposes, not the whole table. To have the traffic create the session you need to use “permit+reflect” action. So with our your configuring “deny” no sessions will be created. --a > On 22 Jan 2018, at 18:32,

[vpp-dev] dpdk_lib_init: Why hi->max_packet_bytes passed to rte_eth_dev_set_mtu()

2018-01-23 Thread Saxena, Nitin
Hi, I am running VPP on Cavium’s OCTEONTx processor which is using VNET_DPDK_PMD_THUNDERX driver in dpdk. I am running into failure because dpdk_lib_init() and dpdk_device_setup() functions are calling rte_eth_dev_set_mtu() with argument hi->max_packet_bytes. 1 Line no:112

Re: [vpp-dev] Re-verify a Commit?

2018-01-23 Thread Saxena, Nitin
Hi Jon, Press reply button and post a review comment of: recheck Thanks, Nitin > On 23-Jan-2018, at 10:29 PM, Jon Loeliger wrote: > > Hey vpp-dev-iants, > > How do I kick-off a re-verify request after a patch fails > to verify properly. It is the mystery "unknown failure",

Re: [vpp-dev] Re-verify a Commit?

2018-01-23 Thread Neale Ranns (nranns)
Hi Jon, Leave a code review comment of: recheck that will poke JJB to go do its thing again /neale From: on behalf of Jon Loeliger Date: Tuesday, 23 January 2018 at 17:59 To: vpp-dev Subject: [vpp-dev] Re-verify a Commit?

[vpp-dev] Re-verify a Commit?

2018-01-23 Thread Jon Loeliger
Hey vpp-dev-iants, How do I kick-off a re-verify request after a patch fails to verify properly. It is the mystery "unknown failure", so we just need to try to rebuild it again. Am I just blindly missing a "reverify" button on an otherwise inscrutable Gerrit page somewhere? Thanks, jdl

[vpp-dev] VPP/AArch64 - fd.io

2018-01-23 Thread Tina Tsou
Dear Maciek, As discussed at today’s VPP call, you may want to look into here. https://wiki.fd.io/view/VPP/AArch64 Build, unit test, packaging The following is tracked manually until hardware is integrated into upstream FD.io CI Cmd Status timing make bootstrap OK

Re: [vpp-dev] RFC: Error Codes

2018-01-23 Thread Dave Barach (dbarach)
Right. The error number base needs to be managed just like the message ID base… D. From: Jon Loeliger [mailto:j...@netgate.com] Sent: Tuesday, January 23, 2018 9:39 AM To: Ole Troan Cc: Dave Barach (dbarach) ; vpp-dev Subject: Re:

Re: [vpp-dev] RFC: Error Codes

2018-01-23 Thread Jon Loeliger
On Tue, Jan 23, 2018 at 8:12 AM, Ole Troan wrote: > Dear Dave, > > > I would be tempted to have the compiler emit > > "foreach__api_error" > macros [or similar]: > > > > #define foreach_foo_api_error \ > > _(SUCCESS, "Success") \ > > _(ERROR, "This didn't go well") > > > >

Re: [vpp-dev] How to link zmq library to new plugin in vpp

2018-01-23 Thread Dave Barach (dbarach)
This report leaves a bit to be desired. As in: "configure file" means what? Where is the build output? Laying that aside, if your plugin is called xxx, try adding: xxx_plugin_la_LIBADD += -lzmq to src/plugins/xxx.am... HTH... Dave From: vpp-dev-boun...@lists.fd.io

Re: [vpp-dev] RFC: Error Codes

2018-01-23 Thread Ole Troan
Dear Dave, > I would be tempted to have the compiler emit > "foreach__api_error" macros [or similar]: > > #define foreach_foo_api_error \ > _(SUCCESS, "Success") \ > _(ERROR, "This didn't go well") > > To minimize pain in upgrading existing C-code... Ah, yes of course. Done.

Re: [vpp-dev] Vpp apps available

2018-01-23 Thread Sarkar, Kawshik
Thanks Marek for your reply. 1)If I took something like “yang explorer “and tried to upload the yang schema for vpp there and interact with vpp from there using netconf..can you point me towards a yang-schema that I can download . I am not sure how I can download some of the yang schemea

Re: [vpp-dev] RFC: Error Codes

2018-01-23 Thread Dave Barach (dbarach)
I would be tempted to have the compiler emit "foreach__api_error" macros [or similar]: #define foreach_foo_api_error \ _(SUCCESS, "Success") \ _(ERROR, "This didn't go well") To minimize pain in upgrading existing C-code... D. -Original Message- From: Ole Troan

[vpp-dev] How to link zmq library to new plugin in vpp

2018-01-23 Thread Vadnere, Neha R
Hi, I want to use zmq APIs in my plugin in VPP. I tried to add following line in configure file: LDFLAGS+=-L/usr/local/lib -lzmq autoreconf -fis ./configure make make install and I am building new plugin from main vpp directory cd vpp/ make build make run But this is not working for me. Can

Re: [vpp-dev] RFC: Error Codes

2018-01-23 Thread Ole Troan
Dave, Jon, > On 22 Jan 2018, at 19:34, Dave Barach (dbarach) wrote: > > Dear Jon, > > That makes sense to me. Hopefully Ole will comment with respect to adding > statements of the form > > error { FOO_NOT_AVAILABLE, “Resource ‘foo’ is not available } ; > > to the new

Re: [vpp-dev] VPP equivalent of the vrf commands in Cisco

2018-01-23 Thread Neale Ranns (nranns)
Hi Reza, Can I refer you back to this previous thread; https://lists.fd.io/pipermail/vpp-dev/2017-August/006254.html /neale From: on behalf of "mirzaei.reza" Date: Tuesday, 23 January 2018 at 09:27 To: Vpp Dev