Re: [dpdk-dev] [PATCH v4 3/5] examples/ipsec-secgw: integrate inbound SAD

2020-01-14 Thread Ananyev, Konstantin
> -Original Message- > From: Medvedkin, Vladimir > Sent: Tuesday, January 14, 2020 2:27 PM > To: dev@dpdk.org > Cc: Ananyev, Konstantin ; akhil.go...@nxp.com > Subject: [PATCH v4 3/5] examples/ipsec-secgw: integrate inbound SAD > > Integrate ipsec SAD support into secgw app: > > 1. Us

[dpdk-dev] [PATCH v4 3/5] examples/ipsec-secgw: integrate inbound SAD

2020-01-14 Thread Vladimir Medvedkin
Integrate ipsec SAD support into secgw app: 1. Use SAD library for inbound SA lookup 2. Changes in struct sa_ctx: - sa array allocates dynamically depending on number of configured sa - All SA's are kept one by one without using SPI2IDX 3. SP's userdata now contain index of SA in sa_ctx instea