Re: [vpp-dev] VPP committers: VPP PTL vote

2020-09-29 Thread Satya Murthy
+1 -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17573): https://lists.fd.io/g/vpp-dev/message/17573 Mute This Topic: https://lists.fd.io/mt/77123394/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lis

Re: [vpp-dev] 2 MB of message over memif channel

2020-11-09 Thread Satya Murthy
Thanks Damjan / MJ for the quick inputs. -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17966): https://lists.fd.io/g/vpp-dev/message/17966 Mute This Topic: https://lists.fd.io/mt/78074016/21656 Group Owner: vpp-dev+ow..

Re: [vpp-dev] ip full reassembly - is_custom_app field broken ?

2020-11-09 Thread Satya Murthy
Hi Klement, Do you have the similar changes for ip6_full_reassembly.c as well. If so, Can you pls pass on the diffs. -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17967): https://lists.fd.io/g/vpp-dev/message/17967 Mut

[vpp-dev] Packet corruption over memif ( with libmemif )

2020-12-04 Thread Satya Murthy
Hi, We are facing a strange issue in  packet transfer over memif channel. We have a memif connection setup with VPP as master and App as Client. When the App sends a 64 messages continuously to VPP, the response from VPP is getting corrupted. We are doing coloring of the message bytes on both s

[vpp-dev] VPP crash after enabling address sanitizer

2021-01-25 Thread Satya Murthy
Hi, Tried enabling Google address sanitizer in VPP by looking at the following Wiki. https://fd.io/docs/vpp/master/troubleshooting/sanitizer.html After this, we are seeing that ASAN is detecting errors in VPP-API infra code and crashing. One of the crash is as below. ==17226==ERROR: AddressSani

Re: [vpp-dev] VPP crash after enabling address sanitizer

2021-01-27 Thread Satya Murthy
Hi Ben, Thanks for the quick response. I don't see a possibility of this getting called from any other thread. As seen in the ASAN error o/p , its happening in the main_thread only always. WRITE of size 61 at 0x7fffc519aa5f thread T0 ( *vpp_main* ) Any idea what could be happening here. This is

[vpp-dev] Has anyone able to run AddressSanitizer with VPP, successfully ?

2021-01-31 Thread Satya Murthy
Hi All, Has anyone able to run the AddressSanitizer with basic VPP-APIs being run on VPP. As soon a VPP-API message lands onto the VPP, it is crashing with ASAN detecting an error. Due to this, we are not able to use ASAN for any other functional testing. The ASAN error is happening inside VPP

Re: [vpp-dev] Has anyone able to run AddressSanitizer with VPP, successfully ?

2021-02-02 Thread Satya Murthy
Thanks Ben for the info. My code is based on fdio.2005 The commit you mentioned to exclude is not present in this repo. Do you see any issues with fdio.2005 version for ASAN to run clean ? -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. Vi

[vpp-dev] Bug in vl_socket_read_ready() function

