Re: [vpp-dev] ALG

2017-06-02 Thread yug...@telincn.com
Hi there, New applications can do this themselves, but what about old applications such as TFTP? Regards, Ewan yug...@telincn.com From: otroan Date: 2017-05-26 16:52 To: yugang CC: vpp-dev Subject: Re: [vpp-dev] ALG Hi there, > Many applications have two channels, one is data chan

[vpp-dev] det nat expire

2017-06-15 Thread yug...@telincn.com
Hi all, Every nat session has it's life time, if only beyond that time, it will be deleted. So what if one user is downloading huge file and the downloading time is beyond the session life time. I have't seen any code on this, am i missed something? Regards, Ewan yug...@t

Re: [vpp-dev] det nat expire

2017-06-15 Thread yug...@telincn.com
Hi, I have found that code, thanks. Regards, Ewan yug...@telincn.com From: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) Date: 2017-06-15 16:19 To: yug...@telincn.com; vpp-dev Subject: RE: [vpp-dev] det nat expire Hi, Life time (expire time) is updated when packet is

[vpp-dev] PPPOE

2017-06-15 Thread yug...@telincn.com
Hi all Is there any plan to surpport pppoe? Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] PPPOE

2017-06-16 Thread yug...@telincn.com
Hi, Linux's PPPoE is very slow on creating new session, i will figure that out. Thanks, Ewan yug...@telincn.com From: Vincent Jardin Date: 2017-06-17 04:29 To: yug...@telincn.com CC: vpp-dev Subject: Re: [vpp-dev] PPPOE FYI, 6WIND provides a full PPP stack (L2TP, PPPoE) server and cl

Re: [vpp-dev] PPPOE

2017-06-25 Thread yug...@telincn.com
Is this framework will be applied to IPoE? Regards, Ewan yug...@telincn.com From: Ni, Hongjun Date: 2017-06-26 10:39 To: Ni, Hongjun; yug...@telincn.com; Vincent Jardin CC: vpp-dev Subject: RE: [vpp-dev] PPPOE To make it clear: The PPPoE plugin will contains fast path graph node and slow

[vpp-dev] tx_packet_error

2017-07-12 Thread yug...@telincn.com
12 We have checked that VNET_SW_INTERFACE_FLAG_ADMIN_UP and VNET_HW_INTERFACE_FLAG_LINK_UP are both setted. Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] trace

2017-07-12 Thread yug...@telincn.com
Hi all, Cmd "vppctl trace add" only work for input nodes? Such as "dpdk-input" and "af-packet-input". I found out that cmd "vppctl trace add ip4-input 1000" doesn't work. Regards, Ewan yug...@telincn.com ___

Re: [vpp-dev] tx_packet_error

2017-07-14 Thread yug...@telincn.com
Hi all, With cmd "vppctl pcap tx trace on", I have caught tx packets, any guides? Regards, Ewan yug...@telincn.com From: yug...@telincn.com Date: 2017-07-13 12:13 To: vpp-dev Subject: tx_packet_error Hi all, After hours of running, vpp can rx packets, but can't tx packets. Her

Re: [vpp-dev] trace

2017-07-14 Thread yug...@telincn.com
Thanks, Ewan yug...@telincn.com From: Dave Barach (dbarach) Date: 2017-07-13 19:59 To: Luke, Chris; yug...@telincn.com; vpp-dev Subject: RE: [vpp-dev] trace Folks, If one wants/needs to trace packets which vpp creates from whole cloth, here’s how to do it. Typically, it’s an input-node

Re: [vpp-dev] tx_packet_error

2017-07-14 Thread yug...@telincn.com
clue? Regards, Ewan yug...@telincn.com From: yug...@telincn.com Date: 2017-07-15 10:21 To: vpp-dev Subject: Re: tx_packet_error Hi all, With cmd "vppctl pcap tx trace on", I have caught tx packets, any guides? Regards, Ewan yug...@telincn.com From: yug...@telincn.com Date: 201

Re: [vpp-dev] tx_packet_error

2017-07-15 Thread yug...@telincn.com
Hi all, I had found out a mistake, thanks. Regards, Ewan yug...@telincn.com From: yug...@telincn.com Date: 2017-07-15 14:36 To: vpp-dev Subject: Re: [vpp-dev] tx_packet_error Hi all, If vpp is running on the vm, everything is ok. But on physical host system, somethimes it can't work af

[vpp-dev] BOND

