Re: [vpp-dev] Need info on memory-tracer

2020-01-28 Thread satish . gundu
Thank you Dave. I tried disabling history ( which caused a crash ). So, I used to gdb to avoid the problematic code for the time being. With this, now, I am not seeing periodic increments in the traced allocations due to CLI history. However, I am still not getting how to make good use of the "s

Re: [vpp-dev] Need info on memory-tracer

2020-01-28 Thread satish . gundu
Sorry Dave. I could not understand. Do I need to run a command "debug cli command history" ? I didnt find any command on the CLI with this syntax. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15273): https://lists.fd.io/g/vpp-dev/message/15273 Mu

[vpp-dev] Need info on memory-tracer

2020-01-28 Thread satish . gundu
[Edited Message Follows] Hi , Would like to understand on how to use/interpret the output of memory-tracer feature in VPP. Here are the steps I followed. 1) executed memory-trace on 2) checked show memory verbose 3) no allocations seen 4) executed a scenario, where a vector is allocated 5) che

[vpp-dev] Need info on memory-tracer

2020-01-28 Thread satish . gundu
Hi , Would like to understand on how to use/interpret the output of memory-tracer feature in VPP. Here are the steps I followed. 1) executed memory-trace on 2) checked show memory verbose 3) no allocations seen 4) executed a scenario, where a vector is allocated 5) checked show memory verbose (

[vpp-dev] Message more than 2048 is not getting transferred properly ( over MemIf )

2019-04-17 Thread satish . gundu
Hi VPP-Dev, We have a memif connection btw control plane entity and VPP process. We are trying to send a message of size 16K over this memif channel from ControlPlane to VPP. The message is reaching VPP, but we are seeing that only first 2048 bytes are coming as expected. We have changed the

[vpp-dev] Memif "no free tx slots" in 18.10

2019-04-15 Thread satish . gundu
Retrying this.   Hi Vpp-Dev,   Need your help in understanding one the Memif related issue that we are facing in 18.10. This code has been working in 18.01. As soon as we moved to 18.10, we are started seeing this issue.   When our graph node tries to send a message over Memif interface, the sen

Re: [vpp-dev] vlib_register_all_static_nodes not picking up the graph node ( in 18.10 )

2019-04-15 Thread satish . gundu
Hi Dave, The file with register_node for this graph node was not getting picked up as it was present in the "MULTIARCH_SOURCES" section in the CMakeLists.txt. This was working with 1801, but not in 18.10. After removing the section MULTIARCH_SOURCES, this got solved. Thanks & Regards, Satish -

[vpp-dev] Memif "no free tx slots" in 18.10

2019-04-14 Thread satish . gundu
Hi Vpp-Dev, Need your help in understanding one the Memif related issue that we are facing in 18.10. This code has been working in 18.01. As soon as we moved to 18.10, we are started seeing this issue. When our graph node tries to send a message over Memif interface, the send is failing with a

[vpp-dev] vlib_register_all_static_nodes not picking up the graph node ( in 18.10 )

2019-04-12 Thread satish . gundu
Hi Vpp-Dev, In 18.10, my graph node is not getting picked up by the function  vlib_register_all_static_nodes(). vm->node_main.node_registrations does not seem to have my graph node. The same was working in 18.01. Any changes in the way we need to register the graph nodes in 18.10 ?  Can someone

Re: [vpp-dev] Packet with custom ip-proto value drops in ip4-local node

2019-04-12 Thread satish . gundu
Hi Florin, Seems like, my node registration is having an issue for the custom proto. Somehow, with 1810, it is not showing up in the registered nodes. Am posting another topic to resolve this. Thanks for the quick pointers. Regards, Satish -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages

[vpp-dev] Packet with custom ip-proto value drops in ip4-local node

2019-04-11 Thread satish . gundu
Hi VPP-Dev,   We recently moved to 1810 from 1801 and found the following issue. Is this a known issue (or) any help on whats happening here ?   1. We are using memif in IP mode. 2. Some Control plane process sends message over MEMIF to VPP process ( memif mode = IP ) 3. We are using a custom ip-p

[vpp-dev] Non TCP-UDP packet drop in ip4-local node in 1810

2019-04-11 Thread satish . gundu
[Edited Message Follows] Hi VPP-Dev, We recently moved to 1810 from 1801 and found the following issue. Is this a known issue (or) any help on whats happening here ? 1. We are using memif in IP mode. 2. Some Control plane process sends message over MEMIF to VPP process ( memif mode = IP ) 3. We

[vpp-dev] Non TCP-UDP packet drop in ip4-local node in 1810

2019-04-11 Thread satish . gundu
Hi VPP-Dev, We recently moved to 1810 from 1801 and found the following issue. Is this a known issue (or) any help on whats happening here ? 1. We are using memif in IP mode. 2. Some Control plane process sends message over MEMIF to VPP process ( memif mode = IP ) 3. We are using a custom ip-pro

Re: [vpp-dev] VPP plugin unit test framework

2019-03-27 Thread satish . gundu
Thanks Paul for giving your inputs on this. To elaborate on the need/idea that I am looking at is: 1) Let's say we have 3 graph nodes that's getting developed by 3 different people with clear input/output definitions at each node. 2) We want to have a unit test framework that each developer can

