[dpdk-dev] [PATCH v3 6/8] ipsec: reorder packet check for esp inbound

Akhil Goyal akhil.goyal at nxp.com
Thu Mar 28 12:27:26 CET 2019



On 3/26/2019 9:13 PM, Konstantin Ananyev wrote:
> Right now check for packet length and padding is done inside cop_prepare().
> It makes sense to have all necessary checks in one place at early stage:
> inside pkt_prepare().
> That allows to simplify (and later hopefully) optimize cop_prepare() part.
>
> Signed-off-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
> ---
>   lib/librte_ipsec/esp_inb.c | 41 +++++++++++++++++---------------------
>   1 file changed, 18 insertions(+), 23 deletions(-)
>
Acked-by: Akhil Goyal <akhil.goyal at nxp.com>


More information about the dev mailing list