[PATCH 3/3] app/crypto-perf: fix IPsec direction

Akhil Goyal gakhil at marvell.com
Wed Jan 4 13:08:09 CET 2023


> Subject: [PATCH 3/3] app/crypto-perf: fix IPsec direction
> 
> The default value of options->auth_op & options->cipher_op are such that
> an unconditional check for the same would always return true. Hence, the
> direction is always determined to be outbound/egress.
> 
> The field options->aead_algo should be checked prior to checking above
> fields. Since the same check would be required in datapath, introduce a
> new flag in options for the same.
> 
> Fixes: 28dde5da503e ("app/crypto-perf: support lookaside IPsec")
Cc: stable at dpdk.org

> 
> Signed-off-by: Anoob Joseph <anoobj at marvell.com>
Series Acked-by: Akhil Goyal <gakhil at marvell.com>

Applied to dpdk-next-crypto

Thanks.


More information about the dev mailing list