Re: [vpp-dev] VPP Socket API how to use from the application #socket-api #vpp #sock-api

2021-10-08 Thread Venumadhav Josyula
pp.log cli-listen /run/vpp/cli.sock gid vpp #exec /etc/ipsec-setup.txt } cpu { main-core 2 } dpdk { dev default { num-rx-desc 512 num-tx-desc 512 } socket-mem 1024 dev :00:04.0 uio-driver uio_pci_generic } logging { default-log-level debug default-syslog-log-level

Re: [vpp-dev] VPP Socket API how to use from the application #socket-api #vpp #sock-api

2021-10-08 Thread Venumadhav Josyula
} */ /*test_messages();*/ test_punt_socket_register_message(); exit (0); } *Compilation Options used* gcc vpp_api_client_vac_layer.c -o vpp_api_client_vac_layer.o -lpthread -lvlibmemoryclient -lvppinfra -lvppapiclient -I/usr/include/ *Output* [root@8f57181df3a1 vpp_c_api_examples]# ./vpp_api_c

Re: [vpp-dev] VPP Socket API how to use from the application #socket-api #vpp #sock-api

2021-10-01 Thread Venumadhav Josyula
Thanks, my mistake, it worked... On Fri, 1 Oct 2021 at 13:34, Stanislav Zaikin wrote: > You need to uncomment clib_mem_init > > On Fri, 1 Oct 2021 at 10:01, Venumadhav Josyula > wrote: > >> Hi Ole, >> >> So instead of the code below, I tried the code from

Re: [vpp-dev] VPP Socket API how to use from the application #socket-api #vpp #sock-api

2021-10-01 Thread Venumadhav Josyula
t; 20); > > > >if (vl_client_api_map("/vpe-api")) > >{ > > printf("unable to map\n"); > > goto quit; > >} > >if (vl_client_connect("vpp-test-app", 0, 32) < 0) > >{ > > printf

Re: [vpp-dev] VPP Socket API how to use from the application #socket-api #vpp #sock-api

2021-09-30 Thread Venumadhav Josyula
at 21:14, wrote: > Venu, > > Doesn't seem like you are using the higher level C VAPI API nor the > low-level API in vpp-api/client.c. > Are you sure this is what you want? > > O. > > > On 30 Sep 2021, at 16:09, Venumadhav Josyula wrote: > > > > H

Re: [vpp-dev] VPP Socket API how to use from the application #socket-api #vpp #sock-api

2021-09-30 Thread Venumadhav Josyula
h of your VPP /include directory and /library path in > the compilation. > > > /Akash > > On Thu, Sep 30, 2021, 19:39 Venumadhav Josyula wrote: > >> Hi Akash, >> >> Thansks, now after devtoolset, >> >> @Benoit Ganne (bganne) , @Ole Troa

Re: [vpp-dev] VPP Socket API how to use from the application #socket-api #vpp #sock-api

2021-09-30 Thread Venumadhav Josyula
u On Thu, 30 Sept 2021 at 19:00, Akash S R wrote: > Hey Venu, > > Try "scl enable devtoolset-9 bash" inside your docker or update your gcc > version. > > > /Akash S R > > On Thu, Sep 30, 2021, 18:54 Venumadhav Josyula wrote: > >> Hi Benoit, >> >&g

Re: [vpp-dev] VPP Socket API how to use from the application #socket-api #vpp #sock-api

2021-09-30 Thread Venumadhav Josyula
c-9). How do I use it ? Thanks, Regards, Venu On Thu, 30 Sept 2021 at 18:47, Benoit Ganne (bganne) wrote: > You should upgrade your compiler... GCC-4 is way too old. > Eg. use devtoolset-9 (gcc-9). > > Best > ben > > > -Original Message- > > From: vpp-dev@lis

Re: [vpp-dev] VPP Socket API how to use from the application #socket-api #vpp #sock-api

2021-09-30 Thread Venumadhav Josyula
Hi Ole / Others, Thanks for your email, i getting following compilation error [root@8f57181df3a1 vpp_c_api_examples]#* gcc vpp_api_client_test3.c -o vpp_api_client_test3.o -lvlibmemoryclient -lsvm -lvppinfra -lvlib* In file included from /usr/include/vppinfra/error.h:41:0, from /u

