Re: [EXTERNAL] Re: [vpp-dev] VPP Emacs Lisp evolution to P4

2021-05-05 Thread hemant via lists.fd.io
Hi Chris, No plan for open sourcing yet. One reason is nobody is developing P4 programs for new VPP plugin nor is there any good online repo with great networking P4 programs. So, who would use the open-source compiler? The other reason is, I would like to complete the UPF VPP product firs

Re: [EXTERNAL] Re: [vpp-dev] VPP Emacs Lisp evolution to P4

2021-05-05 Thread Chris Luke via lists.fd.io
Hi Hemant, Do you plan to open source and maintain this code generator? Chris. From: vpp-dev@lists.fd.io On Behalf Of hemant via lists.fd.io Sent: Wednesday, May 5, 2021 12:09 To: hem...@mnkcg.com; vpp-dev@lists.fd.io Subject: [EXTERNAL] Re: [vpp-dev] VPP Emacs Lisp evolution to P4 I don't k

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Sastry Sista
Hi Florin, Both of these are not hit. So, is it config object crash? With Regards Sastry -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19348): https://lists.fd.io/g/vpp-dev/message/19348 Mute This Topic: https://lists.fd.io/mt/82575076/21656 Mute

Re: [vpp-dev] VPP Emacs Lisp evolution to P4

2021-05-05 Thread hemant via lists.fd.io
I don't know why the email I sent earlier did not show up as text. Resending. [If you didn’t read this recent short blog I wrote, https://mnkcg.com/need-for-a-p4tovpp-compiler/, this is what the first paragraph of the blog says. “VPP has stellar data plane code open-sourced by Cisco as a

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Florin Coras
[vpp-dev moved to bcc because this is becoming quite noisy for the list.] session_main_init and session_manager_main_enable. Regards, Florin > On May 5, 2021, at 8:49 AM, Sastry Sista wrote: > > Hi Florin, > I am running in gdb only. > > last few lines in gdb: > > fdio

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Sastry Sista
Hi Florin, I am running in gdb only. last few lines in gdb: fdio/src/fdio.2005/build-root/ install-vpp_debug-native/vpp/ bin/vpp[2240]: dpdk: EAL init args: -c 6 -n 4 --in-memory --file-prefix vpp -w :00:06.0 -w :00:09.0 --master-lcore 1 [New Thread 0x7ffbf21ff700 (LWP 2244)] [New Threa

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Florin Coras
Try running vpp from gdb or, as previously recommended, try upgrading to latest version. Regards, Florin > On May 5, 2021, at 8:41 AM, Sastry Sista wrote: > > Hi Florin, > I am not seeing even backtrace. bt is just empty now. > Also I have just added session { } with em

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Sastry Sista
Hi Florin, I am not seeing even backtrace. bt is just empty now. Also I have just added session { } with empty params and seeing same exit. No clues at vpp. is there any params that I need to add along with session so that it does not exit? With Regards Sastry -=-=-=-=-=-=-=-=-=-=-=- Links: Yo

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Florin Coras
Hi Sastry, Can’t do much without a backtrace. Also, not entirely sure how vcl got a reply if vpp crashed. Session layer is the main component of the host stack that keeps track of external apps and facilitates the exchange of data and notifications between apps (like vcl) and transports. So

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Sastry Sista
Hi Florin, I tried to add session layer at vpp as below: session { session-baseva 0x20 evt_qs_memfd_seg event-queue-length 10 } vpp is still crashing and not able to run vpp. Also, is session layer important for VCL application to run? I am still seeing "vl_api_app_attach_reply_t_ha

[vpp-dev] VPP Emacs Lisp evolution to P4

2021-05-05 Thread hemant via lists.fd.io
smime.p7m Description: S/MIME encrypted message -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19340): https://lists.fd.io/g/vpp-dev/message/19340 Mute This Topic: https://lists.fd.io/mt/82606105/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubs

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Florin Coras
Hi Sastry, As a first step, since you’ve just started development, I’d switch to vpp latest to get recent features and fixes. Regarding the issue you’re hitting, in older releases you had to explicitly request memfd type of segment for the event queues (evt_qs_memfd_seg). Recently that has b

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Sastry Sista
Hi Florin, My VPP version is 20.05 fdio. I am suspecting seg_type why its not selecting SMH. Also, startup.conf does not have session stuff: session { evt_qs_memfd_seg event-queue-length 10 } when I add these, vpp is crashing. With Regards Sastry On Wed, May 5, 2021 at 6:01 PM Sas

Re: [vpp-dev] vnet_rename_interface()

2021-05-05 Thread Nathan Skrzypczak
Hi Paul, >From my understanding - but I might be mistaken here - I thought this was about an explicit `rename` cli & api, so foot shooting would be quite explicit from the user's perspective. On ability to query/disable `show int` and equivalent apis would return this modified state, and not calli

Re: [vpp-dev] vnet_rename_interface()

2021-05-05 Thread Paul Vinciguerra
Hi Matt, Ole, Nathan, Matt, I have no objection to the feature, I would just ask that you provide a startup.conf option to disable it and an api to query that state. The reason I say this is that there are configuration models that depend on the stability of the device name. Many yang models as a

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Sastry Sista
Hi Florin, Thank you for the reply. I am trying to develop similar kind of envoy app using VCL. So, I need both socket option for binary API and shared client for rx/tx for TCP data. So, I need use-mq-eventfd at vcl.conf right?. ANyway I tried removing it but still same issu

Re: [vpp-dev] sw_interface_dump currently cann't dump interface which sw_if_index == 0 #vapi

2021-05-05 Thread Andrew Yourtchenko
While the process is in place to minimize the unnecessary pains, we probably also should use the judgement to balance between the monkey dance on the downstream consumer side and the monkey dance on the VPP developer side. In this case: 1) for a long time, there is a "correct" value that should h

Re: [vpp-dev] vnet_rename_interface()

2021-05-05 Thread Nathan Skrzypczak
Hi Matt, Hi Ole, I think adding a cli & api call for renaming interfaces would be quite useful. I agree we shouldn't refer to interfaces by name in the API thought (sw_if_index is definitely the way to go) Several non-api use-cases would imho benefit from this. I can see writing cli scripts witho

[vpp-dev] #dpdk #mellanox #vpp-dev

2021-05-05 Thread marina . vasilevsky
Hi all, We are testing TCP traffic via vpp with dpdk Mellanox 100 Gb NIC I see a problem with transmit duplicated packets  - below is log of "show harware interfaces " You can see that "   tx packets phy                               146752032" is almost double of "tx frames ok                 

[vpp-dev] Do Vrrp support N+M HA model as well

2021-05-05 Thread chetan bhasin
Hi, I just want to understand whether VRRP also supports M+N HA model as well ? Do we have sample configuration for the same? Thanks, Chetan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19331): https://lists.fd.io/g/vpp-dev/message/19331 Mute Th

Re: [vpp-dev] vnet_rename_interface()

2021-05-05 Thread Ole Troan
Matt, > Source file src/vnet/interface.c has a function vnet_rename_interface(). It > only appears to be called by the lisp plugin currently. It would be handy to > be able to rename a DPDK interface without having to change startup.conf and > restart VPP. I am wondering if I could do that by a