2017-08-02 Thread yug...@telincn.com
Hi all, Is there any plan to configure bond interface with cmd? Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Workers for SNAT may compete for the same outside address and port?

2017-08-03 Thread yug...@telincn.com
Hi, Please let us know about it then, thanks. Regards, Ewan yug...@telincn.com From: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) Date: 2017-08-03 13:32 To: chupenghong; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Workers for SNAT may compete for the same outside address and

[vpp-dev] equal-cost route by source

2017-08-08 Thread yug...@telincn.com
Hi, I've configured several equal-cost routes, and i also want some src ip flows to be forwarded through the specified interface, not follow the equal-cost route results, any guides? Regards, Ewan yug...@telincn.com ___ vpp-dev mailing lis

Re: [vpp-dev] equal-cost route by source

2017-08-08 Thread yug...@telincn.com
Hi, I mean that if a src ip flow was forwarded through interface A, then no matter what the l4 ports are, all this src ip flows must be forwarded through interface A. Can we do this in VPP? Regards, Ewan yug...@telincn.com From: yug...@telincn.com Date: 2017-08-08 22:23 To: vpp-dev Subject

[vpp-dev] Policy routing

2017-08-11 Thread yug...@telincn.com
Hi, Does vpp surpport policy routing? Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Policy routing

2017-08-13 Thread yug...@telincn.com
Thanks Regards, Ewan yug...@telincn.com From: Steve Shin (jonshin) Date: 2017-08-11 23:01 To: yug...@telincn.com; vpp-dev Subject: Re: [vpp-dev] Policy routing Hi Ewan, In VPP we have a generic classifier feature that can be used to filter user specific traffic to support PBR. User can

[vpp-dev] snat and fragmented packet

2017-09-03 Thread yug...@telincn.com
Hi all, Does node snat surpport fragmented packet? My vpp version is 17.07. Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] acl priority

2017-09-06 Thread yug...@telincn.com
Hi all, Does vpp acl sourpport ajust priority? I have configured ten acl rules, if i want to move the tenth acl to be the first acl, is there a easy way to do this? Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https

[vpp-dev] Build vpp on openwrt

2017-09-08 Thread yug...@telincn.com
Hi all, Is there anyone try to build vpp on openwrt? Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] acl priority

2017-09-08 Thread yug...@telincn.com
Thanks yug...@telincn.com From: Andrew Yourtchenko Date: 2017-09-06 18:24 To: yug...@telincn.com CC: vpp-dev Subject: Re: [vpp-dev] acl priority Hi, If we you talk about acl plugin then the ACLs are evaluated in the order of them applied and same about the ACEs within an acl - to change the

Re: [vpp-dev] Build vpp on openwrt

2017-09-10 Thread yug...@telincn.com
Hi, It's Linux system and It's easy to prune modules in openwrt. Regards, Ewan yug...@telincn.com From: Guo, Ruijing Date: 2017-09-11 08:34 To: yug...@telincn.com; vpp-dev Subject: RE: [vpp-dev] Build vpp on openwrt Hi, I am wondering what usage for vpp on openwrt. Thanks, -Ruij

Re: [vpp-dev] Build vpp on openwrt

2017-09-12 Thread yug...@telincn.com
Hi. It's compiled for x86 target. Would you like to give a shot? Regards, Ewan yug...@telincn.com From: Pierre Pfister (ppfister) Date: 2017-09-11 15:24 To: yug...@telincn.com CC: vpp-dev Subject: Re: [vpp-dev] Build vpp on openwrt Hello. I didn't try it. But the hardest is proba

[vpp-dev] coross compile

2017-09-15 Thread yug...@telincn.com
Hi all. Is there a way to cross compile vpp? How to compile vpp for ubuntu on centos? Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] snat and fragmented packet

2017-09-18 Thread yug...@telincn.com
Hi, When will this be ok, any plan? Regards, Ewan yug...@telincn.com From: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) Date: 2017-09-04 13:17 To: yug...@telincn.com; vpp-dev Subject: RE: [vpp-dev] snat and fragmented packet Hi, NAT plugin currently doesn’t support

[vpp-dev] local packets distribute

2017-09-30 Thread yug...@telincn.com
Hi all, I have one main core and five worker cores, is there a way to deliver some specific packets from one core to another? Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp

[vpp-dev] l2 forward

2017-10-13 Thread yug...@telincn.com
Hi all, Why there is no vlan l2 forward, only bridge forward ? Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] GRE error on vpp 17.04