Re: [vpp-dev] VPP Socket API how to use from the application #socket-api #vpp #sock-api

2021-09-29 Thread Venumadhav Josyula
Hi Ole, Any examples for VAPI shared to use binary APIs ? Thanks, Regards, Venu On Thu, 23 Sept 2021 at 00:26, Ole Troan wrote: > Ravi, > > The VPP binary API supports two transports. Shared memory and unix domain > sockets. > VAPI is the C language binding for the binary API. I think it only

[vpp-dev] question using VPP APIs using vac layer

2021-09-29 Thread Venumadhav Josyula
Hi All, i) want to use C APIs. ii) want to have vpp-client proxy which forward API messages to the VPP iii) towards VPP is the binary APIs , intent is use vac_connect, iv) VPP + this application will run in a pod. v) south another would send those APIs recieved by fastpath pod and send it to VPP.

Re: [vpp-dev] getting high throughput from VPP

2021-09-16 Thread Venumadhav Josyula
Hi Mohsen, We recently tested , we are good throughput for gtp-u ( non-ipsec ) case. We had link limitation of 10 Gbps... We were doing Line rate for single cpu and single gtp-u tunnel. Can you configuration details ? Also show hardware-interfaces and startup.conf Thanks Regards Vemu On Thu, Se

[vpp-dev] Cloud native VNF agent

2021-09-14 Thread Venumadhav Josyula
Hi All, Does the govpp have a Cloud native VNF agent also ? I was looking at the slides on govpp, those are back from 2017 Is the Cloud native VNF agent also open sourced ? Please note we do not want to use VPP-Ligato agent for cloud-native platforms for our CU work. We are responsible

Re: [vpp-dev] Packet processing time.

2021-08-25 Thread Venumadhav Josyula
Hi Mohammed / Dave, How would you measure the latency of packet ? for e.g clocks & vector/call for each node, can we measure it ? Thanks, Regards, Venu On Tue, 21 Apr 2020 at 16:54, Mohammed Hawari wrote: > Hi Chris, > > Evaluating packet processing time in software is a very challenging iss

Re: [vpp-dev] using dpdk backend with vpp 20.09 using stable/2009

2021-08-17 Thread Venumadhav Josyula
{ * buffers-per-numa 128000* } Thanks, Regards, Venu On Tue, 17 Aug 2021 at 14:25, Venumadhav Josyula via lists.fd.io wrote: > Thanks , neale let me try this > > On Tue, 17 Aug 2021 at 13:21, Neale Ranns wrote: > >> >> >> Hi Venu, >> >> >> >

Re: [vpp-dev] using dpdk backend with vpp 20.09 using stable/2009

2021-08-17 Thread Venumadhav Josyula
t; > /neale > > > > *From: *vpp-dev@lists.fd.io on behalf of Venumadhav > Josyula via lists.fd.io > *Date: *Tuesday, 17 August 2021 at 08:30 > *To: *Sweetu Hubby > *Cc: *vpp-dev > *Subject: *Re: [vpp-dev] using dpdk backend with vpp 20.09 using > stable/2

Re: [vpp-dev] using dpdk backend with vpp 20.09 using stable/2009

