Re: [vpp-dev] Question Regarding vlib Memory Leak Debugging

2022-03-07 Thread truring truring
Thanks Ben for your Reply ,This link is helpful for memory leak issues. Could you please suggest How to debug if a vlib buffer leak is happening inside some plugin. Is there a way to print the content of the allocated vlib buffer ? On Mon, 7 Mar 2022 at 13:36, Benoit Ganne (bganne) wrote: >

Re: [vpp-dev] Registered binary API reply handler not called

2022-03-07 Thread Ole Troan
Wei, If you use the high level C API called vapi instead of the low level C interface you may be in for an easier ride. Cheers Ole > On 7 Mar 2022, at 18:14, Florin Coras wrote: > > Hi Wei, > > I suspect you wanted to register CREATE_LOOPBACK_REPLY instead of > CREATE_LOOPBACK in

Re: [vpp-dev] Registered binary API reply handler not called

2022-03-07 Thread Florin Coras
Hi Wei, I suspect you wanted to register CREATE_LOOPBACK_REPLY instead of CREATE_LOOPBACK in foreach_vpe_api_reply_msg Regards, Florin > On Mar 7, 2022, at 9:07 AM, Wei Huang wrote: > > I used the following program to test API functions. For sw_interface_dump, I > got the reply with all

[vpp-dev] Registered binary API reply handler not called

2022-03-07 Thread Wei Huang
I used the following program to test API functions. For sw_interface_dump, I got the reply with all the interfaces information, but for the create_loopback message, I don't get any reply, although the loopback is successfully created. I also tried ip_route_add_del, ip_route_add_del_v2, same

Re: [vpp-dev] Segmentation fault when dpdk number-rx-queues > 1 in startup.conf

2022-03-07 Thread Damjan Marion via lists.fd.io
OK, so crash is clearly happening in DPDK code so you will need somebody familiar with that driver to take a look. — Damjan > On 07.03.2022., at 07:01, Xu, Ting wrote: > > Hi, Damjan > > Thanks for your help, and the backtrace from gdb is below (a file with same > content is attached

Re: [vpp-dev] linux control plane (lcp): icmp packets not forwarded to host lcp intf

2022-03-07 Thread Pim van Pelt
Hoi, Good to hear, Chunhui. Happy to hear you got this working without too much trouble in the end! groet, Pim On Mon, Mar 7, 2022 at 9:38 AM Chunhui Zhan wrote: > It looks like it is a hardware issue on the pc2. I change the pc2 xl710 > card and both the tcpdump and the ospfd now see the

Re: [vpp-dev] Coredump occur when duplicate a packet at "interface-output" arc. #vpp

2022-03-07 Thread Smith Beirvin
On Mon, Mar 7, 2022 at 04:38 PM, Benoit Ganne (bganne) wrote: > > instead Hi Benoit Bro, I think you are right, thanks again. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20970): https://lists.fd.io/g/vpp-dev/message/20970 Mute This Topic:

Re: [vpp-dev] Coredump occur when duplicate a packet at "interface-output" arc. #vpp

2022-03-07 Thread Smith Beirvin
On Mon, Mar 7, 2022 at 04:38 PM, Benoit Ganne (bganne) wrote: > > bi0 okay, I will check again, thanks -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20969): https://lists.fd.io/g/vpp-dev/message/20969 Mute This Topic:

Re: [vpp-dev] Coredump occur when duplicate a packet at "interface-output" arc. #vpp

2022-03-07 Thread Smith Beirvin
Hi Buddy, thanks for reply, I already take account into the outbond issue regarding two packets increments at one loop( if (is_send_syn && (1 < n_left_to_next)) ). Actually, I couldn't find logical issue on source code. I will read “l2-flood” node soure code for reference.

Re: [vpp-dev] Coredump occur when duplicate a packet at "interface-output" arc. #vpp

2022-03-07 Thread Benoit Ganne (bganne) via lists.fd.io
> You decrement/increment n_left_to_next/to_next twice in one iteration of > the loop, so you are writing out of bounds. >> if (is_send_syn && (1 < n_left_to_next)) I think this should be taken care of by this test though. >> vlib_validate_buffer_enqueue_x1 (vm, node, next_index, to_next, >>

Re: [vpp-dev] linux control plane (lcp): icmp packets not forwarded to host lcp intf

2022-03-07 Thread Chunhui Zhan
It looks like it is a hardware issue on the pc2. I change the pc2 xl710 card and both the tcpdump and the ospfd now see the multicast hello packets on the lcp loopback interface. Chunhui On Sat, Mar 5, 2022 at 9:34 AM Chunhui Zhan wrote: > Pim: > My configuration is kind of much more complex

Re: [vpp-dev] Coredump occur when duplicate a packet at "interface-output" arc. #vpp

2022-03-07 Thread Neale Ranns
Hi, You decrement/increment n_left_to_next/to_next twice in one iteration of the loop, so you are writing out of bounds. Have a look at other nodes that do packet copying like l2_flood. /neale From: vpp-dev@lists.fd.io on behalf of Smith Beirvin via lists.fd.io Date: Monday, 7 March 2022

Re: [vpp-dev] Ping to loopback behind Vxlan tunnel is failing #vpp-dev

2022-03-07 Thread Benoit Ganne (bganne) via lists.fd.io
You need to set loop5007 as the bvi for it to behave as a l3 interface instead of l2: set int l2 bridge loop5007 5007 bvi Best ben > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of suresh > vuppala > Sent: vendredi 4 mars 2022 22:41 > To: vpp-dev@lists.fd.io > Subject:

Re: [vpp-dev] Ping to loopback behind Vxlan tunnel is failing #vpp-dev

2022-03-07 Thread Neale Ranns
From: vpp-dev@lists.fd.io on behalf of suresh vuppala via lists.fd.io Date: Friday, 4 March 2022 at 22:40 To: vpp-dev@lists.fd.io Subject: [vpp-dev] Ping to loopback behind Vxlan tunnel is failing #vpp-dev HI VPP-DEV team, ubuntu 20.04 vpp v22.06-rc0~79-g48bdf24ad I have my ubuntu 20.04

Re: [vpp-dev] Heap memory increasing continuously

2022-03-07 Thread Benoit Ganne (bganne) via lists.fd.io
Hi Vijay, > I am configuring gtpu tunnels in VPP, where for each gtpu tunnel am > configuring 2 classify tables and 1 policer. Have added 9000 gtpu tunnels. > After that I am continuously adding and deleting 1000 gtpu tunnels. And > have observed that heap memory is increasing continuously. Due

Re: [vpp-dev] Question Regarding vlib Memory Leak Debugging

2022-03-07 Thread Benoit Ganne (bganne) via lists.fd.io
> What are the general guidelines to debug VLIB Buffer Leak ? > Is there a way we print the buffer details which are in an allocated > state? You can track allocations with memory traces: https://s3-docs.fd.io/vpp/22.06/gettingstarted/troubleshooting/mem.html Best ben -=-=-=-=-=-=-=-=-=-=-=-