Re: [vpp-dev] new next_node caused Segmentation fault

2018-05-25 Thread Dave Barach
Did you notice how many nodes set .n_next_nodes = IP_LOCAL_N_NEXT? Go do something about ip6_local_node, or better yet: use vlib_node_add_next(..) to add an arc from ip4_local_node to ethernet-input... D. From: xulang Sent: Friday, May 25, 2018 11:15 PM To: Dave Barach (dbarach) Cc: vpp-dev@l

Re: [vpp-dev] new next_node caused Segmentation fault

2018-05-25 Thread xulang
yeah, ~0 is not right, but I only changed "ip_local_next_t" and "VLIB_REGISTER_NODE (ip4_local_node)" This is backtrace. (gdb) bt #0 0x7776e73d in vlib_get_node (i=4294967295, vm=0x779aa2a0 ) at /home/wangzy/VBRASV100R001_new_trunk/vpp1704/build-data/../src/vlib/node_funcs

Re: [vpp-dev] dot1ad tag

2018-05-25 Thread John Lo (loj)
I just submitted a patch. Can you give it a try if this resolve the problem? -John https://gerrit.fd.io/r/#/c/12750/ From: Mehran Memarnejad Sent: Friday, May 25, 2018 1:24 PM To: John Lo (loj) ; vpp-dev@lists.fd.io Subject: Re: dot1ad tag Without tag-rewrite configuration, everything works we

[vpp-dev] Q on build failure and memory requirement

2018-05-25 Thread Ravi Kerur
Hi, I am seeing following build errors with latest vpp git repo. CPU on the system I am building supports 'avx2'. Commenting 'avx2' in vnet.am builds succesfully. However, I would like to use 'avx2' version of the library. I have followed exact build instructions given in wiki. /***build erro

[vpp-dev] gdb break point of plugin not hit

2018-05-25 Thread Harish Patil
Hi, I built VPP using make -j build TAG=vpp_debug with export SAMPLE_PLUGIN=yes; The VPP release is origin/stable/1710. First I verified that sample_plugin.so is loaded. [root@localhost vpp]# make run .. load_one_plugin:184: Loaded plugin: pppoe_plugin.so (PPPoE) load_one_plugin:184: Loaded plu

Re: [vpp-dev] dot1ad tag

2018-05-25 Thread Mehran Memarnejad
Without tag-rewrite configuration, everything works well. But I want to activate QinQ feature, so I need to add service provider tag (sp-tag) by using dot1ad tag. Any more idea to solve the problem?? On Friday, May 25, 2018, John Lo (loj) wrote: > The tag-rewrite (VTR) configuration looks right

Re: [vpp-dev] [csit-dev] report 1801.2

2018-05-25 Thread Jan Gelety
+ vpp_dev Hello, Please, find update in attached file. All needed jobs will be finish during the weekend so we can provide release 18.01.2 report next week. Following issues we have faced: 1. MEMIF tests – no traffic passing -It was related to backporting of CSIT MRR tests, fixe

Re: [vpp-dev] dot1ad tag

2018-05-25 Thread John Lo (loj)
The tag-rewrite (VTR) configuration looks right. I looked at the l2_vtr_process() function in l2_vtr.h to check how it checks for errors. This is the error drop path: /* if not enough tags to pop then drop packet */ if (PREDICT_FALSE ((vnet_buffer (b0)->l2.l2_len - 12) < config->pop_bytes))

Re: [vpp-dev] new next_node caused Segmentation fault

2018-05-25 Thread Dave Barach
You're either passing ~0 to vlib_get_node - or causing the infra to do so - which can't possibly work: vlib_get_node (i=4294967295,vm=0x779aa2a0 ) You didn't send a full backtrace so there's nothing more I can do to help. D> From: vpp-dev@lists.fd.io On Behalf Of xulang Sent: Friday,

Re: [vpp-dev] dot1ad tag

2018-05-25 Thread Mehran Memarnejad
Sw_if_index 6 is the mpls tunnel0 and sw_if_index 3 is the GigabitEthernet5/0/0 on which I have set interface tag-rewrite push dot1ad 12 (both of them are attached to bridge1) Gigabitethernet5/0/0 is the PE's interface toward customer, meaning that I guess if it does not drop the packet, VPLS

[vpp-dev] new next_node caused Segmentation fault

2018-05-25 Thread xulang
Hi all, I tried to add a new next node to the node "ip4_local_node", but which caused a segmentation fault, is there something I have missed? typedef enum { IP_LOCAL_NEXT_DROP, IP_LOCAL_NEXT_PUNT, IP_LOCAL_NEXT_UDP_LOOKUP, IP_LOCAL_NEXT_ICMP, IP_LOCAL_NEXT_CAPWAP, IP_LOCAL_N_NEXT, }

Re: [vpp-dev] vpp with dpdk shared library

2018-05-25 Thread Michael Lilja
Hi, I had to use another DPDK source base also as shared library, so I went though a few trails before I got things to work. I have documented my quirks here: https://www.napatech.com/vpp-200g-nic/ I hope it is helpful. /Michael From: vpp-dev@lists.fd.io On Behalf Of Catalin Fierut Sent: 24.