[vpp-dev] vpp-merge-master-centos7 jobs are broken

2020-05-15 Thread Paul Vinciguerra
I'm not sure who this should go to, nor the impact, so I'm posting it here. vpp-merge-master-centos7 is failing due to libmemif and [ -Wstringop-overflow=] see [0]. [0] https://logs.fd.io/production/vex-yul-rot-jenkins-1/vpp-merge-master-centos7/9496/console.log.gz (

Re: [vpp-dev] Segmentation fault in VPP 20.05 release when using VCL VPPCOM_PROTO_UDPC #vpp-hoststack

2020-05-15 Thread Florin Coras
Hi Raj, There are no explicit vcl apis that allow a udp listener to be switched to connected mode. We might decide to do this at one point through a new bind api (non-posix like) since we do support this for builtin applications. However, you now have the option of connecting a bound

Re: [vpp-dev] vppctl is broken on master head

2020-05-15 Thread Chuan Han via lists.fd.io
Yes. It fixes the issue. On Fri, May 15, 2020 at 4:28 PM Florin Coras wrote: > Hi Chuan, > > Does this [1] fix the issue? > > Regards, > Florin > > [1] https://gerrit.fd.io/r/c/vpp/+/27103 > > On May 15, 2020, at 4:24 PM, Chuan Han via lists.fd.io < > chuanhan=google@lists.fd.io> wrote: > >

Re: [vpp-dev] vppctl is broken on master head

2020-05-15 Thread Florin Coras
Hi Chuan, Does this [1] fix the issue? Regards, Florin [1] https://gerrit.fd.io/r/c/vpp/+/27103 > On May 15, 2020, at 4:24 PM, Chuan Han via lists.fd.io > wrote: > > The following patch is very suspicious. > > * a58be82dd vlib: fix unix cli commands crash without session > > vppctl works

Re: [vpp-dev] vppctl is broken on master head

2020-05-15 Thread Chuan Han via lists.fd.io
The following patch is very suspicious. * a58be82dd vlib: fix unix cli commands crash without session vppctl works fine at: * 0ef915398 (HEAD) ikev2: use u32 in unformat On Fri, May 15, 2020 at 4:07 PM Chuan Han via lists.fd.io wrote: > Hi, vpp team, > > It seems vppctl is broken on the

Re: (Q about fixing endianness bugs in handlers) Re: [vpp-dev] Proposal for VPP binary API stability

2020-05-15 Thread Balaji Venkatraman via lists.fd.io
Hi Andrew, “ An API that is not touched during a "make test" can not be moved beyond the "in-progress" status. Adding the unit test implies the commitment from the API contributor to follow the option (5) above even for "trivial endianness bugs". “ Absolutely essential! More so, after a

Re: [vpp-dev] Segmentation fault in VPP 20.05 release when using VCL VPPCOM_PROTO_UDPC #vpp-hoststack

2020-05-15 Thread Raj Kumar
Thanks! Florin, OK, I understood that I need to change my application to use UDP socket and then use vppcom_session_connect(). This is fine for the UDP client ( sender) . But ,in UDP Server ( receiver) , I am not sure how to use the vppcom_session_connect(). . I am using vppcom_session_listen()

[vpp-dev] vppctl is broken on master head

2020-05-15 Thread Chuan Han via lists.fd.io
Hi, vpp team, It seems vppctl is broken on the master head: 18a86c6e6 g2: fix the g2 build for Ubuntu 20.04 The broken functionality is vppctl single command mode: sudo vppctl host# vppctl srv-2-vpp# sh ver vpp v20.09-rc0~15-g18a86c6e6 built by root on host at 2020-05-15T15:31:41 srv-2-vpp#

Re: [vpp-dev] Segmentation fault in VPP 20.05 release when using VCL VPPCOM_PROTO_UDPC #vpp-hoststack

2020-05-15 Thread Florin Coras
Hi Raj, We removed udpc transport in vpp. I’ll push a patch that removes it from vcl as well. Calling connect on a udp connection will give you connected semantics now. Let me know if that solves the issue for you. Regards, Florin > On May 15, 2020, at 12:15 PM, Raj Kumar wrote: > > Hi,

Re: [vpp-dev] Question regarding ICMP NAT behavior

2020-05-15 Thread Jon Loeliger via lists.fd.io
On Thu, May 14, 2020 at 11:23 AM Jon Loeliger via lists.fd.io wrote: > Did the ICMP mapping open more than was expected or intended here? > > I chased this down in the code a bit, but I'm not sure what the _intent_ > is supposed to be. > When "address only" is true (ie, both ports are 0), then

Re: (Q about fixing endianness bugs in handlers) Re: [vpp-dev] Proposal for VPP binary API stability

