Re: [vpp-dev] Interface Mib II counters

2018-07-18 Thread Ray Kinsella

Hi Ole,

This looks like something that really deserves to be documented, 
_particularly_ the stats api & client?


Has anyone written anything here that we can use?

Ray K

On 16/07/2018 03:46, Ole Troan wrote:

Hi Rubina,


I wanna extract stats of vpp interfaces (specially information about traffic, 
ie. bytes out, bytes in, ...) and set them to relevant snmp oid.
Is there any VPP infrastructure to do that?
If not, what is the efficient way to extract data?


The most efficient (and new) way to extract stats is through the shared memory 
segment for counters.
See commit 048a4e5a.

Then you could build an external SNMP agent scraping counters. There is an 
example usage in the stats_client.c file.
I'm also working on building more client support, including for Python. I just 
need to get back from holidays first.

Cheers,
Ole



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9846): https://lists.fd.io/g/vpp-dev/message/9846
Mute This Topic: https://lists.fd.io/mt/23483393/675355
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [m...@ashroe.eu]
-=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9881): https://lists.fd.io/g/vpp-dev/message/9881
Mute This Topic: https://lists.fd.io/mt/23483393/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in'

2018-07-18 Thread Nitin Saxena

Hi Stanislav,

My best guess that dpdk package is already installed in the system and 
that's why VPP is not compiling internal dpdk


Please uninstall dpdk installed package and re-run compilation. The 
dpdk/custom-config file is must


In case you want to use external dpdk please set 
CONFIG_RTE_CACHE_LINE_SIZE=128 in dpdk/config file


Regards,

Nitin


On Wednesday 18 July 2018 07:52 PM, Stanislav Chlebec wrote:


External Email

Ad 1

No such file exists

Ad 2

stanislav@contivvpp:~/work/vpp/build-root/build-vpp_debug-native/dpdk$ 
cat 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp/vppinfra/config.h


/** Autogenerated by Autotools **/

#ifndef included_clib_config_h

#define included_clib_config_h

#ifndef CLIB_LOG2_CACHE_LINE_BYTES

#define CLIB_LOG2_CACHE_LINE_BYTES  7

#endif

#endif

stanislav@contivvpp:~/work/vpp/build-root/build-vpp_debug-native/dpdk$

Thanks

Stanislav

*From:*Nitin Saxena [mailto:nitin.sax...@cavium.com]
*Sent:* Wednesday, July 18, 2018 4:02 PM
*To:* Stanislav Chlebec ; 
vpp-dev@lists.fd.io
*Subject:* Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: 
config.status: error: cannot find input file: `vlib/config.h.in'


Ideally this static assert shouldn't have happened on master branch 
unless you are using external dpdk.


can you please check

1) what is the value of CONFIG_RTE_CACHE_LINE_SIZE in file

/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/custom-config 



2) can you paste content of file

/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp/vppinfra/config.h

Regards,
Nitin

On Wednesday 18 July 2018 07:14 PM, Stanislav Chlebec wrote:

External Email

stanislav@contivvpp:~/work/vpp$ gcc --version

gcc (Ubuntu/Linaro 5.5.0-12ubuntu1~16.04) 5.5.0 20171010

Copyright (C) 2015 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. 
There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

stanislav@contivvpp:~/work/vpp$

stanislav@contivvpp:~/work/vpp$ make build

make[1]: Entering directory '/home/stanislav/work/vpp/build-root'

 Arch for platform 'vpp' is native 

 Finding source for dpdk 

 Makefile fragment found in
/home/stanislav/work/vpp/build-data/packages/dpdk.mk 

 Source found in /home/stanislav/work/vpp/dpdk 

 Arch for platform 'vpp' is native 

 Finding source for vpp 

 Makefile fragment found in
/home/stanislav/work/vpp/build-data/packages/vpp.mk 

 Source found in /home/stanislav/work/vpp/src 

 Configuring dpdk in
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 

 Building dpdk in
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 

make[2]: Entering directory '/home/stanislav/work/vpp/dpdk'

make check-deb







/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c:
In function ‘dpdk_init’:


/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c:1743:3:
error: static assertion failed: "DPDK RTE CACHE LINE SIZE does not
match with 1
*Subject:* Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error:
config.status: error: cannot find input file: `vlib/config.h.in'

Hi Stanislav,

Unfortunately I do not have access to ThunderX but my ThunderX2
compilation works on master branch.

Also I observed that following gerrit job running on Cavium's
ThunderX compiles src/vnet/ethernet/interface.c successfully.

https://jenkins.fd.io/job/vpp-arm-verify-master-ubuntu1604/1404/console

So I am guessing you are compiling VPP master branch natively on
Cavium's ThunderX. So I suggest

1) Either remove -Werror from vpp_TAG_CFLAGS/vpp_debug/TAG_CFLAGS
in build-data/platforms/vpp.mk and ignore warning

2) I am guessing problem with your GCC version? Which gcc version
you are using? Can you try using gcc 5.4.0/5.5.0

Thanks,

Nitin

On Wednesday 18 July 2018 03:47 PM, Stanislav Chlebec wrote:

External Email

I got

/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c:529:785:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
    vlib_validate_buffer_enqueue_x4 (vm, node, next_index,
^
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c:
At top level:
cc1: error: unrecognized command line option
‘-Wno-address-of-packed-member’ [-Werror]
cc1: all warnings being treated as errors
Makefile:7307: recipe for target 'vnet/ethernet/interface.lo'
failed





-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in'

2018-07-18 Thread Stanislav Chlebec
Ad 1
No such file exists
Ad 2
stanislav@contivvpp:~/work/vpp/build-root/build-vpp_debug-native/dpdk$ cat 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp/vppinfra/config.h
/** Autogenerated by Autotools **/
#ifndef included_clib_config_h
#define included_clib_config_h
#ifndef CLIB_LOG2_CACHE_LINE_BYTES
#define CLIB_LOG2_CACHE_LINE_BYTES  7
#endif
#endif
stanislav@contivvpp:~/work/vpp/build-root/build-vpp_debug-native/dpdk$

Thanks
Stanislav


From: Nitin Saxena [mailto:nitin.sax...@cavium.com]
Sent: Wednesday, July 18, 2018 4:02 PM
To: Stanislav Chlebec ; vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: 
error: cannot find input file: `vlib/config.h.in'


Ideally this static assert shouldn't have happened on master branch unless you 
are using external dpdk.

can you please check

1) what is the value of CONFIG_RTE_CACHE_LINE_SIZE in file

/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/custom-config

2) can you paste content of file

/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp/vppinfra/config.h
Regards,
Nitin
On Wednesday 18 July 2018 07:14 PM, Stanislav Chlebec wrote:

External Email
stanislav@contivvpp:~/work/vpp$ gcc --version
gcc (Ubuntu/Linaro 5.5.0-12ubuntu1~16.04) 5.5.0 20171010
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

stanislav@contivvpp:~/work/vpp$


stanislav@contivvpp:~/work/vpp$ make build
make[1]: Entering directory '/home/stanislav/work/vpp/build-root'
 Arch for platform 'vpp' is native 
 Finding source for dpdk 
 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/dpdk.mk 
 Source found in /home/stanislav/work/vpp/dpdk 
 Arch for platform 'vpp' is native 
 Finding source for vpp 
 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/vpp.mk 
 Source found in /home/stanislav/work/vpp/src 
 Configuring dpdk in 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 

 Building dpdk in 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 
make[2]: Entering directory '/home/stanislav/work/vpp/dpdk'
make check-deb



/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c: In 
function ‘dpdk_init’:
/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c:1743:3: 
error: static assertion failed: "DPDK RTE CACHE LINE SIZE does not match with 
1
Subject: Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: 
error: cannot find input file: `vlib/config.h.in'


Hi Stanislav,

Unfortunately I do not have access to ThunderX but my ThunderX2 compilation 
works on master branch.

Also I observed that following gerrit job running on Cavium's ThunderX compiles 
src/vnet/ethernet/interface.c successfully.

https://jenkins.fd.io/job/vpp-arm-verify-master-ubuntu1604/1404/console

So I am guessing you are compiling VPP master branch natively on Cavium's 
ThunderX. So I suggest

1) Either remove -Werror from vpp_TAG_CFLAGS/vpp_debug/TAG_CFLAGS in 
build-data/platforms/vpp.mk and ignore warning