2017-10-23 Thread yug...@telincn.com
0down root@test:~# vppctl set int ip address gre0 9.9.9.1/24 exec error: Misc root@vbras:~# Regards, EWAN yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] GRE error on vpp 17.04

2017-10-24 Thread yug...@telincn.com
: Misc Regards, Ewan yug...@telincn.com From: Neale Ranns (nranns) Date: 2017-10-24 00:06 To: yug...@telincn.com; vpp-dev Subject: Re: [vpp-dev] GRE error on vpp 17.04 Hi Ewan, Are you adding an overlapping sub-net? Can we see please: sh int addr regards, neale From: on behalf of &quo

Re: [vpp-dev] GRE error on vpp 17.04

2017-10-24 Thread yug...@telincn.com
Hi neale, Do we need to set ip address on gre interface? Regards, Ewan yug...@telincn.com From: Neale Ranns (nranns) Date: 2017-10-24 19:07 To: yug...@telincn.com; vpp-dev Subject: Re: [vpp-dev] GRE error on vpp 17.04 Hi Ewan, I have more positive results; vagrant@localhost:/vpp$ vppctl

[vpp-dev] IPV6 Forwarding error

2017-11-04 Thread yug...@telincn.com
Hi all, Here is ipv6 forwarding error, my version is 17.04. Any idea? Thread 1 "vpp_main" received signal SIGSEGV, Segmentation fault. mfib_forward_lookup (is_v4=0, frame=0x7fffb8626f00, node=0x7fffb5cffe80, vm=0x779aa2a0 ) at /home/wangzy/Desktop/VBRASV100R001/vpp1704/build-data/../src

Re: [vpp-dev] IPV6 Forwarding error

2017-11-05 Thread yug...@telincn.com
Hi neale, I've added a protection on it, but should it be invalid somehow? Regards, Ewan yug...@telincn.com From: Neale Ranns (nranns) Date: 2017-11-04 23:01 To: yug...@telincn.com; vpp-dev Subject: Re: [vpp-dev] IPV6 Forwarding error Hi Ewan, I would guess that fib_index0 is in

Re: [vpp-dev] IPV6 Forwarding error

2017-11-05 Thread yug...@telincn.com
!= i6mn); return (i6mn->i6mn_entry); } Regards, Ewan yug...@telincn.com From: yug...@telincn.com Date: 2017-11-06 09:17 To: Neale Ranns (nranns); vpp-dev Subject: Re: Re: [vpp-dev] IPV6 Forwarding error Hi neale, I've added a protection on it, but should it be invalid somehow? Rega

[vpp-dev] network loop

2017-11-16 Thread yug...@telincn.com
4160b00 in ?? () #13 0x7f81f481a92d in vlib_unix_main (argc=, argv=) at /home/wangzy/VBRASV100R001/vpp1704/build-data/../src/vlib/unix/main.c:606 Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.

Re: [vpp-dev] network loop

2017-11-22 Thread yug...@telincn.com
Hi all, If I set down one of its interface and set up it, then everything is OK. Any ideas? Regards, Ewan yug...@telincn.com From: yug...@telincn.com Date: 2017-11-17 12:21 To: vpp-dev Subject: network loop Hi all, My version is 17.04, sometimes there will be a large number of packets

[vpp-dev] cmd buf length

2017-11-22 Thread yug...@telincn.com
Hi all, Does vppctl cmd can't show too characters, if we need to, how can I fix it. Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] UDP Local Segmentation fault

2017-12-22 Thread yug...@telincn.com
) at /home/vbras/44/VBRASV100R001/vpp1704/build-data/../src/vlib/main.c:1736 #9 0x77790f23 in thread0 (arg=140737347494560) at /home/vbr Regards Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] bond

2018-01-03 Thread yug...@telincn.com
HI all, Does vpp surpport interface bond ? How do I configure them? Regards, Ewan ewan ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] bond

2018-01-03 Thread yug...@telincn.com
Hi Ole, Yes, I need 802.3ad interface, is there a way to do it? Regards, Ewan ewan yugang 杭州全维技术股份有限公司 北京研发部门 手机:17310665879 Q Q : 185237808 邮箱:yug...@telincn.com 地址:北京市朝阳区望京西路金隅国际G座2305 网站:http://www.telincn.com From: Ole Troan Date: 2018-01-03 17:40 To: Jim Thompson CC: lin huang; yug

Re: [vpp-dev] bond

