Re: [vpp-dev] Compiling NSH_SFC 17.01 plugin for VPP

2017-07-04 Thread Ni, Hongjun
Hi Srikanth, Please use VPP 17.04 release and NSH 17.04 release, which contains majority NSH features and new building system. For building NSH_SFC 17.04, using below commands: cd $Path/nsh_sfc/nsh-plugin/ rm -fr build ./build.sh I just compiled them and it worked well. Regards, Hongjun From

Re: [vpp-dev] 50GE interface support on VPP

2017-07-04 Thread Damjan Marion (damarion)
Hi Daniel, Can you try with this patch? https://gerrit.fd.io/r/#/c/7418/ Regards, Damjan On 4 Jul 2017, at 22:14, Bernier, Daniel mailto:daniel.bern...@bell.ca>> wrote: Hi, I have ConnectX-4 50GE interfaces running on VPP and for some reason, they appear as “Unknown” even when running as 4

[vpp-dev] 50GE interface support on VPP

2017-07-04 Thread Bernier, Daniel
Hi, I have ConnectX-4 50GE interfaces running on VPP and for some reason, they appear as “Unknown” even when running as 40GE. localadmin@sm981:~$ lspci | grep Mellanox 81:00.0 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4] 81:00.1 Ethernet controller: Mellanox Technologie

[vpp-dev] Compilation error: NSH SFC VPP plugin

2017-07-04 Thread Srikanth Lingala
Hi Hongjun, I am trying to compile NSH SFC plugin (17.01) for VPP. While compiling, I am getting the following error for 'nsh_plugin' compilation. But, I can see that a JIRA (https://jira.fd.io/browse/NSHSFC-18?gerritIssueType=IssueOnly ) ticket is generated on the same issue. It's resolved by y

Re: [vpp-dev] A few questions regarding mcast fib

2017-07-04 Thread Neale Ranns (nranns)
Hi, The lookup DPO the route’s path links to needs to be created with: lookup_dpo_add_or_lock_w_fib_index(fib_index, DPO_PROTO_IP4, LOOKUP_MULTICAST, Etc…); This is d

Re: [vpp-dev] A few questions regarding mcast fib

2017-07-04 Thread Nagaprabhanjan Bellari
Hi Neale, I have added a mpls local-label 501 with eos 1 to lookup in multicast table of table_id 3. Basically, I am setting FIB_ENTRY_FLAG_MULTICAST while adding the mpls route. It is displayed as follows in "show mpls fib": -- 501:eos/21 fib:0 index:60 locks:2 src:API refs:1 flags:multicast,

Re: [vpp-dev] how can i include dpdk.h header file in vnet?

2017-07-04 Thread Dave Barach (dbarach)
Please do not introduce dpdk plugin dependencies into interface_api.c. We’ve moved all dpdk dependencies to the dpdk plugin, on purpose. What are you trying to do? Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Samuel S Sent: Tuesday, July 4, 2

[vpp-dev] Compiling NSH_SFC 17.01 plugin for VPP

2017-07-04 Thread Srikanth Lingala
Hi, I am trying to compile NSH SFC plugin 17.01 for VPP. I downloaded the source using the following command: #> git clone https://gerrit.fd.io/r/nsh_sfc -b stable/1701 I execute the below commands, for compilation: #> autoreconf -i -f #> ./con

[vpp-dev] how can i include dpdk.h header file in vnet?

2017-07-04 Thread Samuel S
Hi I want to include header file dpdk.h from src/plugin/dpdk/device to src/vnet/interface_api.c, but when i compile vpp with build.sh, An error occurs in the compilation process. /root/vpp/build-data/../src/vnet/interface_api.c:76:35: fatal error: dpdk/dpdk.h: No such file or directory #include _

Re: [vpp-dev] A query regarding fib_path_ext_init

2017-07-04 Thread Nagaprabhanjan Bellari
I see thanks! the api add_del_route_t_handler too, I realize, does not free the label_stack. Thanks, -nagp On Tue, Jul 4, 2017 at 1:54 PM, Neale Ranns (nranns) wrote: > Hi nagp, > > > > My intention there was to ‘pass ownership’ of the label stack to the > extension. The caller, the owner of th

Re: [vpp-dev] A query regarding fib_path_ext_init

2017-07-04 Thread Neale Ranns (nranns)
Hi nagp, My intention there was to ‘pass ownership’ of the label stack to the extension. The caller, the owner of the rpath, should not then free the label stack. This saves the allocation of a new vector and memcpy. Regards, neale From: on behalf of Nagaprabhanjan Bellari Date: Monday, 3 J