2021-08-16 Thread Venumadhav Josyula
Hi *Sergio,* *Any help would be really appreciated.* *Thanks,* *Regards,* *Venu* On Tue, 17 Aug 2021 at 11:21, Venumadhav Josyula via lists.fd.io wrote: > Hi All, > Please note we have build vpp from stable/2009 branch, following is > startup.conf > unix { > # nodaemon >

[vpp-dev] using dpdk backend with vpp 20.09 using stable/2009

2021-08-16 Thread Venumadhav Josyula
Hi All, Please note we have build vpp from stable/2009 branch, following is startup.conf unix { # nodaemon log /var/log/vpp/vpp.log full-coredump cli-listen /run/vpp/cli.sock gid vpp exec /etc/vpp/setup.conf } api-trace { on } api-segment { gid vpp } socksvr { default } cpu { mai

Re: [vpp-dev] question on gtpu_input graph node

2021-07-16 Thread Venumadhav Josyula
h > that call without decapsulated .Mostly a goto variable would do the job > with some if checks. > > Hope this helps. > > Thanks and Regards, > Akash > > On Fri, Jul 16, 2021, 8:34 PM Venumadhav Josyula > wrote: > >> Hi Akash, >> >> >

Re: [vpp-dev] question on gtpu_input graph node

2021-07-16 Thread Venumadhav Josyula
at 21:37, Andreas Schultz < andreas.schu...@travelping.com> wrote: > > > Am Fr., 16. Juli 2021 um 17:04 Uhr schrieb Venumadhav Josyula < > vjosy...@gmail.com>: > >> Hi Akash, >> >> >From your requirement , keeping vpp support in mind, you shall send th

Re: [vpp-dev] question on gtpu_input graph node

2021-07-16 Thread Venumadhav Josyula
gt; picture in this . Anyways, if you need to mark the packet with the correct > teid, tteid and make the packet as type GTPU then you shall fire an IP > packet to the Tunnel so that it is encapsulated and fired out of interface. > > Hope this helps. > > Regards, > Akash >

Re: [vpp-dev] question on gtpu_input graph node

2021-07-16 Thread Venumadhav Josyula
ds, > Akash > > On Fri, Jul 16, 2021, 2:42 PM Venumadhav Josyula > wrote: > >> Hi Akash, >> >> While creating tunnels there if I set decap-next gtpu4-encap will it not >> work, it use the tried for the same right ? >> create gtpu tunnel src 10.21.58.142 ds

Re: [vpp-dev] question on gtpu_input graph node

2021-07-16 Thread Venumadhav Josyula
s way. > > Thanks and Regards, > Akash S R > > On Fri, Jul 16, 2021, 2:03 PM Venumadhav Josyula > wrote: > >> Hi vpp gtpu experts, >> >> We have requirement where >> >>- we create gtpu tunnel >>- Now, we will hit gtpu input, where w

[vpp-dev] question on gtpu_input graph node

2021-07-16 Thread Venumadhav Josyula
Hi vpp gtpu experts, We have requirement where - we create gtpu tunnel - Now, we will hit gtpu input, where we will receive gtpu packet and when we send it out on the interface replace the tied with tried and massage the ip address of src and destination and send the packet out vpp#

Re: [vpp-dev] having problem pinging gtpu_tunnel0 interface, says Failed: no source address for egress interface

2021-07-13 Thread Venumadhav Josyula
ale > > > > *From: *vpp-dev@lists.fd.io on behalf of Benoit > Ganne (bganne) via lists.fd.io > *Date: *Thursday, 8 July 2021 at 15:08 > *To: *Venumadhav Josyula > *Cc: *vpp-dev > *Subject: *Re: [vpp-dev] having problem pinging gtpu_tunnel0 interface, > says Failed: no so

Re: [vpp-dev] having problem pinging gtpu_tunnel0 interface, says Failed: no source address for egress interface

2021-07-08 Thread Venumadhav Josyula
master * stable/2106 [root@hng4 vpp]# Thanks, Regards, Venu On Thu, 8 Jul 2021 at 17:33, Venumadhav Josyula via lists.fd.io wrote: > Hi Benoit, > > Small correction vpp2 interface ip is should read as 10.21.58.140/16 > <http://10.21.58.142/16> I had those correct ip &g

Re: [vpp-dev] having problem pinging gtpu_tunnel0 interface, says Failed: no source address for egress interface

2021-07-08 Thread Venumadhav Josyula
Hi Benoit, Small correction vpp2 interface ip is should read as 10.21.58.140/16 <http://10.21.58.142/16> I had those correct ip Though the problem is not solved. Thanks, Regards, Venu On Thu, 8 Jul 2021 at 17:27, Venumadhav Josyula via lists.fd.io wrote: > Hi Benoit, > >

Re: [vpp-dev] having problem pinging gtpu_tunnel0 interface, says Failed: no source address for egress interface

2021-07-08 Thread Venumadhav Josyula
iginal Message- > > From: vpp-dev@lists.fd.io On Behalf Of Venumadhav > > Josyula > > Sent: jeudi 8 juillet 2021 12:19 > > To: vpp-dev > > Subject: Re: [vpp-dev] having problem pinging gtpu_tunnel0 interface, > says > > Failed: no source address for

Re: [vpp-dev] having problem pinging gtpu_tunnel0 interface, says Failed: no source address for egress interface

2021-07-08 Thread Venumadhav Josyula
vpp experts any comments / suggestions on the below ? On Wed, 7 Jul 2021 at 11:30, Venumadhav Josyula via lists.fd.io wrote: > Hi All, > > I facing problem to ping over gtpu tunnel interface > > *vpp1 on separate vm* > set interface state GigabitEthernet0/4/0 up > set

[vpp-dev] having problem pinging gtpu_tunnel0 interface, says Failed: no source address for egress interface

2021-07-06 Thread Venumadhav Josyula
Hi All, I facing problem to ping over gtpu tunnel interface *vpp1 on separate vm* set interface state GigabitEthernet0/4/0 up set interface ip address GigabitEthernet0/4/0 10.21.58.142/16 create gtpu tunnel src 10.21.58.142 dst 10.21.58.140 teid 13 tteid 14 encap-vrf-id 0 decap-next ip4 set in s

[vpp-dev] memif problems

2021-07-01 Thread Venumadhav Josyula
Hi All, Vpp1 ( docker ) --- vpp# show interface Name IdxState MTU (L3/IP4/IP6/MPLS) Counter Count GigabitEthernet0/4/0 1 down 9000/0/0/0 gtpu_tunnel0 4 up 0/0/0/0 host-vpp2out

Re: [vpp-dev] vpp in a non-previleged mode

2021-06-18 Thread Venumadhav Josyula
: > > Venumadhav Josyula writes: > > > Hi Damien, > > > >>I’m asking because in vpp we have also native > >> drivers for some NICs and paravirtualized >devices, and those > >> drivers are working in the >non-priv mode. > > > You m

Re: [vpp-dev] vpp in a non-previleged mode

2021-06-18 Thread Venumadhav Josyula
tualized devices, and those drivers are working in the non-priv mode. > > — > Damjan > > On 18.06.2021., at 09:12, Venumadhav Josyula wrote: > > >  > Hi Damjan, > > We need dpdk, the reason being that packets from the NICs ( pollmode ) > need to come inside our

Re: [vpp-dev] vpp in a non-previleged mode

2021-06-18 Thread Venumadhav Josyula
wrote: > > > Why do you need dpdk? > > — > Damjan > > On 18.06.2021., at 06:47, Venumadhav Josyula wrote: > >  > Hi Christian, > > Can you please share the exact steps please ? > > Thanks, > Regards, > Venu > > On Thu, 17 Jun 2021 at 2

Re: [vpp-dev] vpp in a non-previleged mode

2021-06-17 Thread Venumadhav Josyula
Hi Christian, Can you please share the exact steps please ? Thanks, Regards, Venu On Thu, 17 Jun 2021 at 21:25, Christian Hopps wrote: > > "Venumadhav Josyula" writes: > > > Hi All, > > > > Can you run vpp + dpdk in non-privileged mode ? This vpp runn

[vpp-dev] vpp in a non-previleged mode

2021-06-15 Thread Venumadhav Josyula
Hi All, Can you run vpp + dpdk in non-privileged mode ? This vpp running inside pod as a cnf Thanks, Regards, Venu -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19567): https://lists.fd.io/g/vpp-dev/message/19567 Mute This Topic: https://lists.fd

Re: [vpp-dev] route based on the source ip

2021-04-19 Thread Venumadhav Josyula
vpp-dev@lists.fd.io On Behalf Of Venumadhav > > Josyula > > Sent: lundi 19 avril 2021 13:17 > > To: vpp-dev > > Subject: [vpp-dev] route based on the source ip > > > > Hi, > > > > We have a requirement such that > > i) we want to have a vrf table fo