2018-01-03 Thread yug...@telincn.com
Ole, I found out that there is only one way to do this, write them into the vpp start-up.conf, but there is no cmd to do such task, am I right? Regards, Ewan ewan From: Ole Troan Date: 2018-01-03 17:58 To: yug...@telincn.com CC: Jim Thompson; lin huang; vpp-dev Subject: Re: [vpp-dev] bond

Re: [vpp-dev] bond

2018-01-03 Thread yug...@telincn.com
Thanks, is there a plan to surpport 802.3ad? Regards, Ewan ewan From: John Lo (loj) Date: 2018-01-04 00:05 To: yug...@telincn.com; otroan CC: vpp-dev Subject: RE: [vpp-dev] bond VPP does support static interface bonding via DPDK link bonding PMD: http://dpdk.org/doc/guides/prog_guide

[vpp-dev] macro definition

2016-10-12 Thread yug...@telincn.com
Hi, there Thanks a lot for your time to read this. Where is the definitions of "ETHERNET_TYPE_ARP" "ETHERNET_TYPE_IP4". How can i add a new protocol type such as pppoe. Best wishes By Ewan yug...@telincn.com ___ vpp-dev

Re: [vpp-dev] Some problems about VPP/snat

2016-10-12 Thread yug...@telincn.com
Hi, Can we use N:1 SNAT now? Regards, Ewan yug...@telincn.com From: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) Date: 2016-10-12 19:42 To: liyu...@telincn.com; vpp-dev Subject: Re: [vpp-dev] Some problems about VPP/snat Hi, SNAT plugin is part of vpp-plugins package. SANT

Re: [vpp-dev] Some problems about VPP/snat

2016-10-12 Thread yug...@telincn.com
Hi, I did not see the guide for N:1 SNAT configuration, could you show me any clue? Regards, Ewan yug...@telincn.com From: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) Date: 2016-10-12 20:03 To: yug...@telincn.com; 李原1; vpp-dev Subject: RE: Re: [vpp-dev] Some problems about

Re: [vpp-dev] macro definition

2016-10-13 Thread yug...@telincn.com
Thanks. yug...@telincn.com From: Dave Barach (dbarach) Date: 2016-10-13 19:20 To: Burt Silverman; yug...@telincn.com CC: vpp-dev Subject: RE: [vpp-dev] macro definition Here’s what I do... Use cscope [or some other tool] to search for the text string ETHERNET_TYPE_##. Symbols such as

[vpp-dev] Doxygen

2016-11-11 Thread yug...@telincn.com
on "Show HTML output", but found nothing about CLI like "ip route add", any ideas. My VPP's version is 16.09. Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Doxygen

2016-11-11 Thread yug...@telincn.com
That's helpful, thanks. Regards, Ewan yug...@telincn.com From: John Lo (loj) Date: 2016-11-12 13:44 To: yug...@telincn.com; vpp-dev Subject: RE: [vpp-dev] Doxygen For VPP 16.09, doxgen generated documentation can be found here: https://docs.fd.io/vpp/16.09/ Regards, John From: vp

[vpp-dev] route configuration

2016-11-16 Thread yug...@telincn.com
normal way to do this? Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] L3 redirect

2016-12-01 Thread yug...@telincn.com
Hi, all I would like to pick out those packets with specific TCP port and source ips not in some ip table, how can i do it. Regards, By Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp

[vpp-dev] 回复: Can not see any interface but local0

2016-12-02 Thread yug...@telincn.com
Hi, May be that your nic is not support VTx, just try to switch to intel nic. By Ewan yug...@telincn.com 发件人: 王鹏 发送时间: 2016-12-02 15:25 收件人: vpp-dev 主题: [vpp-dev] Can not see any interface but local0 Hello, anyone When viewing the interfaces, (use command: sudo vppctl show interface), I

[vpp-dev] startup.conf

2016-12-14 Thread yug...@telincn.com
Hi, all Thanks for your time. Where could i get a document which describes how to write startup.conf. I would like to configure dpdk parameters, such as kni ports num and so on. Best wishes, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp

Re: [vpp-dev] startup.conf

2016-12-14 Thread yug...@telincn.com
Thanks , everyone I have allready found that page. Best wishes, Ewan yug...@telincn.com From: yug...@telincn.com Date: 2016-12-15 11:52 To: vpp-dev Subject: startup.conf Hi, all Thanks for your time. Where could i get a document which describes how to write startup.conf. I would like to

Re: [vpp-dev] startup.conf

