Re: [vpp-dev] How to use valgrind to check for memory errors in vpp?

2019-09-09 Thread Benoit Ganne (bganne) via Lists.Fd.Io
> Ben, the Address Sanitizer integration sounds very interesting, if you > could share your WIP patches that would be great! Here it is: https://gerrit.fd.io/r/c/vpp/+/21937 Quick how-to from VPP source directory: ~# git review -d 21937 ~# make -C build-root PLATFORM=vpp TAG=vpp_sanitize

[vpp-dev] API change on master - rebase needed

2019-09-09 Thread Jan Gelety via Lists.Fd.Io
Hello, VPP API change [0] has been merged. All open VPP changes have to be rebased now to pass CRC and CSIT verification. Thanks, Jan [0] https://gerrit.fd.io/r/c/vpp/+/21427 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13931):

Re: [vpp-dev] How to use valgrind to check for memory errors in vpp?

2019-09-09 Thread Elias Rudberg
Thanks Dave and Ben for your kind replies. Ben, the Address Sanitizer integration sounds very interesting, if you could share your WIP patches that would be great! Best regards, Elias On Mon, 2019-09-09 at 12:57 +, Benoit Ganne (bganne) via Lists.Fd.Io wrote: > Hi Elias, > > As mentioned

Re: [vpp-dev] How to use valgrind to check for memory errors in vpp?

2019-09-09 Thread Benoit Ganne (bganne) via Lists.Fd.Io
Hi Elias, As mentioned by Dave, running Valgrind on VPP is challenging because of speed and custom allocators. That being said, I am (slowly) working on integrating Address Sanitizer into VPP. I have some cleanup to do but I can share my WIP patches if interested. Best ben > -Original

Re: [vpp-dev] How to use valgrind to check for memory errors in vpp?

2019-09-09 Thread Dave Barach via Lists.Fd.Io
Dlmalloc [aka "Doug Lea Malloc"] is a lightly modified copy of the allocator described here: http://gee.cs.oswego.edu/dl/html/malloc.html. If you've managed to find an issue in it, please share the details. Until proven otherwise, I suspect the report rather than dlmalloc itself. Vpp does

[vpp-dev] vpp dpdk crypto performance testing (VPP 19.01)

2019-09-09 Thread shi dave
Hi, Using VPP+DPDK for Ipsec Security Gateway application, want to handle traffic (7Gbps uplink & decrypt + 28Gbps downlink & encrypt ) with below configuration, but there have many rx-miss errors in downlink interface, but the Vectors/Call for ipsec & dpdk crypto node is very low (only 3~4),

[vpp-dev] vpp dpdk crypto dev - are multiple crypto algorithms supported concurrently? #vpp

2019-09-09 Thread shi dave
Hi Sergio, Jitendra Note that there is a bug in VPP device initialization where the scheduler needs to appear before the slaves in the config (easy to workaround it). could you help tell me how to resolve this issue, I also found the crypto scheduler doesn't work, thanks! Best Rregards

回复: [vpp-dev] Add ip route without next-hop-address

2019-09-09 Thread shi dave
Hi Neale, I found a solution recently, create a virtual interface by VNET_HW_INTERFACE_CLASS (svti_hw_class), and add route like this: vpp# show interface Name IdxState MTU (L3/IP4/IP6/MPLS) Counter Count GigabitEthernet0/a/0 1 up

Re: [vpp-dev] I want to construct some packets to be sent by a specified thread,what can I do?

2019-09-09 Thread Christian Hopps
https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/developers/vlib.html#handing-off-buffers-between-threads > On Sep 9, 2019, at 2:28 AM, wei_sky2...@163.com wrote: > > our process mode need to construct some packets which is to be sent by a > specified thread > in A thread ,a node

[vpp-dev] How to use valgrind to check for memory errors in vpp?

2019-09-09 Thread Elias Rudberg
Hello, I would like to use valgrind to check for memory errors in vpp. I understand that running something through valgrind makes it very very slow so that it is not an option for real production usage of vpp. However, valgrind is still very useful for finding errors even if it's only for very

[vpp-dev] I want to construct some packets to be sent by a specified thread,what can I do?

2019-09-09 Thread wei_sky2008
our process mode need to construct some packets  which is to be sent by a specified thread in A thread ,a node receive some packets ,when these packet deal finish,they need to  be sent to another node which is belong to B thread, What can be done to meet this requirement? Thanks