Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/98724 _apply patch failure_ Submitter: Raja Zidane Date: Sunday, September 12 2021 16:36:52 Applied on: CommitID:962bbb0b7f56ab982d6337c9bae05e1b105f8bdd Apply patch set 98724-98728 failed: Checking patch drivers/common/mlx5/mlx5_common_devx.c... Checking patch drivers/common/mlx5/mlx5_common_devx.h... Checking patch drivers/common/mlx5/mlx5_devx_cmds.c... Checking patch drivers/common/mlx5/mlx5_devx_cmds.h... Checking patch drivers/common/mlx5/version.map... Checking patch drivers/crypto/mlx5/mlx5_crypto.c... error: while searching for: goto error; } qp->mr_ctrl.dev_gen_ptr = &priv->mr_scache.dev_gen; attr.pd = priv->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; attr.wq_umem_id = qp->umem_obj->umem_id; attr.wq_umem_offset = 0; attr.dbr_umem_id = qp->umem_obj->umem_id; attr.dbr_address = RTE_BIT64(log_nb_desc) * priv->wqe_set_size; qp->qp_obj = mlx5_devx_cmd_create_qp(priv->ctx, &attr); if (qp->qp_obj == NULL) { DRV_LOG(ERR, "Failed to create QP(%u).", rte_errno); goto error; } qp->db_rec = RTE_PTR_ADD(qp->umem_buf, (uintptr_t)attr.dbr_address); if (mlx5_crypto_qp2rts(qp)) goto error; qp->mkey = (struct mlx5_devx_obj **)RTE_ALIGN((uintptr_t)(qp + 1), RTE_CACHE_LINE_SIZE); error: patch failed: drivers/crypto/mlx5/mlx5_crypto.c:697 Checking patch drivers/crypto/mlx5/mlx5_crypto.h... Hunk #1 succeeded at 44 (offset 1 line). Checking patch drivers/vdpa/mlx5/mlx5_vdpa.h... Checking patch drivers/vdpa/mlx5/mlx5_vdpa_event.c... Applied patch drivers/common/mlx5/mlx5_common_devx.c cleanly. Applied patch drivers/common/mlx5/mlx5_common_devx.h cleanly. Applied patch drivers/common/mlx5/mlx5_devx_cmds.c cleanly. Applied patch drivers/common/mlx5/mlx5_devx_cmds.h cleanly. Applied patch drivers/common/mlx5/version.map cleanly. Applying patch drivers/crypto/mlx5/mlx5_crypto.c with 1 reject... Hunk #1 applied cleanly. Hunk #2 applied cleanly. Hunk #3 applied cleanly. Hunk #4 applied cleanly. Hunk #5 applied cleanly. Hunk #6 applied cleanly. Hunk #7 applied cleanly. Hunk #8 applied cleanly. Hunk #9 applied cleanly. Hunk #10 applied cleanly. Hunk #11 applied cleanly. Rejected hunk #12. Applied patch drivers/crypto/mlx5/mlx5_crypto.h cleanly. Applied patch drivers/vdpa/mlx5/mlx5_vdpa.h cleanly. Applied patch drivers/vdpa/mlx5/mlx5_vdpa_event.c cleanly. diff a/drivers/crypto/mlx5/mlx5_crypto.c b/drivers/crypto/mlx5/mlx5_crypto.c (rejected hunks) @@ -697,24 +660,11 @@ mlx5_crypto_queue_pair_setup(struct rte_cryptodev *dev, uint16_t qp_id, goto error; } qp->mr_ctrl.dev_gen_ptr = &priv->mr_scache.dev_gen; - attr.pd = priv->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; - attr.wq_umem_id = qp->umem_obj->umem_id; - attr.wq_umem_offset = 0; - attr.dbr_umem_id = qp->umem_obj->umem_id; - attr.dbr_address = RTE_BIT64(log_nb_desc) * priv->wqe_set_size; - qp->qp_obj = mlx5_devx_cmd_create_qp(priv->ctx, &attr); - if (qp->qp_obj == NULL) { - DRV_LOG(ERR, "Failed to create QP(%u).", rte_errno); - goto error; - } - qp->db_rec = RTE_PTR_ADD(qp->umem_buf, (uintptr_t)attr.dbr_address); - if (mlx5_crypto_qp2rts(qp)) + /* + * In Order to configure self loopback, when calling devx qp2rts the + * remote QP id that is used is the id of the same QP. + */ + if (mlx5_devx_qp2rts(&qp->qp_obj, qp->qp_obj.qp->id)) goto error; qp->mkey = (struct mlx5_devx_obj **)RTE_ALIGN((uintptr_t)(qp + 1), RTE_CACHE_LINE_SIZE); Checking patch drivers/common/mlx5/mlx5_devx_cmds.c... error: drivers/common/mlx5/mlx5_devx_cmds.c: does not match index Checking patch drivers/common/mlx5/mlx5_devx_cmds.h... error: drivers/common/mlx5/mlx5_devx_cmds.h: does not match index Checking patch drivers/common/mlx5/mlx5_prm.h... Applied patch drivers/common/mlx5/mlx5_prm.h cleanly. Checking patch drivers/common/mlx5/mlx5_devx_cmds.c... error: drivers/common/mlx5/mlx5_devx_cmds.c: does not match index Checking patch drivers/common/mlx5/mlx5_devx_cmds.h... error: drivers/common/mlx5/mlx5_devx_cmds.h: does not match index Checking patch drivers/common/mlx5/mlx5_prm.h... error: drivers/common/mlx5/mlx5_prm.h: does not match index https://lab.dpdk.org/results/dashboard/patchsets/18700/ UNH-IOL DPDK Community Lab