As noted by Billy, vec_validate would call vec_resize and then call memset() to
clear unused area to 0. This call is required to make sure, if vector is
expanded by vec_resize without having to allocate new memory, any unused memory
with stale content is cleared.
For new vectors, calling
Vec_new always allocates storage, vec_validate ensures that an existing
allocation is at least a certain size, or create a new one if the pointer is
NULL. The latter is typically used when the storage will be used as an array
and you want to make sure it's large enough to store element N.
See
Hello,
After some digging, near as I can tell, for a new pointer to a new entity, it
would seem that vec_new() is pretty much providing the same results as
vec_validate(), albeit, with one less memset(bob, o, sizeof(*bob)) being
performed. However, I see a 10:1 usage (preference?) of
Hi all,
I am trying to do some ipsec performance testing on vpp 17.10 (DPDK-17.08). I
was getting optimum performance with vector size 64.
following is the snippet of show run command output
---
TenGigabitEthernet3/0/1-output active 21070 1348480
Thanks Dave, I look forward to it.
Chris.
From: csit-...@lists.fd.io On Behalf Of Dave Wallace
Sent: Thursday, April 12, 2018 10:10
To: csit-...@lists.fd.io
Subject: Re: [csit-dev] VPP 18.04-RC2 release milestone
Chris,
As discussed at yesterday's CSIT weekly meeting,
+vpp-dev
Forwarded Message
Subject:Re: [csit-dev] VPP 18.04-RC2 release milestone
Date: Thu, 12 Apr 2018 10:10:20 -0400
From: Dave Wallace
To: csit-...@lists.fd.io
Chris,
As discussed at yesterday's CSIT weekly meeting, the CSIT team
Hi Xyxue,
There’s no plan to support IPv6 uRPF. However, a simple cut-n-paste of the
IPv4 code (ip/ip4_source_check.c) and some refactoring of common parts would be
the way to go.
Regards,
neale
From: on behalf of xyxue
Date: Thursday, 12 April
Hello, everyone.
I just contacted CSIT architecture, and encountered many problems in the
process of building CSIT.
Can you help me to make a list for me? Do I need to install steps?
There are a lot less data on the Internet
I need to complete the architecture of CSIT, and be able to use Python
Hi,
Even I followed the same steps as Hamid,
ln -sf
/root/vpp/build-root/install-vpp_debug-native/router/lib64/router.so.0.0.0
/usr/lib/vpp_plugins/router.so
I am able to see the router.so is linked. router.so ->
/root/vpp/build-root/install-vpp_debug-native/router/lib64/router.so.0.0.0
But