Re: [vpp-dev] Regarding assert in vlib_buffer_advance

2021-09-06 Thread Damjan Marion via lists.fd.io
— Damjan > On 06.09.2021., at 15:27, Prashant Upadhyaya wrote: > > Hi, > > I am using VPP21.06 > In vlib_buffer_advance there is the following assert -- > ASSERT ((b->flags & VLIB_BUFFER_NEXT_PRESENT) == 0 || > b->current_length >= VLIB_BUFFER_MIN_CHAIN_SEG_SIZE); > > The above

Re: [vpp-dev] VPP 2106 with Sanitizer enabled

2021-09-06 Thread chetan bhasin
Thanks a ton Ben! On Mon, Sep 6, 2021 at 6:10 PM Benoit Ganne (bganne) wrote: > Yes we are aware of it, still working on the correct fix though. > In the meantime you can try to apply https://gerrit.fd.io/r/c/vpp/+/32765 > which should workaround that for now. > > Best > ben > > > -Original

Re: [vpp-dev] Regarding assert in vlib_buffer_advance

2021-09-06 Thread Mrityunjay Kumar
*Regards*, Mrityunjay Kumar. Mobile: +91 - 9731528504 On Mon, Sep 6, 2021 at 6:57 PM Prashant Upadhyaya wrote: > Hi, > > I am using VPP21.06 > In vlib_buffer_advance there is the following assert -- > ASSERT ((b->flags & VLIB_BUFFER_NEXT_PRESENT) == 0 || > b->current_length >=

[vpp-dev] Regarding assert in vlib_buffer_advance

2021-09-06 Thread Prashant Upadhyaya
Hi, I am using VPP21.06 In vlib_buffer_advance there is the following assert -- ASSERT ((b->flags & VLIB_BUFFER_NEXT_PRESENT) == 0 || b->current_length >= VLIB_BUFFER_MIN_CHAIN_SEG_SIZE); The above is problematic as I have a usecase where I construct a chained packet. The first packet

Re: [vpp-dev] VPP 2106 How to enable Pcap trace of 2 interfaces out of 4

2021-09-06 Thread Dave Barach
Short answer: not as the code stands today. It would be simple to augment pcap_sw_if_index with a bitmap to solve “n choose k” problems. Making the scheme multi-instance would involve a significant rework, and effectively discards packet processing order information. I wouldn’t be in

Re: [vpp-dev] VPP 2106 with Sanitizer enabled

2021-09-06 Thread Benoit Ganne (bganne) via lists.fd.io
Yes we are aware of it, still working on the correct fix though. In the meantime you can try to apply https://gerrit.fd.io/r/c/vpp/+/32765 which should workaround that for now. Best ben > -Original Message- > From: chetan bhasin > Sent: lundi 6 septembre 2021 14:21 > To: Benoit Ganne

Re: [vpp-dev] VPP 2106 with Sanitizer enabled

2021-09-06 Thread chetan bhasin
Hi, The below crash is coming as we involved VPP TCP host stack. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffb527f9700 (LWP 2013)] 0x771db5c1 in __asan::FakeStack::AddrIsInFakeStack(unsigned long, unsigned long*, unsigned long*) () from

Re: [vpp-dev] Regarding VPP IPSec pipeline

2021-09-06 Thread Mrityunjay Kumar
*Regards*, Mrityunjay Kumar. Mobile: +91 - 9731528504 On Mon, Sep 6, 2021 at 2:35 PM Prashant Upadhyaya wrote: > Hi, > > I am using VPP21.06. > I have successfully created an IPSec tunnel between VPP and a Strong Swan > peer. > Packets from VPP are going into ESP towards the peer, the peer is

Re: [vpp-dev] Regarding VPP IPSec pipeline

2021-09-06 Thread Neale Ranns
Hi Prashant, From: vpp-dev@lists.fd.io on behalf of Prashant Upadhyaya via lists.fd.io Date: Monday, 6 September 2021 at 11:05 To: vpp-dev@lists.fd.io Subject: [vpp-dev] Regarding VPP IPSec pipeline Hi, I am using VPP21.06. I have successfully created an IPSec tunnel between VPP and a Strong

[vpp-dev] Regarding VPP IPSec pipeline

2021-09-06 Thread Prashant Upadhyaya
Hi, I am using VPP21.06. I have successfully created an IPSec tunnel between VPP and a Strong Swan peer. Packets from VPP are going into ESP towards the peer, the peer is responding back with ESP as well (inner cleartext packets are ICMP) Now then, I have a node of my own which is sitting on the

[vpp-dev] VPP 2106 How to enable Pcap trace of 2 interfaces out of 4

2021-09-06 Thread sunil kumar
Hi , We have to enable pcap trace for two interfaces out of four VPP interfaces and in separate pcap files, Is it possible with pcap trace CLI to run it parallel with multiple instances? Regards, Sunil -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

Re: [vpp-dev] VPP 2106 with Sanitizer enabled

2021-09-06 Thread chetan bhasin
Hi Ben, Thanks for the direction. Looks like it will fix both the issues as mentioned above. I will update you with the results after applying the patch. Is there any ASAN related patch inside the TCP host stack code. I will be sharing the issue shortly with you. Thanks, Chetan On Mon, Sep 6,

Re: [vpp-dev] VPP 2106 with Sanitizer enabled

2021-09-06 Thread Benoit Ganne (bganne) via lists.fd.io
It should be fixed in master by https://gerrit.fd.io/r/c/vpp/+/32643 ben > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of chetan bhasin > Sent: lundi 6 septembre 2021 09:36 > To: vpp-dev > Subject: [vpp-dev] VPP 2106 with Sanitizer enabled > > Hi > > > We are facing two

[vpp-dev] VPP 2106 with Sanitizer enabled

2021-09-06 Thread chetan bhasin
Hi We are facing two errors with vpp2106 and Address Sanitizer enabled. make V=1 -j4 build VPP_EXTRA_CMAKE_ARGS=-DVPP_ENABLE_SANITIZE_ADDR=ON *Work-around* - After adding the two api’s string_key_sum and strnlen_s_inline to ASAN suppression, vpp2106 comes up fine. Error 1: -- Program

[vpp-dev] VPP plug-in cannot use DPDK library problem #dpdk

2021-09-06 Thread jankincai12
Hi VPP plugin-in use DPDK library `RING: Cannot reserve memory for tailq` problem.  VPP should be initialized EAL, the actual result is not initialized EAL. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20071):