[vpp-dev] ipsec vpn

2018-12-16 Thread xulang
Hi all, How can we use IPSEC VPN to protect multi subnetworks. Such as 10.11.0.0/16 and 192.168.0.0/16. Do they negotiate this information through IKEV2 AUTH procedure? And the code show that there is only one TS per profile, how can that protect multi subnet. Regards,

[vpp-dev] Out of memory ?

2018-11-27 Thread xulang
Hi all, I sent 4 MACs l2 packets to VPP, then it crashed, and below is the stack. out of memory? How can I get this correct? (gdb) bt #00x004074ef in debug_sigabrt (sig=) at /syslog/share/VBRASV100R001_new_trunk/vpp1704/build-data/../src/vpp/vnet/main.c:63 #1

[vpp-dev] PPPOE

2018-11-25 Thread xulang
Hi all, I would like to use pppoe server and pppoe client, is there any material about this? Regards, Xlangyun-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11398): https://lists.fd.io/g/vpp-dev/message/11398 Mute This Topic:

[vpp-dev] IPSEC VPN NAT Traversal

2018-11-24 Thread xulang
Hi all, It seems that this function does not work. ipsec: support UDP encap/decap for NAT traversal Regards, Xlangyun-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11393): https://lists.fd.io/g/vpp-dev/message/11393 Mute This Topic:

Re: [vpp-dev] vlib_buffer_alloc error

2018-11-10 Thread xulang
My version is 17.04. At 2018-11-10 16:38:17, "xulang" wrote: Hi all, Sometimes(pretty many times), we get strange buffer index and which can cause fatal problem to vpp when we use ipsec vpn. Here are some details in function fill_free_list: (gdb) p mb0 $31 = (struc

[vpp-dev] vlib_buffer_alloc error

2018-11-10 Thread xulang
Hi all, Sometimes(pretty many times), we get strange buffer index and which can cause fatal problem to vpp when we use ipsec vpn. Here are some details in function fill_free_list: (gdb) p mb0 $31 = (struct rte_mbuf *) 0x7f4a796e3740 (gdb) p mb1 $32 = (struct rte_mbuf *) 0x7f4a796e2d00 (gdb) p

[vpp-dev] openwrt gdb threads

2018-09-29 Thread xulang
Hi all, I tried to run VPP on multiple CPU cores on Openwrt system. And it did work, more than one CPU cores were consumed 100 percent resources. But I don't know why there is only one thread when we use cmd "info threads" in gdb . Is there any clue here? Regards,

[vpp-dev] ipsec vpn(site to site)

2018-08-29 Thread xulang
Hi all, I'd like to build a site to site VPN tunnel with vpp only. Because VPP can't be SA initiator, so we can't use IKE2, so how can we build this, is there any files about this? Regards, Xiaoxu -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

Re: [vpp-dev] target symbol

2018-07-29 Thread xulang
. From:vpp-dev@lists.fd.io On Behalf Of xulang Sent: Sunday, July 29, 2018 2:43 AM To:vpp-dev@lists.fd.io Subject: [vpp-dev] target symbol Hi all, How can I reserve symbols in the target file vpp, what should I do to the Makefile under build-root. Regards, xiaoC -=-=-=-=-=-=-=-=

[vpp-dev] target symbol

2018-07-29 Thread xulang
Hi all, How can I reserve symbols in the target file vpp, what should I do to the Makefile under build-root. Regards, xiaoC-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9964): https://lists.fd.io/g/vpp-dev/message/9964 Mute This Topic:

Re: [vpp-dev] dpdk & vpp