2) I am guessing problem with your GCC version? Which gcc version you are 
using? Can you try using gcc 5.4.0/5.5.0



Thanks,

Nitin
On Wednesday 18 July 2018 03:47 PM, Stanislav Chlebec wrote:

External Email
I got
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c:529:785: 
error: self-comparison always evaluates to true [-Werror=tautological-compare]
vlib_validate_buffer_enqueue_x4 (vm, node, next_index,









 ^
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c: At top 
level:
cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ 
[-Werror]
cc1: all warnings being treated as errors
Makefile:7307: recipe for target 'vnet/ethernet/interface.lo' failed





-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all 

Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in'

2018-07-18 Thread Nitin Saxena
Ideally this static assert shouldn't have happened on master branch 
unless you are using external dpdk.


can you please check

1) what is the value of CONFIG_RTE_CACHE_LINE_SIZE in file

/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/custom-config 



2) can you paste content of file

/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp/vppinfra/config.h

Regards,
Nitin

On Wednesday 18 July 2018 07:14 PM, Stanislav Chlebec wrote:


External Email

stanislav@contivvpp:~/work/vpp$ gcc --version

gcc (Ubuntu/Linaro 5.5.0-12ubuntu1~16.04) 5.5.0 20171010

Copyright (C) 2015 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.


stanislav@contivvpp:~/work/vpp$

stanislav@contivvpp:~/work/vpp$ make build

make[1]: Entering directory '/home/stanislav/work/vpp/build-root'

 Arch for platform 'vpp' is native 

 Finding source for dpdk 

 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/dpdk.mk 


 Source found in /home/stanislav/work/vpp/dpdk 

 Arch for platform 'vpp' is native 

 Finding source for vpp 

 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/vpp.mk 


 Source found in /home/stanislav/work/vpp/src 

 Configuring dpdk in 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 


 Building dpdk in 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 


make[2]: Entering directory '/home/stanislav/work/vpp/dpdk'

make check-deb







/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c: 
In function ‘dpdk_init’:


/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c:1743:3: 
error: static assertion failed: "DPDK RTE CACHE LINE SIZE does not 
match with 1<