2021-02-10 Thread Satya Murthy
Hi , While using AddressSanitizer with VPP, it detected use-after-poison in  vl_socket_read_ready() function. Closely looking at the code, it seems that this is happening due to the following code. if (vec_len (msg_buffer) > msgbuf_len) /* There are some fragments left. Shrink the msg_buffer to

[vpp-dev] side effects of not using vlib_get_next_frame and put_frame in packet processing

2021-03-25 Thread Satya Murthy
Hi , A basic doubt on the VPP packet processing loop. Typically, we see the packet processing loop as: while(n_left_from > 0) { get_next_frame quad-loop single-loop put_next_frame } >From the code, I could not fully understand if it is mandatory to have the >outerloop or not. Even when I do di

Re: [vpp-dev] : Worker Thread Deadlock Detected from vl_api_clnt_node

2021-07-08 Thread Satya Murthy
Hi Rajith / Dave, We are on fdio.2005 version and see this same crash when we are doing packet tracing. Is there any specific patch/commit that improves the situation of this locking. If so, Can you please let us know the commit info. -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links:

Re: [vpp-dev] : Worker Thread Deadlock Detected from vl_api_clnt_node

2021-07-09 Thread Satya Murthy
Thanks Rajith for quick reply. At this point of time, we do not have a luxury of upgrading to 20.09 in a quick time. Hi Dave, Do you have any specific commit in mind that can help us to eliminate this crash. Really appreciate your inputs on this. -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-

Re: [vpp-dev] vpp main thread crashed at mspace_put

2021-07-19 Thread Satya Murthy
Hi Sudhir, Were you able to find a solution to this problem. We are also facing similar issue. Any inputs would be helpful. -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19830): https://lists.fd.io/g/vpp-dev/message/1

Re: [vpp-dev] VPP getting hanged after consecutive VAPI requests

2021-07-19 Thread Satya Murthy
Hi Chinmaya, We are also facing similar issue and want to check with you if you are able to find a fix for this. Appreciate any inputs regarding the same. -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19831): https://

Re: [vpp-dev] vpp main thread crashed at mspace_put

2021-07-19 Thread Satya Murthy
Thanks Sudhir for the quick inputs. Will check if we have any leaks. Also, as a side question, How are you finding leaks in VPP ? Are you using address sanitizer (or) something else? -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Repl

Re: [vpp-dev] Issues adding ACL with binary_api

2021-08-25 Thread Satya Murthy
vl_api_acl_add_replace_reply_t_handler: *73* : ACL index: 0 *73* pointing to the error code VNET_API_ERROR_INVALID_ARGUMENT.  It gives some clue. -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20016): https://lists.fd.

[vpp-dev] ARP learning via workers and thread barrier locking

2021-08-25 Thread Satya Murthy
Hi All, As per my current understanding of the code for ARP learning: 1. ARP is learned on a VPP worker 2. Send to main thread via rpc, by adding to the rcp queue 3. main thread picks up this from rpc queue 4. main thread takes thread barrier lock and updates the ARP table In the step4, we are t

[vpp-dev] VPP plugins in C++

2021-08-31 Thread Satya Murthy
Hi , Is it possible to develop a vpp plugin in C++ (or) does VPP framework pose any restrictions ? Appreciate your inputs on this. -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20051): https://lists.fd.io/g/vpp-dev/m

[vpp-dev] memif_tx_burst() is failing with INVALID_ARG after migrating to fdio-21.06 version

2021-09-22 Thread Satya Murthy
Hi, We had our software based on 20.05 vpp version. Recently, we moved to fdio-2106 version and could compile it successfully. However, memif_tx_burst() function is failing to send message to VPP with error code "INVALID_ARGUMENT". This was working in 20.05 version without any issues. I see tha

[vpp-dev] Making ACL plugin thread safe

2021-09-28 Thread Satya Murthy
Hi VPP-experts, We are exploring ways to make the ACL plugin thread safe and need your inputs on the same. As of today, most of the ACL apis (acl-add/del and acl-lookup-context-add/del) take thread barrier lock, due to which synchronization is automatically achieved for the workers, who are tr

[vpp-dev] vlib_get_plugin_symbol returning null after upgrading to 21.06 version

2021-09-29 Thread Satya Murthy
Hi, We are trying to upgrade to fdio.2106 version from a previous version. After upgrading to 21.06 version with our custom plugins, we are seeing that  vlib_get_plugin_symbol()  to resolve a symbol from another plugin is always returning null. This was working fine in the earlier version. I cr

Re: [vpp-dev] vlib_get_plugin_symbol returning null after upgrading to 21.06 version

2021-09-29 Thread Satya Murthy
Thanks Mohammed and Dave for the quick inputs. Adding __clib_export  solved my issue. -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20226): https://lists.fd.io/g/vpp-dev/message/20226 Mute This Topic: https://lists.fd.

Re: [vpp-dev] vlib_get_plugin_symbol returning null after upgrading to 21.06 version

2021-09-29 Thread Satya Murthy
This works fine for me where the code is fully written by us. But, I have few functions which are kind of generated routines from a third party library, where we do not have control to add this __clib_export. Is there any way to work around this case? -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=

[vpp-dev] Are INPUT and PROCESS nodes considered for CPU util calculations?

2021-10-18 Thread Satya Murthy
Hi VPP Experts, We have an issue at hand, where we are seeing non-uniform CPU utilizations showing up for workers from "show threads". We are doing lot of work as part of some timer node, which periodically does maintenance of flows. However, this maintenance activity, which is run as part of th

[vpp-dev] Does memif zero-copy work ?

2021-10-22 Thread Satya Murthy
Hi VPP experts, We are using memif for communication between an APP and VPP. We recently tried moving to zero-copy memif based on the example  icmp_responder-zero-copy-slave. This example shows the code for the APP being in SLAVE mode. So, to go along with this, we made VPP as memif-MASTER and AP

Re: [vpp-dev] Does memif zero-copy work ?

2021-10-22 Thread Satya Murthy
Thanks MJ for the quick reply. Will try this and check. -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20360): https://lists.fd.io/g/vpp-dev/message/20360 Mute This Topic: https://lists.fd.io/mt/86509719/21656 Group Owne

Re: [vpp-dev] VPP 20.05 problems related to memory allocations -- possible memory leak?

2021-11-16 Thread Satya Murthy
Hi Klemant/Elias/Vpp-Experts, We are also seeing the same crash with fdio 21.06 version. vec_resize_allocate_memory + 0x285 vlib_put_next_frame + 0xbd Our main-heap size is set to 2G. Is this a known issue (or) any fix that is available for this. Any inputs will be helpful. -- Thanks & Regard

Re: [vpp-dev] VPP crashing on Cetnos8 server

2021-11-16 Thread Satya Murthy
Hi Ashish / VPP-experts, We are also seeing the same crash with fdio 21.06 version. vec_resize_allocate_memory + 0x285 vlib_put_next_frame + 0xbd Our main-heap size is set to 2G. Is this a known issue (or) any fix that is available for this. Any inputs will be helpful. -- Thanks & Regards, Mu

[vpp-dev] feature arc node is NOT hitting

2021-12-13 Thread Satya Murthy
Hi VPP experts, We are facing some strange issue in the feature arc framwork. We have two nodes inserted in "device-input" feature arc, for example, "feature1" and "feature2". We have enabled these features on two interfaces available. "show interface ifc-1 features" and "show interface ifc-2

<    1   2