> -----Original Message-----
> From: Nicolau, Radu <[email protected]>
> Sent: Friday, September 3, 2021 12:26 PM
> To: Akhil Goyal <[email protected]>; Doherty, Declan
> <[email protected]>
> Cc: [email protected]; [email protected]; Ananyev, Konstantin
> <[email protected]>; Medvedkin, Vladimir
> <[email protected]>; Richardson, Bruce
> <[email protected]>; Zhang, Roy Fan <[email protected]>;
> [email protected]; [email protected]; Sinha, Abhijit
> <[email protected]>; Buckley, Daniel M <[email protected]>;
> [email protected]; [email protected]; [email protected];
> Nicolau, Radu <[email protected]>
> Subject: [PATCH v4 03/10] security: add ESN field to ipsec_xform
> 
> Update ipsec_xform definition to include ESN field.
> 
> Signed-off-by: Declan Doherty <[email protected]>
> Signed-off-by: Radu Nicolau <[email protected]>
> Signed-off-by: Abhijit Sinha <[email protected]>
> Signed-off-by: Daniel Martin Buckley <[email protected]>
> ---
>  lib/security/rte_security.h | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h
> index 03572b10ab..702de58b48 100644
> --- a/lib/security/rte_security.h
> +++ b/lib/security/rte_security.h
> @@ -240,6 +240,14 @@ struct rte_security_ipsec_xform {
>        */
>       uint32_t mss;
>       /**< IPsec payload Maximum Segment Size */
> +     union {
> +             uint64_t value;
> +             struct {
> +                     uint32_t low;
> +                     uint32_t hi;
> +             };
> +     } esn;
> +     /**< Extended Sequence Number */
>  };
> 
>  /**
> --
> 2.25.1

Acked-by: Fan Zhang <[email protected]>

Reply via email to