STATIC_ASSERT (RTE_CACHE_LINE_SIZE == 1 << CLIB_LOG2_CACHE_LINE_BYTES,

^

/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c: 
At top level:


cc1: error: unrecognized command line option 
‘-Wno-address-of-packed-member’ [-Werror]


cc1: all warnings being treated as errors

Makefile:3694: recipe for target 'dpdk/device/dpdk_plugin_la-init.lo' 
failed


make[5]: *** [dpdk/device/dpdk_plugin_la-init.lo] Error 1

make[5]: *** Waiting for unfinished jobs

make[5]: Leaving directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp/plugins'


Makefile:2395: recipe for target 'all' failed

make[4]: *** [all] Error 2

make[4]: Leaving directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp/plugins'


Makefile:8363: recipe for target 'all-recursive' failed

make[3]: *** [all-recursive] Error 1

make[3]: Leaving directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp'


Makefile:4243: recipe for target 'all' failed

make[2]: *** [all] Error 2

make[2]: Leaving directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp'


Makefile:691: recipe for target 'vpp-build' failed

make[1]: *** [vpp-build] Error 2

make[1]: Leaving directory '/home/stanislav/work/vpp/build-root'

Makefile:333: recipe for target 'build' failed

make: *** [build] Error 2

*From:*Nitin Saxena [mailto:nitin.sax...@cavium.com]
*Sent:* Wednesday, July 18, 2018 12:58 PM
*To:* vpp-dev@lists.fd.io
*Subject:* Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: 
config.status: error: cannot find input file: `vlib/config.h.in'


Hi Stanislav,

Unfortunately I do not have access to ThunderX but my ThunderX2 
compilation works on master branch.


Also I observed that following gerrit job running on Cavium's ThunderX 
compiles src/vnet/ethernet/interface.c successfully.


https://jenkins.fd.io/job/vpp-arm-verify-master-ubuntu1604/1404/console

So I am guessing you are compiling VPP master branch natively on 
Cavium's ThunderX. So I suggest


1) Either remove -Werror from vpp_TAG_CFLAGS/vpp_debug/TAG_CFLAGS in 
build-data/platforms/vpp.mk and ignore warning


2) I am guessing problem with your GCC version? Which gcc version you 
are using? Can you try using gcc 5.4.0/5.5.0


Thanks,

Nitin

On Wednesday 18 July 2018 03:47 PM, Stanislav Chlebec wrote:

External Email

I got

/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c:529:785:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
    vlib_validate_buffer_enqueue_x4 (vm, node, next_index,
^
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c:
At top level:
cc1: error: unrecognized command line option
‘-Wno-address-of-packed-member’ [-Werror]
cc1: all warnings being treated as errors
Makefile:7307: recipe for target 'vnet/ethernet/interface.lo' failed




-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.

View/Reply Online 

Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in'

2018-07-18 Thread Stanislav Chlebec
stanislav@contivvpp:~/work/vpp$ gcc --version
gcc (Ubuntu/Linaro 5.5.0-12ubuntu1~16.04) 5.5.0 20171010
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

stanislav@contivvpp:~/work/vpp$


stanislav@contivvpp:~/work/vpp$ make build
make[1]: Entering directory '/home/stanislav/work/vpp/build-root'
 Arch for platform 'vpp' is native 
 Finding source for dpdk 
 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/dpdk.mk 
 Source found in /home/stanislav/work/vpp/dpdk 
 Arch for platform 'vpp' is native 
 Finding source for vpp 
 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/vpp.mk 
 Source found in /home/stanislav/work/vpp/src 
 Configuring dpdk in 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 

 Building dpdk in 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 
make[2]: Entering directory '/home/stanislav/work/vpp/dpdk'
make check-deb



/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c: In 
function ‘dpdk_init’:
/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c:1743:3: 
error: static assertion failed: "DPDK RTE CACHE LINE SIZE does not match with 
1

Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  
[nitin.sax...@cavium.com]

-=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9877): https://lists.fd.io/g/vpp-dev/message/9877
Mute This Topic: https://lists.fd.io/mt/23669223/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] Sample plugin doest not show up with vpp 18.07

2018-07-18 Thread abdul . malik
Hello All, 

I am trying to build vpp STABLE/1807 with sample plugin enabled on
UBUNTU 16.04.2 using following guide. 

https://docs.fd.io/vpp/18.07/sample_plugin_doc.html 

Build process goes without any error and then I make .DEB packages and
install these packages on a different host (ubuntu 16.04.2) but when I
check vpp plugins using VPPCTL SHOW PLUGINS command; I see many plugins
except SAMPLE plugin. I also don't see any sample plugin under
/usr/lib/vpp_plugins directory. Should I need to do any additional step.


NOTE: I did the same process for vpp STABLE/1707 and it went through
perfectly fine and I was able to use and test vpp sample plugin. 

Thanks 

Regards, 

Abdul Malik
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9876): https://lists.fd.io/g/vpp-dev/message/9876
Mute This Topic: https://lists.fd.io/mt/23670834/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [EXTERNAL] Re: [vpp-dev] 18.07 RC1: stable/1807 branch pulled, master reopened

2018-07-18 Thread Edward Warnicke
Apologies, I miscalculated.   Will fix.

Ed


On July 18, 2018 at 7:29:23 AM, Luke, Chris (chris_l...@comcast.com) wrote:

I do not recall a discussion about this.



*From:* vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] *On Behalf Of *Damjan
Marion via Lists.Fd.Io
*Sent:* Wednesday, July 18, 2018 7:19 AM
*To:* Edward Warnicke 
*Cc:* vpp-dev@lists.fd.io
*Subject:* [EXTERNAL] Re: [vpp-dev] 18.07 RC1: stable/1807 branch pulled,
master reopened





I can see that we have 18.11-rc0 tag. Have we decided to break our 3-month
cadence?



-- 
Damjan



On 17 Jul 2018, at 04:27, Edward Warnicke  wrote:



We've reached 18.07 RC1.  The stable/1807 branch has been pulled.



Master is reopened.



Due to a maintenance window today, I have not been able to test merge
pushing of packages to apt/yum repos for stable/1807.  I will do so
tomorrow.



Ed

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9851): https://lists.fd.io/g/vpp-dev/message/9851
Mute This Topic: https://lists.fd.io/mt/23538528/675642
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [dmar...@me.com]
-=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9875): https://lists.fd.io/g/vpp-dev/message/9875
Mute This Topic: https://lists.fd.io/mt/23670477/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [EXTERNAL] Re: [vpp-dev] 18.07 RC1: stable/1807 branch pulled, master reopened

2018-07-18 Thread Chris Luke
I do not recall a discussion about this.

From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Damjan 
Marion via Lists.Fd.Io
Sent: Wednesday, July 18, 2018 7:19 AM
To: Edward Warnicke 
Cc: vpp-dev@lists.fd.io
Subject: [EXTERNAL] Re: [vpp-dev] 18.07 RC1: stable/1807 branch pulled, master 
reopened


I can see that we have 18.11-rc0 tag. Have we decided to break our 3-month 
cadence?

--
Damjan


On 17 Jul 2018, at 04:27, Edward Warnicke 
mailto:hagb...@gmail.com>> wrote:

We've reached 18.07 RC1.  The stable/1807 branch has been pulled.

Master is reopened.

Due to a maintenance window today, I have not been able to test merge pushing 
of packages to apt/yum repos for stable/1807.  I will do so tomorrow.

Ed
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9851): https://lists.fd.io/g/vpp-dev/message/9851
Mute This Topic: https://lists.fd.io/mt/23538528/675642
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  
[dmar...@me.com]
-=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9874): https://lists.fd.io/g/vpp-dev/message/9874
Mute This Topic: https://lists.fd.io/mt/23670477/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [EXTERNAL] Re: [vpp-dev] (nten-vedge-ml 357) Re: [vpp] VXLAN arp response packet is dropped

2018-07-18 Thread Chris Luke
Satomi,

Please consider using services like pastebin or gist for posting text files. 
Attachments like zip files, and especially password protected ones,  don't 
really belong on mailing lists.

Not least because my security people get excited and delete such messages on 
sight (antivirus can't scan inside), but they're wasteful when you consider 
everyone on the list gets a copy.

Thanks,
Chris.

> -Original Message-
> From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of 
> Sent: Wednesday, July 18, 2018 5:00 AM
> To: Neale Ranns (nranns) ; vpp-dev@lists.fd.io
> Cc: Norimasa Asai (noasai) ; エッジ仮想化hcoML
> ; 小柳達也様
> ; N転P_西岡孟朗様
> 
> Subject: [EXTERNAL] Re: [vpp-dev] (nten-vedge-ml 357) Re: [vpp] VXLAN arp
> response packet is dropped
> 
> The password is here.
> 
> E!(k,g
> 
> On 2018/07/18 17:58, 井上里美 wrote:
> > Hi, neale san,
> >
> > Thank you for your reply.
> > Sure!
> >
> > Satomi
> >
> > On 2018/07/18 17:27, Neale Ranns (nranns) wrote:
> >> Can I see the packet trace?
> >>
> >> /neale
> >>
> >> -Original Message-
> >> From: 井上里美 
> >> Date: Wednesday, 18 July 2018 at 09:54
> >> To: "Neale Ranns (nranns)" , "vpp-dev@lists.fd.io"
> >> 
> >> Cc: "Norimasa Asai (noasai)" , エッジ仮想化hcoML
> >> , 小柳達也様
> >> , N転P_西岡孟朗様
> >> 
> >> Subject: [vpp] VXLAN arp response packet is dropped
> >>
> >>  Hi neale san,
> >>      Thank you for your reply.
> >>  We used a vpp packet trace.
> >>  show trace is no error but on the caputure device,ARP request
> >> packet is
> >>  droped.
> >>  It happend the same event even L2.
> >>      Could you give me some advice?
> >>      【Architecture】
> >>    __
> >>  |    |→caputure device→IXIA(port 2)
> >>  |VPP|
> >>  |   |←IXIA(port 1)
> >>  |__|
> >>      On 2018/07/06 21:39, Neale Ranns (nranns) wrote:
> >>  > Hi Satomi
> >>  >
> >>  > Debugging packet loss is much easier with a VPP packet trace…
> >>  >
> >>  > Regards,
> >>  > neale
> >>  >
> >>  > -Original Message-
> >>  > From:  on behalf of 井上里美
> >> 
> >>  > Date: Friday, 6 July 2018 at 12:38
> >>  > To: "vpp-dev@lists.fd.io" 
> >>  > Cc: "Norimasa Asai (noasai)" , エッジ仮想化
> hcoML
> >> , 小柳達也様
> >> , N転P_西岡孟朗様
> >> 
> >>  > Subject: [vpp-dev] [pw] [vpp] VXLAN arp response packet is
> >> dropped
> >>  >
> >>  >  The password is here.
> >>  >  1j^?iKvC]C;%
> >>  >
> >>  >  On 2018/07/06 19:37, 井上里美 wrote:
> >>  >  > Hi VPP Team,
> >>  >  >
> >>  >  > I'm Satomi Inoue and I belong to NTT laboratories.
> >>  >  > Could you tell me why ARP response packet is dropped?
> >>  >  >
> >>  >  > We set up vxlan while looking at
> >>  >  > ”Using_VPP_as_a_VXLAN_Tunnel_Terminator”manual.
> >>  >  > The procedure is as follows.
> >>  >  >
> >>  >  > [The result]
> >>  >  > ・ARP request packet : IXIA(port2)→VPP→IXIA(port1):OK
> >>  >  > ・ARP response packet : IXIA(port1)→VPP→IXIA(port2):NG
> >>  >  >  →We checked it by trace command. Loopback interface in
> >> VPP drop the
> >>  >  > ARP response packet.
> >>  >  >
> >>  >  > [set up vxlan]
> >>  >  > 1. Create sub-interface
> >>  >  > vpp# create sub-interfaces
> >> VirtualFunctionEthernet0/9/0 1
> >>  >  > vpp# set interface state
> >> VirtualFunctionEthernet0/9/0.1 up
> >>  >  >
> >>  >  > 2. Create bridge-domain
> >>  >  > create bridge-domain 10001 learn 1 forward 1
> >> uu-flood 1 arp-term 0
> >>  >  >
> >>  >  > 3. Create Loopback interface
> >>  >  > vpp# loopback create mac 1a:2b:3c:4d:5e:6f
> >>  >  > vpp# set interface state loop0 up
> >>  >  > vpp# set interface ip address loop0 1.1.1.1/32
> >>  >  > vpp# set interface ip table loop0 7
> >>  >  >
> >>  >  > 4. Apply loopback interface to bride-domain
> >>  >  > vpp# set interface l2 bridge loop0 10001 bvi
> >>  >  >
> >>  >  > 5.Apply sub-interface to bride-domain
> >>  >  > vpp# set interface l2 bridge
> >> VirtualFunctionEthernet0/9/0.1 10001 0
> >>  >  >
> >>  >  > 6.Create VXLAN tunnel
> >>  >  > vpp# create vxlan tunnel src 1.1.1.1 dst 20.10.0.1
> >> vni 10001
> >>  >  > encap-vrf-id 7 decap-next l2
> >>  >  > vpp# set interface l2 bridge vxlan_tunnel0 10001 1
> >>  >  >
> >>  >  > Regards,
> >>  >  > Satomi
> >>  >
> >>  >  --
> >>  >
> >>  >
> >>  >
> >>  >
> >>  >
> >>      --
> >>  -
> >>      井上里美(Satomi Inoue)
> >>  〒180-8585 東京都武蔵野市緑町3-9-11
> >>  PHONE:0422-59-4151
> >>  E-MAIL:inoue.sat...@lab.ntt.co.jp
> >>
> >
> 
> --
> 

Re: [vpp-dev] (nten-vedge-ml 357) Re: [vpp] VXLAN arp response packet is dropped

2018-07-18 Thread 井上里美

The password is here.

E!(k,g

On 2018/07/18 17:58, 井上里美 wrote:

Hi, neale san,

Thank you for your reply.
Sure!

Satomi

On 2018/07/18 17:27, Neale Ranns (nranns) wrote:

Can I see the packet trace?

/neale

-Original Message-
From: 井上里美 
Date: Wednesday, 18 July 2018 at 09:54
To: "Neale Ranns (nranns)" , "vpp-dev@lists.fd.io" 

Cc: "Norimasa Asai (noasai)" , エッジ仮想化hcoML 
, 小柳達也様 
, N転P_西岡孟朗様 


Subject: [vpp] VXLAN arp response packet is dropped

 Hi neale san,
     Thank you for your reply.
 We used a vpp packet trace.
 show trace is no error but on the caputure device,ARP request 
packet is

 droped.
 It happend the same event even L2.
     Could you give me some advice?
     【Architecture】
   __
 |    |→caputure device→IXIA(port 2)
 |VPP|
 |   |←IXIA(port 1)
 |__|
     On 2018/07/06 21:39, Neale Ranns (nranns) wrote:
 > Hi Satomi
 >
 > Debugging packet loss is much easier with a VPP packet trace…
 >
 > Regards,
 > neale
 >
 > -Original Message-
 > From:  on behalf of 井上里美 


 > Date: Friday, 6 July 2018 at 12:38
 > To: "vpp-dev@lists.fd.io" 
 > Cc: "Norimasa Asai (noasai)" , エッジ仮想化hcoML 
, 小柳達也様 
, N転P_西岡孟朗様 

 > Subject: [vpp-dev] [pw] [vpp] VXLAN arp response packet is 
dropped

 >
 >  The password is here.
 >  1j^?iKvC]C;%
 >
 >  On 2018/07/06 19:37, 井上里美 wrote:
 >  > Hi VPP Team,
 >  >
 >  > I'm Satomi Inoue and I belong to NTT laboratories.
 >  > Could you tell me why ARP response packet is dropped?
 >  >
 >  > We set up vxlan while looking at
 >  > ”Using_VPP_as_a_VXLAN_Tunnel_Terminator”manual.
 >  > The procedure is as follows.
 >  >
 >  > [The result]
 >  > ・ARP request packet : IXIA(port2)→VPP→IXIA(port1):OK
 >  > ・ARP response packet : IXIA(port1)→VPP→IXIA(port2):NG
 >  >  →We checked it by trace command. Loopback interface in 
VPP drop the

 >  > ARP response packet.
 >  >
 >  > [set up vxlan]
 >  > 1. Create sub-interface
 >  > vpp# create sub-interfaces 
VirtualFunctionEthernet0/9/0 1
 >  > vpp# set interface state 
VirtualFunctionEthernet0/9/0.1 up

 >  >
 >  > 2. Create bridge-domain
 >  > create bridge-domain 10001 learn 1 forward 1 
uu-flood 1 arp-term 0

 >  >
 >  > 3. Create Loopback interface
 >  > vpp# loopback create mac 1a:2b:3c:4d:5e:6f
 >  > vpp# set interface state loop0 up
 >  > vpp# set interface ip address loop0 1.1.1.1/32
 >  > vpp# set interface ip table loop0 7
 >  >
 >  > 4. Apply loopback interface to bride-domain
 >  > vpp# set interface l2 bridge loop0 10001 bvi
 >  >
 >  > 5.Apply sub-interface to bride-domain
 >  > vpp# set interface l2 bridge 
VirtualFunctionEthernet0/9/0.1 10001 0

 >  >
 >  > 6.Create VXLAN tunnel
 >  > vpp# create vxlan tunnel src 1.1.1.1 dst 20.10.0.1 
vni 10001

 >  > encap-vrf-id 7 decap-next l2
 >  > vpp# set interface l2 bridge vxlan_tunnel0 10001 1
 >  >
 >  > Regards,
 >  > Satomi
 >
 >  --
 >
 >
 >
 >
 >
     --
 -
     井上里美(Satomi Inoue)
 〒180-8585 東京都武蔵野市緑町3-9-11
 PHONE:0422-59-4151
 E-MAIL:inoue.sat...@lab.ntt.co.jp





--
-
日本電信電話株式会社 情報ネットワーク総合研究所
ネットワークサービスシステム研究所 転送サービス基盤プロジェクト
井上里美(Satomi Inoue)
〒180-8585 東京都武蔵野市緑町3-9-11
PHONE:0422-59-4151
E-MAIL:inoue.sat...@lab.ntt.co.jp


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9872): https://lists.fd.io/g/vpp-dev/message/9872
Mute This Topic: https://lists.fd.io/mt/23669960/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in'

2018-07-18 Thread Nitin Saxena

Hi Stanislav,

Unfortunately I do not have access to ThunderX but my ThunderX2 
compilation works on master branch.


Also I observed that following gerrit job running on Cavium's ThunderX 
compiles src/vnet/ethernet/interface.c successfully.


https://jenkins.fd.io/job/vpp-arm-verify-master-ubuntu1604/1404/console

So I am guessing you are compiling VPP master branch natively on 
Cavium's ThunderX. So I suggest


1) Either remove -Werror from vpp_TAG_CFLAGS/vpp_debug/TAG_CFLAGS in 
build-data/platforms/vpp.mk and ignore warning


2) I am guessing problem with your GCC version? Which gcc version you 
are using? Can you try using gcc 5.4.0/5.5.0



Thanks,

Nitin

On Wednesday 18 July 2018 03:47 PM, Stanislav Chlebec wrote:


External Email

I got
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c:529:785: 
error: self-comparison always evaluates to true 
[-Werror=tautological-compare]

    vlib_validate_buffer_enqueue_x4 (vm, node, next_index,
^
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c: 
At top level:
cc1: error: unrecognized command line option 
‘-Wno-address-of-packed-member’ [-Werror]

cc1: all warnings being treated as errors
Makefile:7307: recipe for target 'vnet/ethernet/interface.lo' failed


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9866): https://lists.fd.io/g/vpp-dev/message/9866
Mute This Topic: https://lists.fd.io/mt/23669223/675191
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp=2214648
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [nitin.sax...@cavium.com]
-=-=-=-=-=-=-=-=-=-=-=-


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9868): https://lists.fd.io/g/vpp-dev/message/9868
Mute This Topic: https://lists.fd.io/mt/23669223/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] [WARNING : MESSAGE ENCRYPTED] Re: [vpp] VXLAN arp response packet is dropped

2018-07-18 Thread Neale Ranns via Lists.Fd.Io
Hi Satomi,

That’s a big trace. Can you point to an example of a packet drop that is 
causing you problems.

Thanks
neale  



-Original Message-
From: 井上里美 
Date: Wednesday, 18 July 2018 at 10:58
To: "Neale Ranns (nranns)" , "vpp-dev@lists.fd.io" 

Cc: "Norimasa Asai (noasai)" , エッジ仮想化hcoML 
, 小柳達也様 , 
N転P_西岡孟朗様 
Subject: [WARNING :  MESSAGE ENCRYPTED] Re: [vpp] VXLAN arp response packet is 
dropped

Hi, neale san,

Thank you for your reply.
Sure!

Satomi

On 2018/07/18 17:27, Neale Ranns (nranns) wrote:
> Can I see the packet trace?
>
> /neale
>
> -Original Message-
> From: 井上里美 
> Date: Wednesday, 18 July 2018 at 09:54
> To: "Neale Ranns (nranns)" , "vpp-dev@lists.fd.io" 

> Cc: "Norimasa Asai (noasai)" , エッジ仮想化hcoML 
, 小柳達也様 , 
N転P_西岡孟朗様 
> Subject: [vpp] VXLAN arp response packet is dropped
>
>  Hi neale san,
>  
>  Thank you for your reply.
>  We used a vpp packet trace.
>  show trace is no error but on the caputure device,ARP request packet 
is
>  droped.
>  It happend the same event even L2.
>  
>  Could you give me some advice?
>  
>  【Architecture】
>    __
>  |    |→caputure device→IXIA(port 2)
>  |VPP|
>  |   |←IXIA(port 1)
>  |__|
>  
>  On 2018/07/06 21:39, Neale Ranns (nranns) wrote:
>  > Hi Satomi
>  >
>  > Debugging packet loss is much easier with a VPP packet trace…
>  >
>  > Regards,
>  > neale
>  >
>  > -Original Message-
>  > From:  on behalf of 井上里美 

>  > Date: Friday, 6 July 2018 at 12:38
>  > To: "vpp-dev@lists.fd.io" 
>  > Cc: "Norimasa Asai (noasai)" , エッジ仮想化hcoML 
, 小柳達也様 , 
N転P_西岡孟朗様 
>  > Subject: [vpp-dev] [pw] [vpp] VXLAN arp response packet is dropped
>  >
>  >  The password is here.
>  >  1j^?iKvC]C;%
>  >
>  >  On 2018/07/06 19:37, 井上里美 wrote:
>  >  > Hi VPP Team,
>  >  >
>  >  > I'm Satomi Inoue and I belong to NTT laboratories.
>  >  > Could you tell me why ARP response packet is dropped?
>  >  >
>  >  > We set up vxlan while looking at
>  >  > ”Using_VPP_as_a_VXLAN_Tunnel_Terminator”manual.
>  >  > The procedure is as follows.
>  >  >
>  >  > [The result]
>  >  > ・ARP request packet : IXIA(port2)→VPP→IXIA(port1):OK
>  >  > ・ARP response packet : IXIA(port1)→VPP→IXIA(port2):NG
>  >  >  →We checked it by trace command. Loopback interface in VPP 
drop the
>  >  > ARP response packet.
>  >  >
>  >  > [set up vxlan]
>  >  > 1. Create sub-interface
>  >  > vpp# create sub-interfaces VirtualFunctionEthernet0/9/0 
1
>  >  > vpp# set interface state VirtualFunctionEthernet0/9/0.1 
up
>  >  >
>  >  > 2. Create bridge-domain
>  >  > create bridge-domain 10001 learn 1 forward 1 uu-flood 1 
arp-term 0
>  >  >
>  >  > 3. Create Loopback interface
>  >  > vpp# loopback create mac 1a:2b:3c:4d:5e:6f
>  >  > vpp# set interface state loop0 up
>  >  > vpp# set interface ip address loop0 1.1.1.1/32
>  >  > vpp# set interface ip table loop0 7
>  >  >
>  >  > 4. Apply loopback interface to bride-domain
>  >  > vpp# set interface l2 bridge loop0 10001 bvi
>  >  >
>  >  > 5.Apply sub-interface to bride-domain
>  >  > vpp# set interface l2 bridge 
VirtualFunctionEthernet0/9/0.1 10001 0
>  >  >
>  >  > 6.Create VXLAN tunnel
>  >  > vpp# create vxlan tunnel src 1.1.1.1 dst 20.10.0.1 vni 
10001
>  >  > encap-vrf-id 7 decap-next l2
>  >  > vpp# set interface l2 bridge vxlan_tunnel0 10001 1
>  >  >
>  >  > Regards,
>  >  > Satomi
>  >
>  >  --
>  >
>  >
>  >
>  >
>  >
>  
>  --
>  -
>  
>  井上里美(Satomi Inoue)
>  〒180-8585 東京都武蔵野市緑町3-9-11
>  PHONE:0422-59-4151
>  E-MAIL:inoue.sat...@lab.ntt.co.jp
>  
>  
>  
>

-- 
-
日本電信電話株式会社 情報ネットワーク総合研究所
ネットワークサービスシステム研究所 転送サービス基盤プロジェクト
井上里美(Satomi Inoue)
〒180-8585 東京都武蔵野市緑町3-9-11
PHONE:0422-59-4151
E-MAIL:inoue.sat...@lab.ntt.co.jp



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online 

Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in'

2018-07-18 Thread Stanislav Chlebec
I got
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c:529:785: 
error: self-comparison always evaluates to true [-Werror=tautological-compare]
    vlib_validate_buffer_enqueue_x4 (vm, node, next_index,









 ^
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c: At top 
level:
cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ 
[-Werror]
cc1: all warnings being treated as errors
Makefile:7307: recipe for target 'vnet/ethernet/interface.lo' failed
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9866): https://lists.fd.io/g/vpp-dev/message/9866
Mute This Topic: https://lists.fd.io/mt/23669223/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in'

2018-07-18 Thread Nitin Saxena

Hi Stan,

I prefer you should use master branch and not v1804 for ThunderX.

Also "make bootstrap" is not required anymore. From the logs look like 
problem with Autoconf tools.


Thanks,

Nitin



On Wednesday 18 July 2018 02:24 PM, Stanislav Chlebec wrote:


External Email

Hello

I am trying to build VPP on Cavium ThunderX
git clone https://gerrit.fd.io/r/vpp
cd vpp/
git checkout v18.04

stanislav@contivvpp:~/work/vpp$ git status
HEAD detached at v18.04
nothing to commit, working directory clean

make install-dep
make bootstrap
make build

then I got this error message:
config.status: error: cannot find input file: `vlib/config.h.in'
Makefile:640: recipe for target 'vpp-configure' failed
make[1]: *** [vpp-configure] Error 1
make[1]: Leaving directory '/home/stanislav/work/vpp/build-root'
Makefile:317: recipe for target 'build' failed
make: *** [build] Error 2

Plese could you help me to solve that?
Thanks
Stanislav




stanislav@contivvpp:~/work/vpp$ make build
make[1]: Entering directory '/home/stanislav/work/vpp/build-root'
 Arch for platform 'vpp' is native 
 Finding source for dpdk 
 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/dpdk.mk 

 Source found in /home/stanislav/work/vpp/dpdk 
 Arch for platform 'vpp' is native 
 Finding source for vpp 
 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/vpp.mk 

 Source found in /home/stanislav/work/vpp/src 
 Configuring dpdk: nothing to do 
 Building dpdk in 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 

make[2]: Entering directory '/home/stanislav/work/vpp/dpdk'
==
Building DPDK from source. Consider installing development
package by invoking 'make dpdk-install-dev' from the
top level directory
==
make config
make[3]: Entering directory '/home/stanislav/work/vpp/dpdk'
make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent 
make rule.
  % Total    % Received % Xferd  Average Speed   Time Time Time  
Current
 Dload  Upload   Total Spent    Left  
Speed
100  9.9M  100  9.9M    0 0  2335k  0  0:00:04  0:00:04 
--:--:-- 2335k

--- extracting dpdk-18.02.1.tar.xz ---
--- generating custom config from 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/dpdk-stable-18.02.1/config/defconfig_arm64-thunderx-linuxapp-gcc 
---
make[4]: Entering directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/dpdk-stable-18.02.1'

Configuration done using custom-config
make[4]: Leaving directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/dpdk-stable-18.02.1'

make[3]: Leaving directory '/home/stanislav/work/vpp/dpdk'
make[2]: Leaving directory '/home/stanislav/work/vpp/dpdk'
 Installing dpdk 
make[2]: Entering directory '/home/stanislav/work/vpp/dpdk'
make install
make[3]: Entering directory '/home/stanislav/work/vpp/dpdk'
make[4]: Entering directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/dpdk-stable-18.02.1'

Configuration done using custom-config
== Build lib
== Build lib/librte_compat
== Build lib/librte_eal
  SYMLINK-FILE include/rte_compat.h
== Build lib/librte_eal/common
  SYMLINK-FILE include/rte_branch_prediction.h
  SYMLINK-FILE include/rte_common.h
  SYMLINK-FILE include/rte_debug.h
  SYMLINK-FILE include/rte_eal.h
  SYMLINK-FILE include/rte_eal_interrupts.h
  SYMLINK-FILE include/rte_errno.h
  SYMLINK-FILE include/rte_launch.h
  SYMLINK-FILE include/rte_lcore.h
  SYMLINK-FILE include/rte_log.h
  SYMLINK-FILE include/rte_memory.h
  SYMLINK-FILE include/rte_memzone.h
  SYMLINK-FILE include/rte_per_lcore.h
  SYMLINK-FILE include/rte_random.h
  SYMLINK-FILE include/rte_tailq.h
  SYMLINK-FILE include/rte_interrupts.h
  SYMLINK-FILE include/rte_alarm.h
  SYMLINK-FILE include/rte_string_fns.h
  SYMLINK-FILE include/rte_version.h
  SYMLINK-FILE include/rte_eal_memconfig.h
  SYMLINK-FILE include/rte_malloc_heap.h
  SYMLINK-FILE include/rte_hexdump.h
  SYMLINK-FILE include/rte_devargs.h
  SYMLINK-FILE include/rte_bus.h
  SYMLINK-FILE include/rte_dev.h
  SYMLINK-FILE include/rte_pci_dev_feature_defs.h
  SYMLINK-FILE include/rte_pci_dev_features.h
  SYMLINK-FILE include/rte_malloc.h
  SYMLINK-FILE include/rte_keepalive.h
  SYMLINK-FILE include/rte_time.h
  SYMLINK-FILE include/rte_service.h
  SYMLINK-FILE include/rte_service_component.h
  SYMLINK-FILE include/rte_bitmap.h
  SYMLINK-FILE include/rte_vfio.h
  SYMLINK-FILE include/rte_hypervisor.h
  SYMLINK-FILE include/rte_test.h
  SYMLINK-FILE include/rte_reciprocal.h
  SYMLINK-FILE include/rte_atomic.h
  SYMLINK-FILE include/rte_atomic_32.h
  SYMLINK-FILE include/rte_atomic_64.h
  SYMLINK-FILE include/rte_byteorder.h
  SYMLINK-FILE include/rte_cpuflags.h
  SYMLINK-FILE include/rte_cpuflags_32.h
  SYMLINK-FILE 

[vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in'

2018-07-18 Thread Stanislav Chlebec
Hello

I am trying to build VPP on Cavium ThunderX
git clone https://gerrit.fd.io/r/vpp
cd vpp/
git checkout v18.04

stanislav@contivvpp:~/work/vpp$ git status
HEAD detached at v18.04
nothing to commit, working directory clean

make install-dep
make bootstrap
make build
 
then I got this error message:
config.status: error: cannot find input file: `vlib/config.h.in'
Makefile:640: recipe for target 'vpp-configure' failed
make[1]: *** [vpp-configure] Error 1
make[1]: Leaving directory '/home/stanislav/work/vpp/build-root'
Makefile:317: recipe for target 'build' failed
make: *** [build] Error 2

Plese could you help me to solve that?
Thanks
Stanislav

stanislav@contivvpp:~/work/vpp$ make build
make[1]: Entering directory '/home/stanislav/work/vpp/build-root'
 Arch for platform 'vpp' is native 
 Finding source for dpdk 
 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/dpdk.mk 
 Source found in /home/stanislav/work/vpp/dpdk 
 Arch for platform 'vpp' is native 
 Finding source for vpp 
 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/vpp.mk 
 Source found in /home/stanislav/work/vpp/src 
 Configuring dpdk: nothing to do 
 Building dpdk in 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 
make[2]: Entering directory '/home/stanislav/work/vpp/dpdk'
==
Building DPDK from source. Consider installing development
package by invoking 'make dpdk-install-dev' from the
top level directory
==
make config
make[3]: Entering directory '/home/stanislav/work/vpp/dpdk'
make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
rule.
  % Total    % Received % Xferd  Average Speed   Time    Time Time  Current
 Dload  Upload   Total   Spent    Left  Speed
100  9.9M  100  9.9M    0 0  2335k  0  0:00:04  0:00:04 --:--:-- 2335k
--- extracting dpdk-18.02.1.tar.xz ---
--- generating custom config from 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/dpdk-stable-18.02.1/config/defconfig_arm64-thunderx-linuxapp-gcc
 ---
make[4]: Entering directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/dpdk-stable-18.02.1'
Configuration done using custom-config
make[4]: Leaving directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/dpdk-stable-18.02.1'
make[3]: Leaving directory '/home/stanislav/work/vpp/dpdk'
make[2]: Leaving directory '/home/stanislav/work/vpp/dpdk'
 Installing dpdk 
make[2]: Entering directory '/home/stanislav/work/vpp/dpdk'
make install
make[3]: Entering directory '/home/stanislav/work/vpp/dpdk'
make[4]: Entering directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/dpdk-stable-18.02.1'
Configuration done using custom-config
== Build lib
== Build lib/librte_compat
== Build lib/librte_eal
  SYMLINK-FILE include/rte_compat.h
== Build lib/librte_eal/common
  SYMLINK-FILE include/rte_branch_prediction.h
  SYMLINK-FILE include/rte_common.h
  SYMLINK-FILE include/rte_debug.h
  SYMLINK-FILE include/rte_eal.h
  SYMLINK-FILE include/rte_eal_interrupts.h
  SYMLINK-FILE include/rte_errno.h
  SYMLINK-FILE include/rte_launch.h
  SYMLINK-FILE include/rte_lcore.h
  SYMLINK-FILE include/rte_log.h
  SYMLINK-FILE include/rte_memory.h
  SYMLINK-FILE include/rte_memzone.h
  SYMLINK-FILE include/rte_per_lcore.h
  SYMLINK-FILE include/rte_random.h
  SYMLINK-FILE include/rte_tailq.h
  SYMLINK-FILE include/rte_interrupts.h
  SYMLINK-FILE include/rte_alarm.h
  SYMLINK-FILE include/rte_string_fns.h
  SYMLINK-FILE include/rte_version.h
  SYMLINK-FILE include/rte_eal_memconfig.h
  SYMLINK-FILE include/rte_malloc_heap.h
  SYMLINK-FILE include/rte_hexdump.h
  SYMLINK-FILE include/rte_devargs.h
  SYMLINK-FILE include/rte_bus.h
  SYMLINK-FILE include/rte_dev.h
  SYMLINK-FILE include/rte_pci_dev_feature_defs.h
  SYMLINK-FILE include/rte_pci_dev_features.h
  SYMLINK-FILE include/rte_malloc.h
  SYMLINK-FILE include/rte_keepalive.h
  SYMLINK-FILE include/rte_time.h
  SYMLINK-FILE include/rte_service.h
  SYMLINK-FILE include/rte_service_component.h
  SYMLINK-FILE include/rte_bitmap.h
  SYMLINK-FILE include/rte_vfio.h
  SYMLINK-FILE include/rte_hypervisor.h
  SYMLINK-FILE include/rte_test.h
  SYMLINK-FILE include/rte_reciprocal.h
  SYMLINK-FILE include/rte_atomic.h
  SYMLINK-FILE include/rte_atomic_32.h
  SYMLINK-FILE include/rte_atomic_64.h
  SYMLINK-FILE include/rte_byteorder.h
  SYMLINK-FILE include/rte_cpuflags.h
  SYMLINK-FILE include/rte_cpuflags_32.h
  SYMLINK-FILE include/rte_cpuflags_64.h
  SYMLINK-FILE include/rte_cycles.h
  SYMLINK-FILE include/rte_cycles_32.h
  SYMLINK-FILE include/rte_cycles_64.h
  SYMLINK-FILE include/rte_io.h
  SYMLINK-FILE include/rte_io_64.h
  SYMLINK-FILE include/rte_memcpy.h
  SYMLINK-FILE include/rte_memcpy_32.h
  SYMLINK-FILE 

回复: [vpp-dev] [vpp] VXLAN arp response packet is dropped

2018-07-18 Thread blankspot




在2018年7月18日 16:27,Neale Ranns via Lists.Fd.Io 写道:
Can I see the packet trace?

/neale

-Original Message-
From: 井上里美 
Date: Wednesday, 18 July 2018 at 09:54
To: "Neale Ranns (nranns)" , "vpp-dev@lists.fd.io" 

Cc: "Norimasa Asai (noasai)" , エッジ仮想化hcoML 
, 小柳達也様 , 
N転P_西岡孟朗様 
Subject: [vpp] VXLAN arp response packet is dropped

Hi neale san,

Thank you for your reply.
We used a vpp packet trace.
show trace is no error but on the caputure device,ARP request packet is
droped.
It happend the same event even L2.

Could you give me some advice?

【Architecture】
  __
|    |→caputure device→IXIA(port 2)
|VPP|
|   |←IXIA(port 1)
|__|

On 2018/07/06 21:39, Neale Ranns (nranns) wrote:
Hi Satomi

Debugging packet loss is much easier with a VPP packet trace…

Regards,
neale

-Original Message-
From:  on behalf of 井上里美 
Date: Friday, 6 July 2018 at 12:38
To: "vpp-dev@lists.fd.io" 
Cc: "Norimasa Asai (noasai)" , エッジ仮想化hcoML 
, 小柳達也様 , 
N転P_西岡孟朗様 
Subject: [vpp-dev] [pw] [vpp] VXLAN arp response packet is dropped

The password is here.
1j^?iKvC]C;%

On 2018/07/06 19:37, 井上里美 wrote:
Hi VPP Team,

I'm Satomi Inoue and I belong to NTT laboratories.
Could you tell me why ARP response packet is dropped?

We set up vxlan while looking at
”Using_VPP_as_a_VXLAN_Tunnel_Terminator”manual.
The procedure is as follows.

[The result]
・ARP request packet : IXIA(port2)→VPP→IXIA(port1):OK
・ARP response packet : IXIA(port1)→VPP→IXIA(port2):NG
 →We checked it by trace command. Loopback interface in VPP drop the
ARP response packet.

[set up vxlan]
1. Create sub-interface
vpp# create sub-interfaces VirtualFunctionEthernet0/9/0 1
vpp# set interface state VirtualFunctionEthernet0/9/0.1 up

2. Create bridge-domain
create bridge-domain 10001 learn 1 forward 1 uu-flood 1 arp-term 0

3. Create Loopback interface
vpp# loopback create mac 1a:2b:3c:4d:5e:6f
vpp# set interface state loop0 up
vpp# set interface ip address loop0 1.1.1.1/32
vpp# set interface ip table loop0 7

4. Apply loopback interface to bride-domain
vpp# set interface l2 bridge loop0 10001 bvi

5.Apply sub-interface to bride-domain
vpp# set interface l2 bridge VirtualFunctionEthernet0/9/0.1 10001 0

6.Create VXLAN tunnel
vpp# create vxlan tunnel src 1.1.1.1 dst 20.10.0.1 vni 10001
encap-vrf-id 7 decap-next l2
vpp# set interface l2 bridge vxlan_tunnel0 10001 1

Regards,
Satomi

--






--
-

井上里美(Satomi Inoue)
〒180-8585 東京都武蔵野市緑町3-9-11
PHONE:0422-59-4151
E-MAIL:inoue.sat...@lab.ntt.co.jp




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9863): https://lists.fd.io/g/vpp-dev/message/9863
Mute This Topic: https://lists.fd.io/mt/23669154/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] [vpp] VXLAN arp response packet is dropped

2018-07-18 Thread Neale Ranns via Lists.Fd.Io
Can I see the packet trace?

/neale

-Original Message-
From: 井上里美 
Date: Wednesday, 18 July 2018 at 09:54
To: "Neale Ranns (nranns)" , "vpp-dev@lists.fd.io" 

Cc: "Norimasa Asai (noasai)" , エッジ仮想化hcoML 
, 小柳達也様 , 
N転P_西岡孟朗様 
Subject: [vpp] VXLAN arp response packet is dropped

Hi neale san,

Thank you for your reply.
We used a vpp packet trace.
show trace is no error but on the caputure device,ARP request packet is 
droped.
It happend the same event even L2.

Could you give me some advice?

【Architecture】
  __
|    |→caputure device→IXIA(port 2)
|VPP|
|   |←IXIA(port 1)
|__|

On 2018/07/06 21:39, Neale Ranns (nranns) wrote:
> Hi Satomi
>
> Debugging packet loss is much easier with a VPP packet trace…
>
> Regards,
> neale
>
> -Original Message-
> From:  on behalf of 井上里美 
> Date: Friday, 6 July 2018 at 12:38
> To: "vpp-dev@lists.fd.io" 
> Cc: "Norimasa Asai (noasai)" , エッジ仮想化hcoML 
, 小柳達也様 , 
N転P_西岡孟朗様 
> Subject: [vpp-dev] [pw] [vpp] VXLAN arp response packet is dropped
>
>  The password is here.
>  1j^?iKvC]C;%
>  
>  On 2018/07/06 19:37, 井上里美 wrote:
>  > Hi VPP Team,
>  >
>  > I'm Satomi Inoue and I belong to NTT laboratories.
>  > Could you tell me why ARP response packet is dropped?
>  >
>  > We set up vxlan while looking at
>  > ”Using_VPP_as_a_VXLAN_Tunnel_Terminator”manual.
>  > The procedure is as follows.
>  >
>  > [The result]
>  > ・ARP request packet : IXIA(port2)→VPP→IXIA(port1):OK
>  > ・ARP response packet : IXIA(port1)→VPP→IXIA(port2):NG
>  >  →We checked it by trace command. Loopback interface in VPP drop 
the
>  > ARP response packet.
>  >
>  > [set up vxlan]
>  > 1. Create sub-interface
>  > vpp# create sub-interfaces VirtualFunctionEthernet0/9/0 1
>  > vpp# set interface state VirtualFunctionEthernet0/9/0.1 up
>  >
>  > 2. Create bridge-domain
>  > create bridge-domain 10001 learn 1 forward 1 uu-flood 1 
arp-term 0
>  >
>  > 3. Create Loopback interface
>  > vpp# loopback create mac 1a:2b:3c:4d:5e:6f
>  > vpp# set interface state loop0 up
>  > vpp# set interface ip address loop0 1.1.1.1/32
>  > vpp# set interface ip table loop0 7
>  >
>  > 4. Apply loopback interface to bride-domain
>  > vpp# set interface l2 bridge loop0 10001 bvi
>  >
>  > 5.Apply sub-interface to bride-domain
>  > vpp# set interface l2 bridge VirtualFunctionEthernet0/9/0.1 
10001 0
>  >
>  > 6.Create VXLAN tunnel
>  > vpp# create vxlan tunnel src 1.1.1.1 dst 20.10.0.1 vni 10001
>  > encap-vrf-id 7 decap-next l2
>  > vpp# set interface l2 bridge vxlan_tunnel0 10001 1
>  >
>  > Regards,
>  > Satomi
>  
>  --
>  
>  
>  
>  
>

-- 
-

井上里美(Satomi Inoue)
〒180-8585 東京都武蔵野市緑町3-9-11
PHONE:0422-59-4151
E-MAIL:inoue.sat...@lab.ntt.co.jp




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9862): https://lists.fd.io/g/vpp-dev/message/9862
Mute This Topic: https://lists.fd.io/mt/23669118/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-