Re: [vpp-dev] VPP plugin unit test framework

2019-03-27 Thread satish . gundu
Thanks Neale for the quick info. Will look into the test suit. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12652): https://lists.fd.io/g/vpp-dev/message/12652 Mute This Topic: https://lists.fd.io/mt/30792438/21656 Group Owner: vpp-dev+ow...@lists

[vpp-dev] VPP plugin unit test framework

2019-03-27 Thread satish . gundu
Hi VPP-Dev, Is there any unit test framework available for testing a plugin (or) graphnode independantly. I am looking for something, where a unit test plugin can send a vector of packets to the node that we want to test and receive the packets back to the unit test plugin to verify the test. A

[vpp-dev] Error in classify session CLI

2019-03-21 Thread satish . gundu
Hi Vpp-Dev, I am trying to add a classify table and a session. My classify session CLI is failing with following error. Any idea if I am doing something wrong here. I see the same example working from other folks in this mailing list. vpp# *classify table mask l3 ip4 src* vpp# vpp# *show class

[vpp-dev] VPP Crash in dpdk node

2019-03-08 Thread satish . gundu
Hi VPP-Dev, We are seeing VPP crash with the following stack trace. We believe that this crash might be occurring during a memif message transaction. Is this crash a known issue by any chance. Please let us know. Appreciate your help regarding this. [Switching to Thread 0x7f687c7ff700 (LWP 162)

Re: [vpp-dev] Calling functions across plugins

2019-02-28 Thread satish . gundu
Thanks Dave for the quick inputs. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12402): https://lists.fd.io/g/vpp-dev/message/12402 Mute This Topic: https://lists.fd.io/mt/30164897/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://l

[vpp-dev] Calling functions across plugins

2019-02-28 Thread satish . gundu
Hi VPP-Dev, I have two VPP plugins A and B. Plugin-A needs to call function in plugin-B. Currently, we are using dlopen/dlsym to get the function pointer of function-B in function-A and made it working. But is this the correct way to do it in VPP? (or) does VPP have any other standard way of ac

Re: [vpp-dev] VPP statistics

2019-01-20 Thread satish . gundu
Thanks Ole / Neal for the confirmation. Will further check the code. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11960): https://lists.fd.io/g/vpp-dev/message/11960 Mute This Topic: https://lists.fd.io/mt/29195591/21656 Group Owner: vpp-dev+ow...

[vpp-dev] VPP statistics

2019-01-17 Thread satish . gundu
Hi All, One query on the VPP statistics. In the fd.io wiki: https://wiki.fd.io/view/VPP/Using_VPP_In_A_Multi-thread_Model It's mentioned that VPP statistics get handled by main thread. However, with 18.01 version, I see a separate threads for stats. Is this a recent change in 18.10 ? vpp# show t

[vpp-dev] VPP stats thread

2019-01-17 Thread satish . gundu
Hi All, One query on the VPP statistics. In the fd.io wiki: https://wiki.fd.io/view/VPP/Using_VPP_In_A_Multi-thread_Model It's mentioned that VPP statistics get handled by main thread. However, with 18.01 version, I see a separate threads for stats. Is this a recent change in 18.10 ? vpp# show t

[vpp-dev] Always getting single frames in the vector

2018-12-27 Thread satish . gundu
Hi VPP-Dev, Facing some strange issue while developing a new plugin. My plugin registers for a particular IP_PROTO value to tap in all those packets. Even when the VPP receives high number of packets, I never see more than 1 packet per each vector that comes to the new plugin. I have dual loop in