2016-12-14 Thread yug...@telincn.com
Thank you yug...@telincn.com From: John Lo (loj) Date: 2016-12-15 11:57 To: yug...@telincn.com; vpp-dev Subject: RE: [vpp-dev] startup.conf https://wiki.fd.io/view/VPP/Command-line_Arguments#.22dpdk.22_parameters From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On

Re: [vpp-dev] startup.conf

2016-12-15 Thread yug...@telincn.com
Sorry to bother, I have figure it out, thanks. yug...@telincn.com From: yug...@telincn.com Date: 2016-12-15 18:06 To: 余刚; John Lo (loj); vpp-dev Subject: Re: Re: [vpp-dev] startup.conf Hi all, VPP could not get up with the first startup.conf, but it's ok with second startup.conf. Why

[vpp-dev] VPP CRASH

2016-12-15 Thread yug...@telincn.com
# Connection closed by foreign host. Disconnected from remote host(Workstation) at 18:13:38. Why, is there something missed? yug...@telincn.com From: yug...@telincn.com Date: 2016-12-15 18:06 To: 余刚; John Lo (loj); vpp-dev Subject: Re: Re: [vpp-dev] startup.conf Hi all, VPP could not get up with

[vpp-dev] KNI Interface

2016-12-15 Thread yug...@telincn.com
Hi all I would like to use kni interface on vpp to connect vpp and linux kernel, is there any guides? Best wishes, By Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] strange phenomenon of interface

2016-12-27 Thread yug...@telincn.com
interface. For example, if the registering interface is "host-vpp0", it's ok to find it with func " hash_get_mem ", if the registering interface is "host-vpp1", it's failed to find "host-vpp0" which has already

[vpp-dev] compile error

2016-12-28 Thread yug...@telincn.com
Hi, all, thanks for your time. Please help me to check this, how to fix this compile error, thanks. It's ok on some vms, but not all vms, why. Building vlib in /usr/src/vpp1609/build-root/build-vpp-native/vlib make[2]: Entering directory `/usr/src/vpp1609/build-root/build-vpp-native/vl

Re: [vpp-dev] strange phenomenon of interface

2016-12-31 Thread yug...@telincn.com
; u8 next_hop_address[16]; }) vl_api_ip_add_del_route_t; Regards, By Ewan. yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] admin_up_down flag for loopback interface

2017-01-02 Thread yug...@telincn.com
I think you do not need to do this, because the control plane will do such route stuff, but the premise is that you have listened to the change of the control plane. yug...@telincn.com From: Matej Klotton -X (mklotton - PANTHEON TECHNOLOGIES at Cisco) Date: 2017-01-02 23:29 To: Neale Ranns

Re: [vpp-dev] strange phenomenon of interface

2017-01-03 Thread yug...@telincn.com
an: GigabitEthernet2/6/0 6.0.0.3/32 unicast-ip4-chain [@0]: dpo-load-balance: [index:14 buckets:1 uRPF:13 to:[0:0]] [0] [@2]: dpo-receive: 6.0.0.3 on GigabitEthernet2/6/0 10.0.0.0/24 unicast-ip4-chain [@0]: dpo-load-balance: [index:12 buckets:1 uRPF:11 to:[0:0]] [0] [@0]: dpo-drop ip

[vpp-dev] multicast eth_header dislocation

2017-01-10 Thread yug...@telincn.com
Hi, thanks for your time to read this. In function "ip4_lookup_multicast", the ethernet header is one byte dislocation, which we get it throuch api "ethernet_buffer_get_header". It's right in the unicast process like "ip4_lookup", is there somethin

[vpp-dev] rte_timer

2017-01-15 Thread yug...@telincn.com
Hi, all. If i would like to use dpdk timer, what extra configuration i need to make? Since that if i just call func " rte_eal_init(argc, argv)" in vpp, it always reminds me that there is not enough DPDK mem, why? Regards, Ewan. yug...@t

Re: [vpp-dev] rte_timer

2017-01-15 Thread yug...@telincn.com
sr/src/VPP16/vpp1609/build-root/build-vpp-native/dpdk/dpdk-16.07/lib/librte_timer/rte_timer.c:431 #3 0x0040fe53 in main (argc=26, argv=0xb08810) at /usr/src/VPP16/vpp1609/build-data/../vpp/vnet/main.c:271 (gdb) yug...@telincn.com From: Dave Barach (dbarach) Date: 2017-01-15 21:45 To: y

Re: [vpp-dev] rte_timer

2017-01-16 Thread yug...@telincn.com
I have tried that now, and it's working. Thanks, Ewan yug...@telincn.com From: Damjan Marion Date: 2017-01-16 23:16 To: yugang CC: Dave Barach (dbarach); vpp-dev Subject: Re: [vpp-dev] rte_timer Have you considered to use process nodes instead? If you search forvlib_process_suspen

[vpp-dev] send packet in vpp

2017-01-18 Thread yug...@telincn.com
ip40); b0->current_length = radlen + sizeof (ip4_header_t) + sizeof (udp0); //vlib_put_frame_to_node(vm, ip4_lookup_node.index, f); } } yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] 回复: send packet in vpp

2017-01-19 Thread yug...@telincn.com
Here is my node func. VLIB_REGISTER_NODE( ip4_timer_test_node) = { .function = ip4_timer_test_process, .type = VLIB_NODE_TYPE_PROCESS, .name = "ip4-timer-test-process", .state = VLIB_NODE_STATE_POLLING, }; Regards, Ewan yug...@telincn.com 发件人: yug...@telincn.com

[vpp-dev] 回复: 回复: send packet in vpp

2017-01-19 Thread yug...@telincn.com
My mistake, sorry to bother, thanks. Regards, Ewan yug...@telincn.com 发件人: yug...@telincn.com 发送时间: 2017-01-19 16:06 收件人: 余刚; vpp-dev 主题: 回复: [vpp-dev] send packet in vpp Here is my node func. VLIB_REGISTER_NODE( ip4_timer_test_node) = { .function = ip4_timer_test_process, .type

[vpp-dev] Tuple Classify

2017-01-20 Thread yug...@telincn.com
Hi, all Is there any ways to redirect specified five tuples packet to a certain node? Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] [discuss] VPP 17.01 Released

2017-01-20 Thread yug...@telincn.com
+1 yug...@telincn.com From: Dave Barach (dbarach) Date: 2017-01-21 07:58 To: Damjan Marion (damarion); t...@lists.fd.io; csit-...@lists.fd.io; honeycomb-...@lists.fd.io; disc...@lists.fd.io; vpp-dev; nsh_sfc-...@lists.fd.io Subject: Re: [vpp-dev] [discuss] VPP 17.01 Released Hey Damjan

Re: [vpp-dev] Tuple Classify

2017-01-24 Thread yug...@telincn.com
I will try that, thanks. Ewan yug...@telincn.com From: Shwetha Bhandari (shwethab) Date: 2017-01-21 16:58 To: yug...@telincn.com; vpp-dev Subject: Re: [vpp-dev] Tuple Classify You could use the classifier to do this: Example: To redirect IP6 flows with destination matching to a node named

[vpp-dev] ppp interface and route dpo

2017-01-24 Thread yug...@telincn.com
Hi all I create a ppp interface and set ip on it, the interface route dpo is glean, which means need to be resloved by arp? How could i to get this correct? Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https

[vpp-dev] flow distribute

2017-02-13 Thread yug...@telincn.com
Hi, ALL I would like to pick out one kind of flow which without five tuple session and lead them to the specified CPU worker. The benifet is that we need no locker in the session creation procedure. What your guys opinion? Regards, Ewan. yug...@telincn.com

[vpp-dev] system func in vpp

2017-02-27 Thread yug...@telincn.com
Hi, all Does vpp can't use func system? Any reason to this or what can i do if i really need ? yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] system func in vpp

2017-02-27 Thread yug...@telincn.com
"int system(const char *command)" I would like to use this func to start another dameon , such as " system("zebra -d") ". Regards, Ewan yug...@telincn.com From: Ed Warnicke Date: 2017-02-28 11:15 To: yug...@telincn.com CC: vpp-dev Subject: Re: [vpp-dev] sy

Re: [vpp-dev] system func in vpp

2017-02-27 Thread yug...@telincn.com
I would like to add veth interface in vpp for every phy interface, " system("ip link add vpp type veth peer name kernel-vpp") ". It's convenient to do this from vpp. Regards, Ewan. yug...@telincn.com From: Ed Warnicke Date: 2017-02-28 11:44 To: yug...@telincn.com CC

Re: [vpp-dev] system func in vpp

