Re: [vpp-dev] broken GRE tunnel

2018-09-19 Thread Neale Ranns via Lists.Fd.Io
Hi Fedro, Thanks for the bug report. Fixed in: https://gerrit.fd.io/r/#/c/14891/ /neale -Original Message- From: on behalf of Fedor Kazmin Date: Wednesday, 19 September 2018 at 10:46 To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] broken GRE tunnel Hello all, I have got an is

Re: [vpp-dev] question about l2vpn with sr mpls

2018-09-19 Thread John Lo (loj) via Lists.Fd.Io
Hi Xue, VPP does support L2VPN with SR-MPLS in latest master, possibly the just released 18.07.1 point release. I only verified it on master and not 18.07.1 myself. Assume we created an SR-MPLS policy: sr mpls policy add bsid 993 next 104 next 105 next 106 We can then create a MPLS tunnel for

[vpp-dev] vnet_classify_add_del_table's mask

2018-09-19 Thread wangchuan...@163.com
Hi all, How can i get the mask, when creating classify table by vapi_classify_add_del_table、java-api-class(classify_add_del_table) or vl_api_classify_add_del_table ? Is there any function already yet? wangchuan...@163.com -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to th

Re: [vpp-dev] VPP's C-type-api example

2018-09-19 Thread Klement Sekera via Lists.Fd.Io
Quoting wangchuan...@163.com (2018-09-19 10:03:40) >I find the feature of the absent vapi. >There exists VALs in ***.api. What is `VAL`? >I copy the >master's [1]src/vpp-api/vapi/vapi_c_gen.py and  > [2]src/vpp-api/vapi/vapi_json_parser.py to >stable/1804,  >but compile fa

Re: [vpp-dev] VPP's C-type-api example

2018-09-19 Thread wangchuan...@163.com
Thank you all. I will upgrade to the next stable branch(> 18.07) at some time in future! To Klement, sorry for the mistake 'VAL', It is VLA(variable-length array) wangchuan...@163.com From: Klement Sekera via Lists.Fd.Io Date: 2018-09-19 19:03 To: wangchuan...@163.com; Ole Troan CC: vpp-dev

Re: [vpp-dev] VPP's C-type-api example

2018-09-19 Thread Klement Sekera via Lists.Fd.Io
Maybe it's something which the older compiler wasn't able to compile. Since the VAPI tests are not part of basic tests, it happens regularly, that something is added to API files, which the vapi compiler can't handle. But extended tests are not run as part of verify, so it gets merged anyway ... O

Re: [vpp-dev] VPP's C-type-api example

2018-09-19 Thread Ole Troan
> I find the feature of the absent vapi. > There exists VALs in ***.api. > > I copy the master's src/vpp-api/vapi/vapi_c_gen.py and > src/vpp-api/vapi/vapi_json_parser.py to stable/1804, > but compile failed! > --- > configure: creating ./config.status

Re: [vpp-dev] VPP's C-type-api example

2018-09-19 Thread wangchuan...@163.com
I find the feature of the absent vapi. There exists VALs in ***.api. I copy the master's src/vpp-api/vapi/vapi_c_gen.py and src/vpp-api/vapi/vapi_json_parser.py to stable/1804, but compile failed! --- configure: creating ./config.status config.status:

Re: [vpp-dev] VPP's C-type-api example

2018-09-19 Thread wangchuan...@163.com
Hi Klement, There have "autoreply define classify_add_del_session" in classify.api . And /usr/include/vnet/classify/classify.api.h have the "vl_api_classify_add_del_session". And the java jar have the "classify_add_del_session" class too! But the classify.api.vapi.h don't have !!! Regards

[vpp-dev] broken GRE tunnel

2018-09-19 Thread Fedor Kazmin
Hello all, I have got an issue with GRE encapsulation, need some help. VPP creates broken tunnel, no actial connectivity. Both stable/1804 and master, Ubuntu Xenial, gcc 5.4.0 Steps to reproduce: 1. Create and configure veth pair     ip link add name veth0 type veth peer name vpp0     ip link set

[vpp-dev] question about double default buffer free list

2018-09-19 Thread Liu Anhua
Hi Damijan, When initializing, many modules will create one or more buffer free lists. For example, ip4_lookup creates a free list named 'ip4 arp'. In the function that creates the buffer free list, if the buffer_free_list_pool in buffer_main is Empty, will create a free list named 'default', bu