2018-07-27 Thread xulang
-vpp-native/dpdk/include/dpdk/rte_mbuf.h:1242 1242if (likely(NULL != (m = __rte_pktmbuf_prefree_seg(m { (gdb) At 2018-07-27 17:05:29, "xulang" wrote: Hi Ray, It seems that it does not work, but I am not about that, please check this for me. VPP.mk: vpp_uses_external_dpdk = y

Re: [vpp-dev] dpdk & vpp

2018-07-27 Thread xulang
stall them and they should be running with your modified DPDK. I hope the instructions help. Thanks, -Ray From:vpp-dev@lists.fd.io On Behalf Of xulang Sent: Thursday, July 26, 2018 5:58 PM To:vpp-dev@lists.fd.io Subject: [vpp-dev] dpdk & vpp Hi all, I have changed dpdk drive

[vpp-dev] dpdk & vpp

2018-07-26 Thread xulang
Hi all, I have changed dpdk drivers, how can I make that change effective? The cmd "dpkg -l |grep vpp" does not include anything related to dpdk. I am look forward to hearing from u. Regards, xiaoC -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

[vpp-dev] CPU instructions

2018-06-26 Thread xulang
Hi all, We edited vpp.mk like this: vpp.mk # vector packet processor vpp_arch = native ifeq ($(shell uname -m),x86_64) vpp_march = core2# Nehalem Instruction set vpp_mtune = intel# Optimize for Sandy Bridge else ifeq ($(shell uname -m),aarch64) ifeq ($(TARGET_PLATFORM),thunderx)

[vpp-dev] vpp openwrt

2018-06-21 Thread xulang
Hi all, Is there anybody have tried to build vpp for OpenWRT? Whether if there are some files about this. Regards, Xlangyun -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9668): https://lists.fd.io/g/vpp-dev/message/9668 Mute This Topic:

[vpp-dev] dpdk drivers

2018-06-21 Thread xulang
Hi all I have changed something in the function "eth_em_xmit_pkts", which belong to e1000 driver. But I found out that my change does not work. Its object file is "librte_pmd_e1000.a", but I do not know how it connected to vpp. What can I do to make this change effective. Regards, Xlangyun

[vpp-dev] VPP & CPU

2018-06-15 Thread xulang
Hi all, I want to run vpp on those kinds of CPU, such as N2600 D525 2117U. Is that possible? How can I do it if I build vpp on CPU I7? Regards, xlangyun -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9621):

[vpp-dev] VPP 17.04 Bridge

2018-06-12 Thread xulang
Hi all, If I add more than four phy interfaces into one bridge, VPP will corrupt at many different places. Is there any bug in this feature? Regards, Ewan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9592):

[vpp-dev] VAT

2018-06-05 Thread xulang
Hi all, Is there any files to tell us when and how module vat is been used? Regards, Xlangyun

[vpp-dev] something wrong about memory

2018-06-02 Thread xulang
Hi all, I have stopped my vpp process and its threads in gdb, and I even did not bind any phy interfaces, but it consumes memory continuously. What should I do? I hope hearing from you, thanks. Below is some information. Thread 1 "vpp_main" hit Breakpoint 2, dispatch_node

Re: [vpp-dev] vpp's memory is leaking

2018-05-29 Thread xulang
Hi all, I closed transparent hugepage function, then the RES memory does not increase anymore, is that ok? echo never > /sys/kernel/mm/transparent_hugepage/enabled echo never > /sys/kernel/mm/transparent_hugepage/defrag Regards 在 2018-05-29 16:01:27,"xulang" 写道: Hi

[vpp-dev] vpp's memory is leaking

2018-05-29 Thread xulang
Hi all, My version is 17.04, I encountered a memory leaking problem, the RES memory of VPP is increasing slowly and continuously. I shutdown all interfaces and set break points on memory allocate functions, such as malloc,calloc,realloc, mmap, vmalloc, clib_mem_alloc, mheap_alloc_with_flags.

Re: [vpp-dev] show trace caused "out of memory"

2018-05-28 Thread xulang
Hi all, my mistake, it is working. Regards 在 2018-05-29 09:41:16,"xulang" 写道: Hi, Below is part of my startup.conf. The default heapsize is 512M, so I set 2G heapsize for 4 CPU cores. But it does not work, nothing changed, any ideas? main-core 1 ## Set logical CPU cor

Re: [vpp-dev] show trace caused "out of memory"

2018-05-28 Thread xulang
ker thread. F.g., Interface Counters, Error counters … Regards, Kingwel From:vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of xulang Sent: Monday, May 28, 2018 6:16 PM To:vpp-dev@lists.fd.io Subject: [vpp-dev] show trace caused "out of memory" Hi all, When we o

Re: [vpp-dev] show trace caused "out of memory"

2018-05-28 Thread xulang
ng in multi-core environment, vpp definitely need more memory, because some global variables have to be expanded to have multiple copies – per worker thread. F.g., Interface Counters, Error counters … Regards, Kingwel From:vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of xul

[vpp-dev] show trace caused "out of memory"

2018-05-28 Thread xulang
Hi all, When we only use one CPU core, the cmd "show trace max 5000" works well. But it will crash when we use four CPU cores because of "out of memory". Below are some information, any guides? root@vBRAS:~# cat /proc/meminfo MemTotal:4028788 kB MemFree: 585636 kB MemAvailable:

[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,

[vpp-dev] IKEV2

2018-05-07 Thread xulang
Hi all, Do we have plan to make IKEV2 support the role sponsor? Regards, xulang

[vpp-dev] IPSEC VPN

2018-04-08 Thread xulang
Hi all,Here are the ipsec vpn configuration example.Does this command "set interface ipsec spd GigabitEthernet0/8/0 1" mean that all traffic comes through this int will be processed by ipsec?How cloud I only protect some specific traffic and leave the other traffic to the normal

[vpp-dev] vpp bridge int

2018-04-02 Thread xulang
Hi all, My vpp version is 17.04. Why there is no bridge int, how could I configure ip to one bridge domain? Regards, xulang

[vpp-dev] uninstall vpp and dpdk

2018-03-17 Thread xulang
Hi, How do I uninstall vpp and dpdk compeletely? Regards, xulang

[vpp-dev] vpp & dpdk

2018-03-17 Thread xulang
Hi, How does vpp link dpdk related target files, such as librte*.a, or what are these static library file linked to? I have compiled and installed VPP, if I want to change dpdk drivers, how do I make this change go to effect? Regards, Xulang

Re: [vpp-dev] dpdk drivers

2018-03-15 Thread xulang
g from you. Regards, Xulang

[vpp-dev] download specific version vpp

2018-03-08 Thread xulang
Hi all, How could I download one specific version vpp, for example if I would like to download version 17.02 with git, what should I do? Regards, xulang

[vpp-dev] dpdk drivers

2018-03-08 Thread xulang
7slave_eth_dev->data->dev_conf.intr_conf.lsc = 1; 1328 1329/* If RSS is enabled for bonding, try to enable it for slaves */ (gdb) Regards, xulang

Re: [vpp-dev] bond carrier down

2018-03-04 Thread xulang
I have only one vm with bond interface, and this vm is connected to a switch, no bond interfaces on the other side, this is the reason why it does not work? I would like to use static bond interface, we still need to configure bond interface on the other side? regards, xulang