Re: [vpp-dev] Crash when using dns_name_server

2019-08-15 Thread carlito nueno
Hi Dave, Yep. When I made the packet trace, I had the dns config bits. VPP is caching DNS queries [P] DNS query: id 18 no-recur recur-des no-trunc non-auth 2 queries, 0 answers, 0 name-servers, 0 add'l recs Queries: Name: www.apple.com: type A Name: www.apple.com: type But

[vpp-dev] Trouble with tunnel mode IPSec to VPP

2019-08-15 Thread dchons
[Edited Message Follows] Hello again, My apologies if this is not the correct place for these kinds of question, I'm relatively new to VPP. I would really appreciate any suggestions as to why the response to a PING that was received over an IPSec tunnel is not going through the tunnel as

Re: [vpp-dev] Crash when using dns_name_server

2019-08-15 Thread Dave Barach via Lists.Fd.Io
Four bits of config required: nat44 add identity mapping external GigabitEthernet3/0/0 udp 53053 binary-api dns_name_server_add_del 8.8.8.8 binary-api dns_enable_disable Inside network DHCP server needs to set option 6 (DNS name server) to the vpp gateway address. D. -Original

Re: [vpp-dev] vppcom_session_connect blocking or non blocking

2019-08-15 Thread Florin Coras
Hi Max, Not at this time. It should be possible with a few changes for nonblocking sessions. I’ll add it to my list, in case nobody else beats me to it. Florin > On Aug 15, 2019, at 2:47 AM, Max A. via Lists.Fd.Io > wrote: > > Hello, > > Can vppcom_session_connect() function run in

Re: [vpp-dev] Question about libmemif API

2019-08-15 Thread William Tu
Hi Chengqiang, Thanks for your reply. On Wed, Aug 14, 2019 at 11:52 PM Yao, Chengqiang wrote: > > Hi William, > > You do not need to copy the packets out of memif. Once you finish > processing all these packets, call memif_refill_queue() function to free > these buffers. Let's say if you

Re: [vpp-dev] Question about libmemif API

2019-08-15 Thread Yao, Chengqiang
Hi William, You do not need to copy the packets out of memif. Once you finish processing all these packets, call memif_refill_queue() function to free these buffers. Let's say if you receive 32 packets in memif_rx_burst function, after processing, call memif_refill_queue with count=32 to

[vpp-dev] envoy & vpp integration

2019-08-15 Thread Guo, Ruijing
Hi, I saw https://github.com/envoyproxy/envoy/pull/5177 was merged. What's status for envoy & vpp integration? What version of vpp support it? For CNI, Only contiv-vpp support it? Thanks, -Ruijing -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

[vpp-dev] vppcom_session_connect blocking or non blocking

2019-08-15 Thread Max A. via Lists.Fd.Io
Hello, Can vppcom_session_connect() function run in non-blocking mode? I see that there is a wait for the connection result in the vppcom_wait_for_session_state_change function. Is it possible to get the result of the connection using vppcom_epoll_wait? Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links:

Re: [vpp-dev] Question about libmemif API

2019-08-15 Thread William Tu
On Thu, Aug 15, 2019 at 8:02 AM William Tu wrote: > > Hi Chengqiang, > > Thanks for your reply. > > On Wed, Aug 14, 2019 at 11:52 PM Yao, Chengqiang > wrote: > > > > Hi William, > > > > You do not need to copy the packets out of memif. Once you finish > > processing all these packets, call

Re: [vpp-dev] Crash when using dns_name_server

2019-08-15 Thread anoopnairhere
Hi Carlio, I had faced a similar crash with DNS module while resolving names. The dns_cache_lock is in locked state after initialization. Because of this the first worker thread which attempts to take this lock will find it in "locked" state and spin forever. So the main thread panics when it

Re: [vpp-dev] Facing mbuf allocation Error #vpp

2019-08-15 Thread chandan . mohanty
Humble Request  to experts and others to show some lights. I am relatively NEW to VPP and blocked here. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13750): https://lists.fd.io/g/vpp-dev/message/13750 Mute This Topic:

Re: [vpp-dev] Help with two interfaces accessing outside network

2019-08-15 Thread Balaji B via Lists.Fd.Io
Not sure there is a way to do this without a routing protocol. Don't think there is link monitoring or path monitoring to switch the default route to backup route. Maybe you can have a cron job that check the link status and next hop connectivity and switch the route when there is a failure.

Re: [vpp-dev] Help with two interfaces accessing outside network

2019-08-15 Thread carlito nueno
Hi Balaji, As far as I know, VPP doesn't have link monitoring to switch routes. But as you said, I added a cron job to check link status and switch routes on failure. I added each interface route to a particular FIB table. This way I am able to use ping 8.8.8.8 source wan0 or wan1. Is this the

[vpp-dev] Build errors

2019-08-15 Thread carlito nueno
Hi all, I am following this guide to build VPP: https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code I added a patch to stable/1908 branch using ubuntu 18.04LTS running as ROOT user I followed these steps: apt-get update apt-get install build-essential make

Re: [vpp-dev] Crash when using dns_name_server

2019-08-15 Thread Dave Barach via Lists.Fd.Io
See https://jira.fd.io/browse/VPP-1746, and https://gerrit.fd.io/r/c/vpp/+/21338 which fixes gross non-operation of the name resolver. Process created on demand, with node index in the main_t. Needed to remove the static vlib_node_registration_t and use dm->resolver_process_node_index vs.

Re: [vpp-dev] Crash when using dns_name_server

2019-08-15 Thread Dave Barach via Lists.Fd.Io
Folks, I’ll look at these issues. It would be helpful if people would contribute patches, or at least write Jira tickets. If we don’t know it’s broken, it won’t get fixed... To level-set: the DNS name resolver has been lightly used. Nothing would surprise me at this point. D. From:

Re: [vpp-dev] Build errors

2019-08-15 Thread carlito nueno
Hi all, I think I found the problem. fatal: ambiguous argument 'v1.19-rc0..': unknown revision or path not in the working tree. Here are steps I did: - I forked `stable/1908` branch and added some code to it. - Now my branch is `test-stable/1908` - I tagged my branch with `v1.19.08`. - I pushed

Re: [vpp-dev] Build errors

2019-08-15 Thread carlito nueno
I am getting the same error with: build-root/vagrant/build.sh On Thu, Aug 15, 2019 at 5:21 PM carlito nueno via Lists.Fd.Io wrote: > > Hi all, > > I am following this guide to build VPP: > https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code > > I added a patch to

Re: [vpp-dev] Question about libmemif API

2019-08-15 Thread Yao, Chengqiang
Hi William, That's what memif_refill_queue() does. When you call this function, libmemif knows you are done with these buffers. Best Regards, Chengqiang Yao -Original Message- From: William Tu Sent: 2019年8月15日 23:26 To: Yao, Chengqiang Cc: vpp-dev@lists.fd.io Subject: Re: