[dpdk-dev] [PATCH v4 1/2] test/crypto: add capability check

Trahe, Fiona fiona.trahe at intel.com
Thu Apr 16 18:26:00 CEST 2020


Hi Pablo,

> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Pablo de Lara
> Sent: Thursday, April 16, 2020 10:08 AM
> To: Doherty, Declan <declan.doherty at intel.com>
> Cc: dev at dpdk.org; akhil.goyal at nxp.com; De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>;
> Dybkowski, AdamX <adamx.dybkowski at intel.com>
> Subject: [dpdk-dev] [PATCH v4 1/2] test/crypto: add capability check

///snip///
> +static int
>  test_blockcipher_one_case(const struct blockcipher_test_case *t,
>  	struct rte_mempool *mbuf_pool,
>  	struct rte_mempool *op_mpool,
> @@ -93,11 +136,13 @@ test_blockcipher_one_case(const struct blockcipher_test_case *t,
>  		uint64_t feat_flags = dev_info.feature_flags;
>  		uint64_t oop_flag = RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT;
> 
> -		if (t->feature_mask && BLOCKCIPHER_TEST_FEATURE_OOP) {
> +		if (t->feature_mask & BLOCKCIPHER_TEST_FEATURE_OOP) {
[Fiona] Isn't this a fix which should be a separate patch and should be backported to stable releases?


More information about the dev mailing list