> @@ -685,9 +919,8 @@ mlx5_crypto_pci_probe(struct rte_pci_driver
> *pci_drv,
>       DRV_LOG(INFO,
>               "Crypto device %s was created successfully.", ibv->name);
>       crypto_dev->dev_ops = &mlx5_crypto_ops;
> -     crypto_dev->dequeue_burst = NULL;
> -     crypto_dev->enqueue_burst = NULL;
> -     crypto_dev->feature_flags =
> RTE_CRYPTODEV_FF_HW_ACCELERATED;
It should be set once in the patchset.
I see this getting set in 1/15 and removed here and again set in 15/15.
And whenever you are setting it, it should be added in the .ini file as well.

> +     crypto_dev->dequeue_burst = mlx5_crypto_dequeue_burst;
> +     crypto_dev->enqueue_burst = mlx5_crypto_enqueue_burst;
>       crypto_dev->driver_id = mlx5_crypto_driver_id;
>       priv = crypto_dev->data->dev_private;
>       priv->ctx = ctx;
> diff --git a/drivers/crypto/mlx5/mlx5_crypto.h
> b/drivers/crypto/mlx5/mlx5_crypto.h
> index 52fcf5217f..ac4ad1834f 100644
> --- a/drivers/crypto/mlx5/mlx5_crypto.h
> +++ b/drivers/crypto/mlx5/mlx5_crypto.h
> @@ -37,6 +37,9 @@ struct mlx5_crypto_priv {
>       uint16_t rdmw_wqe_size;
>       uint16_t wqe_stride;
>       uint16_t max_rdmaw_klm_n;
> +#ifndef RTE_ARCH_64
> +     rte_spinlock_t uar32_sl;
> +#endif /* RTE_ARCH_64 */
>  };
> 
>  struct mlx5_crypto_qp {
> --
> 2.25.1

Reply via email to