Re: [vpp-dev] macro definition

2016-10-13 Thread Burt Silverman
I came close to having an even more general solution to locating the origin of the concatenated strings, which would be to use Eclipse. But I have to concede defeat because of the cases I mentioned above. Eclipse is still useful where it is useful. Burt On Thu, Oct 13, 2016 at 7:20 AM, Dave Barac

Re: [vpp-dev] Build Errors

2016-10-13 Thread Luke, Chris
I definitely saw many of these same issues corrected in a patch I merged yesterday, not just one; can you confirm that what you have checked out includes those fixes? I am also guessing gcc 6.x is much more pedantic than gcc 5.x (which Ubuntu still uses by default). Chris. From: vpp-dev-boun.

Re: [vpp-dev] Build Errors

2016-10-13 Thread Billy McFall
Long, but below are the three types of errors I hit. I am writing a Jira now and will submit a patch to fix them later today. *1) There is a semi-colon at the end of the if statement. Fix was merged yesterday.* *vnet/vnet/fib/fib_entry_src_interface.c* starting at line 54 if (IP_LOOKUP_NE

Re: [vpp-dev] Build Errors

2016-10-13 Thread Damjan Marion (damarion)
Hi Bill, Error output copy/pasted here or to pastebin will be a good start. Thanks, Damjan > On 13 Oct 2016, at 15:55, Billy McFall wrote: > > I am getting build errors from a newly created sandbox based off master. The > build errors are coming from a patch submitted 3 weeks ago. One of th

Re: [vpp-dev] Build Errors

2016-10-13 Thread Burt Silverman
I hit the same issue -- you are not alone, Billy. (I wondered why I was alone!) My understanding is that a nightly build is currently done with an older version of gcc that may not issue the warnings/errors you and I have seen; hence the bug was not spotted until Coverity caught it. Burt On Thu,

[vpp-dev] Build Errors

2016-10-13 Thread Billy McFall
I am getting build errors from a newly created sandbox based off master. The build errors are coming from a patch submitted 3 weeks ago. One of the errors was fixed yesterday as a Coverity warning. So my question is, what is different on my system that these are treated as errors but I haven't anyo

Re: [vpp-dev] Queries regarding test cases for "vppinfra"

2016-10-13 Thread Dave Barach (dbarach)
Before I answer: from 100,000 feet, what are you trying to do? Run vpp on a CPU architecture other than x86_64? From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Ayush Singhal Sent: Thursday, October 13, 2016 8:34 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Qu

[vpp-dev] Queries regarding test cases for "vppinfra"

2016-10-13 Thread Ayush Singhal
Hi Team, I ran a few test cases related to vppinfra and noticed that some of them returned the value as '0' while some returns a non-zero value. Looking into the code it looks like, the return value is 0 when the test case is a success and is non-zero for a failure. I have observed that the belo

Re: [vpp-dev] HQoS pipe profiles

2016-10-13 Thread David Hotham via vpp-dev
Thanks - that's exactly what I'm doing, so it's good to hear that it's sensible From: Singh, Jasvinder [mailto:jasvinder.si...@intel.com] Sent: 13 October 2016 11:04 To: David Hotham Cc: vpp-dev@lists.fd.io Subject: RE: HQoS pipe profiles To avoid frequent changes in source code and compilations,

Re: [vpp-dev] set huge page size to 1G

2016-10-13 Thread mahdi akrami
Hi again! I solved the problem by adding line below to /etc/sysctl.conf file: vm.nr_hugepages = 3 Best Regards Mahdi On Mon, Oct 10, 2016 at 5:11 PM, mahdi akrami wrote: > Hi, > > I want to change size of huge pages to 1G. I've done that as is stated in > http://dpdk.org/doc/guides/linux_gs

Re: [vpp-dev] macro definition

2016-10-13 Thread yug...@telincn.com
Thanks. yug...@telincn.com From: Dave Barach (dbarach) Date: 2016-10-13 19:20 To: Burt Silverman; yug...@telincn.com CC: vpp-dev Subject: RE: [vpp-dev] macro definition Here’s what I do... Use cscope [or some other tool] to search for the text string ETHERNET_TYPE_##. Symbols such as ETHER

Re: [vpp-dev] macro definition

2016-10-13 Thread Dave Barach (dbarach)
Here’s what I do... Use cscope [or some other tool] to search for the text string ETHERNET_TYPE_##. Symbols such as ETHERNET_TYPE_XXX are constructed using the C preprocessor string-concatenation operator ‘##’. Once you find the template string, it will be obvious where to find the list of suf

Re: [vpp-dev] HQoS pipe profiles

2016-10-13 Thread Singh, Jasvinder
To avoid frequent changes in source code and compilations, you can add number of pipe profiles in the source code (right now, there is only profile and all pipes uses that profile). In run-time, you can assign new pipe profile to the any pipe using following CLI; set dpdk interface hqos pipe su