Tested-by: JiangYuX <yux.ji...@intel.com>

    Best Regards
    Jiang yu


> -----Original Message-----
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Fan Zhang
> Sent: Thursday, October 29, 2020 10:47 PM
> To: dev@dpdk.org
> Cc: akhil.go...@nxp.com; Zhang, Roy Fan <roy.fan.zh...@intel.com>; De
> Lara Guarch, Pablo <pablo.de.lara.gua...@intel.com>
> Subject: [dpdk-dev] [dpdk-dev v2] test: fix GMAC SGL test
> 
> This patch fixes the GMAC SGL test that fails to bypass unsupported PMDs.
> 
> Fixes: dcdd01691f39 ("test/crypto: add GMAC SGL")
> Cc: pablo.de.lara.gua...@intel.com
> 
> Signed-off-by: Fan Zhang <roy.fan.zh...@intel.com>
> ---
> v2:
> - fix typo
>  app/test/test_cryptodev.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index
> 0fed124d3..130719d67 100644
> --- a/app/test/test_cryptodev.c
> +++ b/app/test/test_cryptodev.c
> @@ -11069,8 +11069,8 @@ test_AES_GMAC_authentication_SGL(const
> struct gmac_test_data *tdata,
>       rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info);
>       feature_flags = dev_info.feature_flags;
> 
> -     if ((!(feature_flags & RTE_CRYPTODEV_FF_IN_PLACE_SGL)) &&
> -                     (!(feature_flags &
> RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT)) &&
> +     if ((!(feature_flags & RTE_CRYPTODEV_FF_IN_PLACE_SGL)) ||
> +                     (!(feature_flags &
> RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT)) ||
>                       (!(feature_flags &
> RTE_CRYPTODEV_FF_OOP_SGL_IN_SGL_OUT)))
>               return -ENOTSUP;
> 
> --
> 2.26.2

Reply via email to