[dpdk-dev] [PATCH v3] ipsec: include high order bytes of esn in pkt len

Ananyev, Konstantin konstantin.ananyev at intel.com
Thu Jun 6 16:45:12 CEST 2019



> -----Original Message-----
> From: Lukasz Bartosik [mailto:lbartosik at marvell.com]
> Sent: Wednesday, June 5, 2019 4:31 PM
> To: Ananyev, Konstantin <konstantin.ananyev at intel.com>
> Cc: dev at dpdk.org; anoobj at marvell.com; Lukasz Bartosik <lbartosik at marvell.com>
> Subject: [PATCH v3] ipsec: include high order bytes of esn in pkt len
> 
> When esn is used then high-order 32 bits are included in ICV
> calculation however are not transmitted. Update packet length
> to be consistent with auth data offset and length before crypto
> operation. High-order 32 bits of esn will be removed from packet
> length in crypto post processing.
> 
> Signed-off-by: Lukasz Bartosik <lbartosik at marvell.com>
> ---

Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

> --
> 2.7.4



More information about the dev mailing list