Re: [dpdk-dev] [PATCH v2 1/2] examples/ipsec-secgw: fix SAD selection logic

2019-10-16 Thread Ananyev, Konstantin
> > > > > Ok, so to confirm: > > Your only issue here is that patch is that we have to split ipsec-secgw > > SADB into > > two? > > > > No objections to other part: > > - search for given SPI value across both SPDs (IPv4 and IPv6) > > - for each positive result create a new SA. > > So if we ha

Re: [dpdk-dev] [PATCH v2 1/2] examples/ipsec-secgw: fix SAD selection logic

2019-10-15 Thread Akhil Goyal
> > Ok, so to confirm: > Your only issue here is that patch is that we have to split ipsec-secgw SADB > into > two? > > No objections to other part: > - search for given SPI value across both SPDs (IPv4 and IPv6) > - for each positive result create a new SA. > So if we have same SPI in both IPv

Re: [dpdk-dev] [PATCH v2 1/2] examples/ipsec-secgw: fix SAD selection logic

2019-10-11 Thread Ananyev, Konstantin
> > > > Ipsec-secgw example application fails to initialize when using default > > > > configuration file (ep0.cfg) in library mode (librte_ipsec enabled). > > > > > > > > The reason is that two of SP rules in ep0.cfg, one for IPv4 and one > > > > for IPv6, are using the same SPI number. When SA

Re: [dpdk-dev] [PATCH v2 1/2] examples/ipsec-secgw: fix SAD selection logic

2019-10-11 Thread Akhil Goyal
Hi Konstantin, > > Hi Akhil, > > > > Ipsec-secgw example application fails to initialize when using default > > > configuration file (ep0.cfg) in library mode (librte_ipsec enabled). > > > > > > The reason is that two of SP rules in ep0.cfg, one for IPv4 and one > > > for IPv6, are using the same

Re: [dpdk-dev] [PATCH v2 1/2] examples/ipsec-secgw: fix SAD selection logic

2019-10-11 Thread Ananyev, Konstantin
Hi Akhil, > > Ipsec-secgw example application fails to initialize when using default > > configuration file (ep0.cfg) in library mode (librte_ipsec enabled). > > > > The reason is that two of SP rules in ep0.cfg, one for IPv4 and one > > for IPv6, are using the same SPI number. When SA rules are

Re: [dpdk-dev] [PATCH v2 1/2] examples/ipsec-secgw: fix SAD selection logic

2019-10-10 Thread Akhil Goyal
Hi Mariusz, > -Original Message- > From: Mariusz Drost > Sent: Tuesday, September 24, 2019 4:06 PM > To: radu.nico...@intel.com; Akhil Goyal ; > konstantin.anan...@intel.com > Cc: dev@dpdk.org; Mariusz Drost ; Lukasz Bartosik > > Subject: [PATCH v2 1/2] examples/ipsec-secgw: fix SAD sel

Re: [dpdk-dev] [PATCH v2 1/2] examples/ipsec-secgw: fix SAD selection logic

2019-10-02 Thread Nicolau, Radu
On 9/24/2019 11:35 AM, Drost, MariuszX wrote: Ipsec-secgw example application fails to initialize when using default configuration file (ep0.cfg) in library mode (librte_ipsec enabled). The reason is that two of SP rules in ep0.cfg, one for IPv4 and one for IPv6, are using the same SPI number.

Re: [dpdk-dev] [PATCH v2 1/2] examples/ipsec-secgw: fix SAD selection logic

2019-09-24 Thread Ananyev, Konstantin
> Ipsec-secgw example application fails to initialize when using default > configuration file (ep0.cfg) in library mode (librte_ipsec enabled). > > The reason is that two of SP rules in ep0.cfg, one for IPv4 and one > for IPv6, are using the same SPI number. When SA rules are initialized, > thei