> -Original Message-
> From: Nicolau, Radu
> Sent: Tuesday, January 16, 2018 11:02 AM
> To: Akhil Goyal ; dev@dpdk.org
> Cc: De Lara Guarch, Pablo ;
> hemant.agra...@nxp.com; Gonzalez Monroy, Sergio
>
> Subject: RE: [PATCH] examples/ipsec-secgw: fix corner case for spi value
>
>
>
> >
> -Original Message-
> From: Akhil Goyal [mailto:akhil.go...@nxp.com]
> Sent: Thursday, January 11, 2018 11:56 AM
> To: dev@dpdk.org
> Cc: De Lara Guarch, Pablo ;
> hemant.agra...@nxp.com; Gonzalez Monroy, Sergio
> ; Nicolau, Radu
> ; Akhil Goyal
> Subject: [PATCH] examples/ipsec-secgw:
application is using index 0 of SA table as error,
with current value of IPSEC_SA_MAX_ENTRIES(128) it can
not support SA with spi = 128, as it uses sa_idx = 0
in the SA table.
With this patch, sa_idx = 0 can also be used.
PS: spi = 0 is an invalid SPI and application throws error
for it.
Fixes:
3 matches
Mail list logo