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

2020-01-14 Thread Ananyev, Konstantin
> Get rid of maximum SP limitation. > Keep parsed SP's into the sorted by SPI value array. > Use binary search in the sorted SP array to find appropriate SP > for a given SPI. > > Signed-off-by: Vladimir Medvedkin > --- Acked-by: Konstantin Ananyev > 2.7.4

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

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