[vpp-dev] route based on the source ip

2021-04-19 Thread Venumadhav Josyula
Hi, We have a requirement such that i) we want to have a vrf table for each vlan interface. Each vrf will have it own default route ii)for packets from the host interface , we want to have a route based on the source ip such we can redirect to use vrf table as next hop table. iii) We are using str

Re: [vpp-dev] VRF does not seem to working for us

2021-04-08 Thread Venumadhav Josyula
enu On Thu, 8 Apr 2021 at 13:18, Stanislav Zaikin wrote: > Hi Venumadhav, > > You should specify an ip table for the nexthop with "next-hop-table XX". > By default it'd be nexthop in default fib. > > On Thu, 8 Apr 2021 at 10:40, Venumadhav Josyula > wrote: &g

Re: [vpp-dev] VRF does not seem to working for us

2021-04-08 Thread Venumadhav Josyula
1 uRPF:29 to:[0:0]][0] [@0]: dpo-drop ip4 * Thanks, Regards, Venu On Thu, 8 Apr 2021 at 13:10, Venumadhav Josyula via lists.fd.io wrote: > Hi All, > For VRF configuration does not seem to work for us, we using vpp-20.09. > vpp# show version > vpp v20.09.0-1~0-g94f29f6 built

[vpp-dev] VRF does not seem to working for us