[vpp-dev] Any upcoming fd.io VPP events

2018-12-21 Thread satish . gundu
Hi VPP-Dev , Would like to know if there are any upcoming fd.io VPP trainings / workshops to attend. Also, we would like to know if someone can give in-person training for couple of days on VPP. Can you please let us know. Thanks & Regards, Satish -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all

Re: [vpp-dev] Message serialize / deserializer in VPP ( like google protobuf )

2018-12-05 Thread satish . gundu
Thanks Ole. We can use option (1). But, Only thing is, on the CP side, we have some restrictions to have a format either as google protobuf (or) JSON format. Do we have builtin Json serialize/deserialize support in VPP for JSON messages into C structures . If so, can you please point me to some

Re: [vpp-dev] Message serialize / deserializer in VPP ( like google protobuf )

2018-12-04 Thread satish . gundu
Thanks Ole for the quick response. We are trying to send messages from a control plane process  to VPP process via memif channel. This is to program the VPP dataplane tables for our product.  I see some serialize functions in vppinfra/serialize.h  file. Are these the ones you were referring tha

[vpp-dev] Message serialize / deserializer in VPP ( like google protobuf )

2018-12-04 Thread satish . gundu
Hi All, Is there any VPP plugin for message serilize/deserialization ( like asn.1  / google protobuf )   ? We would like to use this for messaging with a control plane module over MemIf channel. Appreciate any inputs on this. Thanks & Regards, Satish -=-=-=-=-=-=-=-=-=-=-=- Links: You receive

[vpp-dev] icmp_responder multithreaded failing with no free slots #vpp

2018-11-19 Thread satish . gundu
Hi All, When I build and run the multithreaded version of icmp_responder, the ping from VPP side is failing due to "no free slots" available. Anyone faced this issue earlier and have a quick suggestion to fix this ? The same thing is working fine with epoll version of icmp_responder. Appreciate

Re: [vpp-dev] Memif with RAW

2018-11-18 Thread satish . gundu
Thanks Pradeep for the quick info. Will try this out. Regards, Satish -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11302): https://lists.fd.io/g/vpp-dev/message/11302 Mute This Topic: https://lists.fd.io/mt/28189776/21656 Group Owner: vpp-dev+ow.

[vpp-dev] Memif with RAW

2018-11-16 Thread satish . gundu
Hi VPP-Dev, Can we use memif without attaching to Eth/IP layers.  This will avoid the need of implementing eth/IP layers on a non-VPP-application, if it needs to communicate to a VPP app via memif. This may need development of a memif mode "RAW", which just reads the packets and pushes it onto a

Re: [vpp-dev] MemIf with non-VPP userspace appliation

2018-11-15 Thread satish . gundu
Hi Damjan, Can you please take a look at my previous reply and share your views on this. Thanks a lot and appreciate your time on this. Regards, Satish -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11275): https://lists.fd.io/g/vpp-dev/message/11

Re: [vpp-dev] MemIf with non-VPP userspace appliation

2018-11-14 Thread satish . gundu
Thanks Damjan for the quick response. In fact, delighted to see a response from you ( all these days, I was watching your videos ). We have a non-VPP-App which acts as a control plane entity. This will  send  session installation onto data-plane-VPP. For this communication, if we use plain UDS c

Re: [vpp-dev] MemIf with non-VPP userspace appliation

2018-11-13 Thread satish . gundu
Can someone please help me here. Appreciate your inputs on this. Thanks & Regards, Satish -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11233): https://lists.fd.io/g/vpp-dev/message/11233 Mute This Topic: https://lists.fd.io/mt/28121612/21656 Grou

[vpp-dev] MemIf when security is not a concern

2018-11-13 Thread satish . gundu
Hi , I read / hear in the fd.io videos that memif's main motto is to have a secure point to point connection between two VPP apps. If lets say, security is not a concern and I would want to have communication between a VPP-dataplane-application and a user-space-control-plane-entity in a contain

[vpp-dev] MemIf with non-VPP userspace appliation

2018-11-13 Thread satish . gundu
Hi , A novice to  VPP world.  Trying out VPP memif communication between VPP-dataplane and another process ( which is a non-VPP application ). When we do this, I have to do the IP/UDP processing within the application which is kind of duplication of the entire IP/UDP stack ( atleast checksum v