2017-03-01 Thread yug...@telincn.com
Thanks. So it's not security to use unix socket too? If i want to send some data from vpp to linux or to another process, any options? Regards, Ewan yug...@telincn.com From: Dave Barach (dbarach) Date: 2017-02-28 21:12 To: Luke, Chris; yug...@telincn.com; Ed Warnicke CC: vpp-dev Su

Re: [vpp-dev] system func in vpp

2017-03-01 Thread yug...@telincn.com
I would like send five tuples 、 mac 、traffic etc. info out, which can be display out some where. I will try shared memory api. Regards, Ewan yug...@telincn.com From: Luke, Chris Date: 2017-03-01 20:14 To: yug...@telincn.com; Dave Barach (dbarach); Ed Warnicke CC: vpp-dev Subject: RE: RE

Re: [vpp-dev] system func in vpp

2017-03-01 Thread yug...@telincn.com
Is func rte_malloc safe to be called between rte_spinlock_lock adn rte_spinlock_unlock or can it be only called at main thread? Ewan yug...@telincn.com From: Luke, Chris Date: 2017-03-01 20:14 To: yug...@telincn.com; Dave Barach (dbarach); Ed Warnicke CC: vpp-dev Subject: RE: RE: [vpp

Re: [vpp-dev] system func in vpp

2017-03-02 Thread yug...@telincn.com
Thanks, that is helpful. Can we use rte_spinlock_lock directly on vpp? Or any other options? Regards, Ewan. yug...@telincn.com From: Dave Barach (dbarach) Date: 2017-03-02 20:10 To: yug...@telincn.com; Luke, Chris; Ed Warnicke CC: vpp-dev Subject: RE: RE: [vpp-dev] system func in vpp Do you

[vpp-dev] MTU

2017-03-11 Thread yug...@telincn.com
00:0c:29:b3:30:97 Intel 82540EM (e1000) carrier up full duplex speed 1000 mtu 9216 rx queues 1, rx desc 512, tx queues 1, tx desc 512 Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/ma

Re: [vpp-dev] MTU

2017-03-11 Thread yug...@telincn.com
I can't see anything in vpp trace, so what else we need to do to setup dpdk interface. Regards, Ewan yug...@telincn.com From: yug...@telincn.com Date: 2017-03-12 11:04 To: vpp-dev@lists.fd.io Subject: [vpp-dev] MTU Hi, all Both dpdk hardware and vpp interface mtu is 9216, why it

[vpp-dev] five tuple nat

2017-04-24 Thread yug...@telincn.com
Hey, Do we have any plan to surpport five tuple nat like linux kernel? Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] build on ubuntu 14.04.1 failed

2017-04-25 Thread yug...@telincn.com
ool-native/tools /usr/vpp/vpp/build-root/../src/configure: line 2231: LT_INIT: command not found configure: error: cannot find install-sh, install.sh, or shtool in . "/usr/vpp/vpp/build-root/../src"/. make: *** [tools-configure] Error 1 root@ubuntu:/usr/vpp/vpp/build-root#

[vpp-dev] ubuntu 16.04.1 EAL: Error reading from file descriptor 11: Input/output error

2017-04-26 Thread yug...@telincn.com
criptor 11: Input/output error yug...@telincn.com From: yug...@telincn.com Date: 2017-04-27 14:30 To: Burt Silverman Subject: Re: Re: [vpp-dev] build on ubuntu 14.04.1 failed Hey, Why so many errors any guide? I started vpp in gdb and got these. EAL: Error reading from file descriptor 11: Input/ou

Re: [vpp-dev] ubuntu 16.04.1 EAL: Error reading from file descriptor 11: Input/output error

2017-04-27 Thread yug...@telincn.com
Thanks, I have fixed it. Regards, Ewan yug...@telincn.com From: yug...@telincn.com Date: 2017-04-27 14:50 To: vpp-dev Subject: [vpp-dev] ubuntu 16.04.1 EAL: Error reading from file descriptor 11: Input/output error Hey, guys. Why there are so many errors. (gdb) r -c /etc/vpp/startup.conf

[vpp-dev] arp_input

2017-05-12 Thread yug...@telincn.com
.04 if (!((FIB_ENTRY_FLAG_ATTACHED & src_flags) || (FIB_ENTRY_FLAG_CONNECTED & src_flags)) ) { error0 = ETHERNET_ARP_ERROR_l3_src_address_not_local; goto drop2; } Regards, Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@l

Re: [vpp-dev] arp_input

