Re: [vpp-dev] VCL app with multiple TCP sessions handling in single worker

2021-05-21 Thread Florin Coras
Hi Sastry, Inline. > On May 21, 2021, at 11:22 AM, Sastry Sista wrote: > > Hi Florin, > Gone through your old mails on eventfd of mq and given me decent > inputs. > vppcom_mq_epoll_fd() is returning mq_epfd which I can use for my app dispatch > linux epoll. But, My concern is, Can I

[vpp-dev] VCL app with multiple TCP sessions handling in single worker

2021-05-21 Thread Sastry Sista
Hi Florin, Gone through your old mails on eventfd of mq and given me decent inputs. vppcom_mq_epoll_fd() is returning mq_epfd which I can use for my app dispatch linux epoll. But, My concern is, Can I use this mq_epfd for all my TCP sessions i.e single mq for multiple TCP sessions? I have single

Re: [vpp-dev] IPv6 in IPv6 Encapsulation

2021-05-21 Thread jerome . bayaux
Changing the PRE_DATA_SIZE value in src/vlib/CMakeLists.txt does not appear to be that easy.. Indeed, it seems to require several other changes like the value of DPDK_RTE_PKTMBUF_HEADROOM that appears in src/plugins/dpdk/CMakeLists.txt, and some static assert fail by saying : "save_rewrite_len

Re: [vpp-dev] IPv6 in IPv6 Encapsulation

2021-05-21 Thread Damjan Marion via lists.fd.io
> On 21.05.2021., at 17:14, Neale Ranns wrote: > > Right, there’s only so much space available. You’ll need to recompile VPP to > get more space. > Change the PRE_DATA_SIZE value in src/vlib/CMakeLists.txt. Changing makefiles is bad. cmake allows specifying custom values with -D or alternativ

Re: [vpp-dev] IPv6 in IPv6 Encapsulation

2021-05-21 Thread Ole Troan
> On 21 May 2021, at 17:15, Neale Ranns wrote: > >  > Right, there’s only so much space available. You’ll need to recompile VPP to > get more space. > Change the PRE_DATA_SIZE value in src/vlib/CMakeLists.txt. Alternatively use a new buffer for the new IPv6 header and extension header chain

Re: [vpp-dev] IPv6 in IPv6 Encapsulation

2021-05-21 Thread Neale Ranns
Right, there’s only so much space available. You’ll need to recompile VPP to get more space. Change the PRE_DATA_SIZE value in src/vlib/CMakeLists.txt. /neale From: jerome.bay...@student.uliege.be Date: Friday, 21 May 2021 at 17:06 To: Neale Ranns Cc: vpp-dev@lists.fd.io , Justin Iurman Sub

Re: [vpp-dev] IPv6 in IPv6 Encapsulation

2021-05-21 Thread jerome . bayaux
I've just run few tests to be sure : It's exactly that ! As long as the extension header is smaller or exactly equal to 128 bytes, everything is fine. Once it gets bigger than 128 bytes, it starts to go wrong and funky. Jérôme De: "Neale Ranns" À: "jerome bayaux" Cc: vpp-dev@lists.fd.

Re: [vpp-dev] IPv6 in IPv6 Encapsulation

2021-05-21 Thread Neale Ranns
Does it all start to go wrong when the extension header gets to about 128 bytes? /neale From: jerome.bay...@student.uliege.be Date: Friday, 21 May 2021 at 16:04 To: Neale Ranns Cc: vpp-dev@lists.fd.io , Justin Iurman Subject: Re: [vpp-dev] IPv6 in IPv6 Encapsulation Hi again Neale, Here ar

Re: [vpp-dev] IPv6 in IPv6 Encapsulation

2021-05-21 Thread jerome . bayaux
Hi again Neale, Here are some additional observations I've noticed and that could be useful for you to help me : 1) The error only shows up when the Hop-by-Hop extension header I add is big enough (I can give you a more accurate definition of "enough" if you need). When it is quite small, ev

Re: [vpp-dev] IPv6 in IPv6 Encapsulation

2021-05-21 Thread jerome . bayaux
Hi Neale, Here is a trace of a simple ping packet entering into VPP (let me know if you need more information about the topology I used) : Packet 8 00:00:38:194824: af-packet-input af_packet: hw_if_index 1 next-index 4 tpacket2_hdr: status 0x2001 len 118 snaplen 118 mac 66 net 80 sec

Re: [vpp-dev] IPv6 in IPv6 Encapsulation

2021-05-21 Thread Neale Ranns
Hi Jérôme, A packet trace would help us help you in this case 😊 /neale From: vpp-dev@lists.fd.io on behalf of jerome.bayaux via lists.fd.io Date: Friday, 21 May 2021 at 13:05 To: vpp-dev@lists.fd.io Cc: Justin Iurman Subject: [vpp-dev] IPv6 in IPv6 Encapsulation Hello all, I'm trying to d

Re: [vpp-dev] Regarding IPSec sequence number synch

2021-05-21 Thread Neale Ranns
Hi Vijay, It does not. /neale From: vpp-dev@lists.fd.io on behalf of Vijay Kumar via lists.fd.io Date: Thursday, 20 May 2021 at 15:11 To: vpp-dev Subject: [vpp-dev] Regarding IPSec sequence number synch Hi, Does the latest IPSec code support HA. I am interested to know if ESP sequence numbe

[vpp-dev] IPv6 in IPv6 Encapsulation

2021-05-21 Thread jerome . bayaux
Hello all, I'm trying to do some IPv6 in IPv6 encapsulation with no tunnel configuration. The objective is to encapsulate the received packet in an other IPv6 packet that will also "contain" a Hop-by-hop extension header. In summary, the structure of the final packet will look like this : Out

[vpp-dev] Mapping Multiple Classify Session under a Single Classifier Table

2021-05-21 Thread Akash S R
Hello All, We are trying to bind one classifier to multiple classify session. However, we wish to configure src ip alone for one session, src ip and dest ip for the next session, Destination IP alone for another session, etc.. Unfortunately, though config is accepted, functionality wise classifica