2021-04-08 Thread Venumadhav Josyula
Hi All, For VRF configuration does not seem to work for us, we using vpp-20.09. vpp# show version vpp v20.09.0-1~0-g94f29f6 built by root on devdocker2.parallelwireless.net at 2021-04-05T21:52:02 vpp# We are trying to following configuration ip table add 100 set interface ip table vpp-intf19/0/1

Re: [vpp-dev] IPSec - Clear packet's classification for SA lookup in VPP

2021-04-07 Thread Venumadhav Josyula
Hi Benoit, Sorry to poke in the middle > - VLANs arrive on different sub-interfaces > - each sub-interface is in a different VRF > - each VRF has its own tunnel with a default route going through it We would need something of this sort, can you provide example for the same in vpp ? Than

Re: [vpp-dev] child sa rekey

2021-04-02 Thread Venumadhav Josyula
small correction , strongswan call *expire* not migrate On Fri, 2 Apr 2021 at 15:07, Venumadhav Josyula via lists.fd.io wrote: > Hi Benoit, > > Strongswan keeps track for whatever is required but kernel feeds the > relevant information via events. > > For *child sa*, in the k

Re: [vpp-dev] child sa rekey

2021-04-02 Thread Venumadhav Josyula
Also, VPP comes with its own IKEv2 implementation (which does support > lifetime management), you can find examples here: > https://gerrit.fd.io/r/c/vpp/+/31414 > > Best > ben > > > -Original Message- > > From: vpp-dev@lists.fd.io On Behalf Of Venumadhav > &

[vpp-dev] child sa rekey

2021-04-01 Thread Venumadhav Josyula
Hi Vpp Ipsec Experts, I wanted to understand how child sa rekey ( lifetime) are handled in vpp. i) We are using strongswan + kernel-vpp plugin for our ikev2 exchange. ii) Now we are facing the issue child sa rekey, the problem child sa rekey is not getting triggered. I understand, the strongswa

Re: [vpp-dev] Requirement of predictable interface name

2021-03-23 Thread Venumadhav Josyula
Hi Chetan, That ability is already there right now also we are using vpp 20.09 and intend to go 21.x also, we do it this way ... dpdk { dev :19:00.1 { name vpp-intf19/0/1 <--- "you can give whatever you , we have chose bus, slot,fn appended with vpp-intf" } .. } We doing th

Re: [vpp-dev] support of raw socket like support in vpp

2020-12-28 Thread Venumadhav Josyula
at 20:52, Florin Coras wrote: > Hi Venu, > > We don’t support raw sockets in the host stack and implicitly in vcl. You > might be able to achieve what you want with memif interfaces. > > Regards, > Florin > > On Dec 22, 2020, at 12:43 AM, Venumadhav Josyula > wrote

Re: [vpp-dev] Problem running vcl-test-server inside a docker

2020-12-27 Thread Venumadhav Josyula
Dec 2020 at 03:54, Florin Coras wrote: > Hi Venu, > > Inline. > > On Dec 27, 2020, at 8:17 AM, Venumadhav Josyula > wrote: > > Hi Florin, > > Thanks, that helped. Now I have question, please > vpp# show session verbose proto tcp > [0:1][T] 0.0.0.0:1234->0