2017-05-12 Thread yug...@telincn.com
GigabitEthernet2/a/0 yug...@telincn.com From: Neale Ranns (nranns) Date: 2017-05-12 20:44 To: yug...@telincn.com; vpp-dev Subject: Re: [vpp-dev] arp_input Hi Ewan, Please post your configs and the output of ‘sh ip arp’. Thanks, neale From: on behalf of "yug...@telincn.com&qu

Re: [vpp-dev] arp_input

2017-05-12 Thread yug...@telincn.com
Hi, I mean that these two interfaces both are l3 mode in vpp, with default config mode, there are two relevant interfaces which are bound to dpdk in vm are bridged to the same phy interface. I used VM Workstation here. Am i clear? Regards, Ewan yug...@telincn.com From: Neale Ranns

[vpp-dev] Segmentation fault in recursivly lookuping fib entry.

2017-05-12 Thread yug...@telincn.com
argv=) at /usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vlib/unix/main.c:604 yug...@telincn.com ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Segmentation fault in recursivly lookuping fib entry.

2017-05-13 Thread yug...@telincn.com
Hi neale, Could you leave me a msg then? Thanks, Ewan yug...@telincn.com From: Neale Ranns (nranns) Date: 2017-05-13 20:33 To: yug...@telincn.com; vpp-dev Subject: Re: [vpp-dev] Segmentation fault in recursivly lookuping fib entry. Hi Ewan, That’s a bug. I’ll fix it ASAP. Thanks, neale

[vpp-dev] snat crash

2017-05-13 Thread yug...@telincn.com
c:1248 #19 dispatch_process (vm=0x779aa2a0 , p=0x7fffb5324000, last_time_stamp=652099886127260, f=0x0) at /usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vlib/main.c:1291 #20 0x in ?? () (gdb) Regards, Ewan yug...@telincn.com _

[vpp-dev] SNAT deterministic crash

2017-05-14 Thread yug...@telincn.com
Hi all, I have add compile option -DCLIB_VEC64, if i want to get this cmd "vppctl snat deterministic add in 192.168.60.0/16 out 10.10.55.1/32" work, what else need i to do? Or how much mem do i need here? Regards, Ewan yug...@telincn.com _

Re: [vpp-dev] snat crash

2017-05-14 Thread yug...@telincn.com
Hi, You me this file "/etc/vpp/startup.conf ", i have not found any para to control heapsize yet, could you show me how to set heapsize? yug...@telincn.com From: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) Date: 2017-05-15 13:44 To: yug...@telincn.com; vpp-dev S

Re: [vpp-dev] snat crash

2017-05-14 Thread yug...@telincn.com
Thanks. Ewan yug...@telincn.com From: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) Date: 2017-05-15 13:53 To: yug...@telincn.com; vpp-dev Subject: RE: RE: [vpp-dev] snat crash https://wiki.fd.io/view/VPP/Command-line_Arguments#.22heapsize.22_parameter Matus From: yug

Re: [vpp-dev] SNAT deterministic crash

2017-05-14 Thread yug...@telincn.com
Hi, Do we have any plan to allocate memory dynamicly, i mean use the memory when it needed in the packets forwarding procedure? Regards, Ewan yug...@telincn.com From: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) Date: 2017-05-15 13:47 To: yug...@telincn.com; vpp-dev

Re: [vpp-dev] SNAT deterministic crash

2017-05-14 Thread yug...@telincn.com
Thanks for your advice. Regards, Ewan yug...@telincn.com From: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) Date: 2017-05-15 14:29 To: yug...@telincn.com; vpp-dev Subject: RE: RE: [vpp-dev] SNAT deterministic crash Hi, we don't have plan to allocate memory dynamically (

Re: [vpp-dev] five tuple nat

2017-05-19 Thread yug...@telincn.com
Hi Ole, Thanks, it seems that there is no icmp procedure in det nat, why is it like this? Regards, Ewan ewan From: otroan Date: 2017-04-25 16:06 To: yugang CC: vpp-dev Subject: Re: [vpp-dev] five tuple nat Ewan, > Do we have any plan to surpport five tuple nat like linux kernel? That sh

[vpp-dev] Segmentation fault in loading snat_plugin.so

2017-05-20 Thread yug...@telincn.com
Hi all, Thanks for time. I have adjusted snat nodes like below, then i got segmentation fault. It seems that when node snat-det-out2in is registering himself, there is no node snat-out2in. But node snat-out2in was already registered before that, why ? VLIB_NODE_FUNCTION_MULTIARCH (snat_out2in_

  1   2   >