2020-05-15 Thread Paul Vinciguerra
I chimed in initially, because admittedly, I am usually the one breaking the api, (with Vratko telling me to stop breaking CSIT ;/ ) and I learned a lot in the process. 1. The thing we don't have today that would have caught these endian issues are api tests. a. Send in a create and verify all

[vpp-dev] Segmentation fault in VPP 20.05 release when using VCL VPPCOM_PROTO_UDPC #vpp-hoststack

2020-05-15 Thread Raj Kumar
Hi, I am getting segmentation fault in VPP when using VCL VPPCOM_PROTO_UDP *C* socket. This issue is observed with both UDP sender and UDP receiver application. However, both UDP sender and receiver works fine with VPPCOM_PROTO_UDP. Here is the stack trace - (gdb) bt #0  0x in

[vpp-dev] Virtual LFN Developer & Testing Forum (June 22 - 25)

2020-05-15 Thread Trishan de Lanerolle
Greetings LFN Technical Community, We wanted to make sure that you had the new format and dates for the upcoming LFN Developer & Testing Forum on your radar. The event was originally planned for the first week of June but has now been scheduled for June 22 - 25. Like the LFN Technical Meetings in

Re: (Q about fixing endianness bugs in handlers) Re: [vpp-dev] Proposal for VPP binary API stability

2020-05-15 Thread Christian Hopps
If I read you correctly, this bug went unnoticed, but has never seen an LTS release. LTS might be the only release people are actually developing products with. :) I also sent some mail about brokenness in the auto-generated endian functions. I noticed this while I was investigating a post

Re: [vpp-dev] VPP - DPDK - No ARP learning on VPP and no ARP reply sent.

2020-05-15 Thread Balaji Venkatraman via lists.fd.io
As Neale replied earlier, adding L3 addr to the interface should implicitly enable arp on it. Thanks! -- Regards, Balaji. From: Mrityunjay Kumar Date: Friday, May 15, 2020 at 7:19 AM To: "Balaji Venkatraman (balajiv)" Cc: Laurent Dumont , vpp-dev Subject: Re: [vpp-dev] VPP - DPDK - No ARP

(Q about fixing endianness bugs in handlers) Re: [vpp-dev] Proposal for VPP binary API stability

2020-05-15 Thread Andrew Yourtchenko
There's a very interesting couple of gerrit changes that just came in today that is worth discussing, and they are a perfect case study to further clarify the process - so I tweaked the subject accordingly.. The API message itself is relatively minor, but regardless of what is agreed that makes a

Re: [vpp-dev] VPP - DPDK - No ARP learning on VPP and no ARP reply sent.

2020-05-15 Thread Mrityunjay Kumar
Hi Balaji Its working for me. I was just trying to help "Laurent Dumont" -- @Laurent Dumont , can try it, even this arp issue, is it working for you if you are adding neghbor IP? set ip neighbor set ip neighbor [del] [static] [no-fib-entry] [count ] [fib-id ]

Re: [vpp-dev] VPP - DPDK - No ARP learning on VPP and no ARP reply sent.

2020-05-15 Thread Neale Ranns via lists.fd.io
Hi Laurent, ARP is enabled on an interface once it is assigned an IP address or is made unnumbered to another. You can check that ARP is enabled with: sh int feat VirtualFunctionEthernet0/5/0.101 and you won’t see ‘arp-disabled’ as a feature on the arp arc. I suspect you are not receiving

Re: [vpp-dev] VPP - DPDK - No ARP learning on VPP and no ARP reply sent.

2020-05-15 Thread Balaji Venkatraman via lists.fd.io
Hi Mrityunjay, Could you try adding an ip route and recheck. I think ARP is enabled once ip routing is enabled. Thanks -- Regards, Balaji. From: on behalf of Laurent Dumont Date: Friday, May 15, 2020 at 4:57 AM To: Mrityunjay Kumar Cc: vpp-dev Subject: Re: [vpp-dev] VPP - DPDK - No ARP

Re: [vpp-dev] VPP - DPDK - No ARP learning on VPP and no ARP reply sent.

2020-05-15 Thread Laurent Dumont
Hi everyone! Thank you for the tips The VF is created with the Trust On and spoofcheck disabled during the instance creation. vf 18 MAC fa:16:3e:92:30:f1, spoof checking off, link-state auto, trust on I had a change to test this a bit more. It looks like the issue is specifically with passing

Re: [SUSPECTED SPAM] [vpp-dev] Troubleshooting IPsec peer behind NAT (AWS instance)

2020-05-15 Thread Muthu Raj
Hi Neale, Sorry about the trace. The match in the SPD is against SA 20’s tunnel addresses not the policy’s > local/remote range. Thanks for clarifying this. I was confused here. I created the SA and policy with this in mind and got it to work successfully. Thanks a lot for your help. I will