Re: [vpp-dev] Problem running vcl-test-server inside a docker

2020-12-27 Thread Venumadhav Josyula
n > > [1] https://wiki.fd.io/view/VPP/HostStack/VCL > [2] > https://wiki.fd.io/view/VPP/HostStack/SessionLayerArchitecture#Session_Layer_Startup_Configuration > > On Dec 24, 2020, at 4:35 AM, Venumadhav Josyula > wrote: > > Hi > Setup details :- > Two dockers created using following c

[vpp-dev] Problem running vcl-test-server inside a docker

2020-12-24 Thread Venumadhav Josyula
Hi Setup details :- Two dockers created using following commands *vpp docker * *creation :-* docker run --privileged -it -d -v /var/run:/var/run -v /dev:/dev -v /dev/shm:/dev/shm --cap-add=CAP_SYS_ADMIN --cap-add=CAP_NET_ADMIN --name vpp-run-c1 vpp-run:1.0 /usr/sbin/init *VPP Libraries installed*

Re: [vpp-dev] support of raw socket like support in vpp

2020-12-22 Thread Venumadhav Josyula
Pointers will also help. On Tue, 22 Dec, 2020, 9:17 pm Florin Coras, wrote: > Hi Venu, > > The only resource I know of is [1]. Others might have more pointers. > > Regards, > Florin > > [1] https://git.fd.io/vpp/tree/extras/libmemif > > On Dec 22, 2020, at 7:36 A

Re: [vpp-dev] support of raw socket like support in vpp

2020-12-22 Thread Venumadhav Josyula
Regards, > Florin > > On Dec 22, 2020, at 12:43 AM, Venumadhav Josyula > wrote: > > Hi All. > > There is any raw socket like support in vpp. Our stack opens raw sockets > and as out stack is sitting in the stack. We would like to pass the > ethernet data direc

[vpp-dev] support of raw socket like support in vpp

2020-12-22 Thread Venumadhav Josyula
Hi All. There is any raw socket like support in vpp. Our stack opens raw sockets and as out stack is sitting in the stack. We would like to pass the ethernet data directly via session layer to the application. We are planning to use vcl to achieve the same. Any pointers of examples are good to kn

Re: [vpp-dev] vppcom and binary api #binapi #vapi #vppcom

2020-12-08 Thread Venumadhav Josyula
Also does either are independent or require vpp host stack ? Thanks and regards Venu On Tue, 8 Dec, 2020, 9:13 pm Venumadhav Josyula, wrote: > Hi Florin, > > What's difference between ldp and direct vcl ? I mean in terms of use > cases > > Thanks and Regards > Venu

Re: [vpp-dev] vppcom and binary api #binapi #vapi #vppcom

2020-12-08 Thread Venumadhav Josyula
PRELOAD) shim and eventually through vcl. > vcl_test_client and vcl_test_server are the tests that use vcl directly. > > Regards, > Florin > > On Dec 8, 2020, at 2:11 AM, Venumadhav Josyula wrote: > > Hi Florin, > > The below are vcl based, my understanding it is based nor

Re: [vpp-dev] vppcom and binary api #binapi #vapi #vppcom

2020-12-08 Thread Venumadhav Josyula
ere [3] the vcl test client/server apps. > > Regards, > Florin > > [1] https://wiki.fd.io/view/VPP/HostStack > [2] https://wiki.fd.io/images/9/9c/Vpp-hoststack-kc-eu19.pdf > [3] https://git.fd.io/vpp/tree/src/plugins/hs_apps/vcl > > > On Dec 7, 2020, at 11:24 AM, Venumad

Re: [vpp-dev] vppcom and binary api #binapi #vapi #vppcom

2020-12-07 Thread Venumadhav Josyula
Hi Florin, This is nothing to do with the subject being discussed. Can you please direct me to the following i) example(s) of VCL ? ii) Any tutorial explaining the working of VCL ? Thanks & Regards, Venu On Fri, 4 Dec 2020 at 01:28, Florin Coras wrote: > Hi Ravi, > > VCL is not part of the vp