Re: [dpdk-dev] [PATCH v4 4/5] examples/ipsec-secgw: get rid of maximum sa limitation

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 4/5] examples/ipsec-secgw: get rid of maximum sa limitation > > Get rid of maximum SA limitation. > Keep pa

[dpdk-dev] [PATCH v4 4/5] examples/ipsec-secgw: get rid of maximum sa limitation

2020-01-14 Thread Vladimir Medvedkin
Get rid of maximum SA limitation. Keep parsed SA's into the sorted by SPI value array. Use binary search in the sorted SA array to find appropriate SA for a given SPI. Signed-off-by: Vladimir Medvedkin --- examples/ipsec-secgw/ipsec.h | 1 - examples/ipsec-secgw/parser.c | 2 ++ examples/ipse