Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/101238 _apply patch failure_ Submitter: Tal Shnaiderman Date: Tuesday, October 12 2021 15:53:59 Applied on: CommitID:e0ae3db0c043cbdc4cc22bb60206f21ec4a82a02 Apply patch set 101238-101242 failed: Checking patch drivers/crypto/mlx5/mlx5_crypto.c... error: while searching for: attr.pd = priv->cdev->pdn; attr.uar_index = mlx5_os_get_devx_uar_page_id(priv->uar); attr.cqn = qp->cq_obj.cq->id; attr.log_page_size = rte_log2_u32(sysconf(_SC_PAGESIZE)); attr.rq_size = 0; attr.sq_size = RTE_BIT32(log_nb_desc); attr.dbr_umem_valid = 1; error: patch failed: drivers/crypto/mlx5/mlx5_crypto.c:688 Hunk #4 succeeded at 1110 (offset 95 lines). Applying patch drivers/crypto/mlx5/mlx5_crypto.c with 1 reject... Hunk #1 applied cleanly. Hunk #2 applied cleanly. Rejected hunk #3. Hunk #4 applied cleanly. diff a/drivers/crypto/mlx5/mlx5_crypto.c b/drivers/crypto/mlx5/mlx5_crypto.c (rejected hunks) @@ -688,7 +689,7 @@ mlx5_crypto_queue_pair_setup(struct rte_cryptodev *dev, uint16_t qp_id, attr.pd = priv->cdev->pdn; attr.uar_index = mlx5_os_get_devx_uar_page_id(priv->uar); attr.cqn = qp->cq_obj.cq->id; - attr.log_page_size = rte_log2_u32(sysconf(_SC_PAGESIZE)); + attr.log_page_size = rte_log2_u32(rte_mem_page_size()); attr.rq_size = 0; attr.sq_size = RTE_BIT32(log_nb_desc); attr.dbr_umem_valid = 1; Checking patch drivers/crypto/mlx5/mlx5_crypto.c... error: drivers/crypto/mlx5/mlx5_crypto.c: does not match index Checking patch drivers/crypto/mlx5/mlx5_crypto.h... error: while searching for: struct mlx5_devx_cq cq_obj; struct mlx5_devx_obj *qp_obj; struct rte_cryptodev_stats stats; struct mlx5dv_devx_umem *umem_obj; void *umem_buf; volatile uint32_t *db_rec; struct rte_crypto_op **ops; error: patch failed: drivers/crypto/mlx5/mlx5_crypto.h:42 Applying patch drivers/crypto/mlx5/mlx5_crypto.h with 1 reject... Rejected hunk #1. diff a/drivers/crypto/mlx5/mlx5_crypto.h b/drivers/crypto/mlx5/mlx5_crypto.h (rejected hunks) @@ -42,7 +42,7 @@ struct mlx5_crypto_qp { struct mlx5_devx_cq cq_obj; struct mlx5_devx_obj *qp_obj; struct rte_cryptodev_stats stats; - struct mlx5dv_devx_umem *umem_obj; + void *umem_obj; void *umem_buf; volatile uint32_t *db_rec; struct rte_crypto_op **ops; Checking patch drivers/crypto/mlx5/mlx5_crypto.c... error: drivers/crypto/mlx5/mlx5_crypto.c: does not match index Checking patch doc/guides/cryptodevs/mlx5.rst... Checking patch doc/guides/rel_notes/release_21_11.rst... error: while searching for: Updated the Mellanox mlx5 driver with new features and improvements, including: * Added implicit mempool registration to avoid data path hiccups (opt-out). Removed Items error: patch failed: doc/guides/rel_notes/release_21_11.rst:135 Checking patch drivers/common/mlx5/version.map... error: while searching for: mlx5_dev_mempool_unregister; mlx5_dev_mempool_subscribe; mlx5_devx_alloc_uar; # WINDOWS_NO_EXPORT mlx5_devx_cmd_alloc_pd; mlx5_devx_cmd_create_conn_track_offload_obj; error: patch failed: drivers/common/mlx5/version.map:16 Checking patch drivers/common/mlx5/windows/mlx5_common_os.c... error: while searching for: struct mlx5_context *mlx5_ctx = NULL; int n; if (classes != MLX5_CLASS_ETH) { DRV_LOG(ERR, "The chosen classes are not supported on Windows."); rte_errno = ENOTSUP; error: patch failed: drivers/common/mlx5/windows/mlx5_common_os.c:202 Checking patch drivers/crypto/aesni_gcm/meson.build... Checking patch drivers/crypto/aesni_mb/meson.build... Checking patch drivers/crypto/armv8/meson.build... Checking patch drivers/crypto/bcmfs/meson.build... Checking patch drivers/crypto/ccp/meson.build... Checking patch drivers/crypto/kasumi/meson.build... Checking patch drivers/crypto/meson.build... Checking patch drivers/crypto/mlx5/meson.build... Checking patch drivers/crypto/mvsam/meson.build... Checking patch drivers/crypto/null/meson.build... Checking patch drivers/crypto/octeontx/meson.build... Checking patch drivers/crypto/openssl/meson.build... Checking patch drivers/crypto/qat/meson.build... Checking patch drivers/crypto/scheduler/meson.build... Checking patch drivers/crypto/snow3g/meson.build... Checking patch drivers/crypto/virtio/meson.build... Checking patch drivers/crypto/zuc/meson.build... Applied patch doc/guides/cryptodevs/mlx5.rst cleanly. Applying patch doc/guides/rel_notes/release_21_11.rst with 1 reject... Rejected hunk #1. Applying patch drivers/common/mlx5/version.map with 1 reject... Rejected hunk #1. Applying patch drivers/common/mlx5/windows/mlx5_common_os.c with 1 reject... Rejected hunk #1. Applied patch drivers/crypto/aesni_gcm/meson.build cleanly. Applied patch drivers/crypto/aesni_mb/meson.build cleanly. Applied patch drivers/crypto/armv8/meson.build cleanly. Applied patch drivers/crypto/bcmfs/meson.build cleanly. Applied patch drivers/crypto/ccp/meson.build cleanly. Applied patch drivers/crypto/kasumi/meson.build cleanly. Applied patch drivers/crypto/meson.build cleanly. Applied patch drivers/crypto/mlx5/meson.build cleanly. Applied patch drivers/crypto/mvsam/meson.build cleanly. Applied patch drivers/crypto/null/meson.build cleanly. Applied patch drivers/crypto/octeontx/meson.build cleanly. Applied patch drivers/crypto/openssl/meson.build cleanly. Applied patch drivers/crypto/qat/meson.build cleanly. Applied patch drivers/crypto/scheduler/meson.build cleanly. Applied patch drivers/crypto/snow3g/meson.build cleanly. Applied patch drivers/crypto/virtio/meson.build cleanly. Applied patch drivers/crypto/zuc/meson.build cleanly. diff a/doc/guides/rel_notes/release_21_11.rst b/doc/guides/rel_notes/release_21_11.rst (rejected hunks) @@ -135,6 +135,7 @@ New Features Updated the Mellanox mlx5 driver with new features and improvements, including: * Added implicit mempool registration to avoid data path hiccups (opt-out). + * Added support for mlx5 crypto PMD on Windows operating system. Removed Items diff a/drivers/common/mlx5/version.map b/drivers/common/mlx5/version.map (rejected hunks) @@ -16,7 +16,7 @@ INTERNAL { mlx5_dev_mempool_unregister; mlx5_dev_mempool_subscribe; - mlx5_devx_alloc_uar; # WINDOWS_NO_EXPORT + mlx5_devx_alloc_uar; mlx5_devx_cmd_alloc_pd; mlx5_devx_cmd_create_conn_track_offload_obj; diff a/drivers/common/mlx5/windows/mlx5_common_os.c b/drivers/common/mlx5/windows/mlx5_common_os.c (rejected hunks) @@ -202,7 +202,7 @@ mlx5_os_open_device(struct mlx5_common_device *cdev, uint32_t classes) struct mlx5_context *mlx5_ctx = NULL; int n; - if (classes != MLX5_CLASS_ETH) { + if (classes != MLX5_CLASS_ETH && classes != MLX5_CLASS_CRYPTO) { DRV_LOG(ERR, "The chosen classes are not supported on Windows."); rte_errno = ENOTSUP; https://lab.dpdk.org/results/dashboard/patchsets/19341/ UNH-IOL DPDK Community Lab