automatic DPDK test reports
 help / color / mirror / Atom feed
From: dpdklab@iol.unh.edu
To: test-report@dpdk.org
Cc: dpdk-test-reports@iol.unh.edu
Subject: [dpdk-test-report] |WARNING| pw98724-98728 [PATCH] [V2, 5/5] regex/mlx5: refactor HW queue objects
Date: Sun, 12 Sep 2021 13:13:24 -0400 (EDT)	[thread overview]
Message-ID: <20210912171324.8291E446@noxus.dpdklab.iol.unh.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 4653 bytes --]

Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/98724

_apply patch failure_

Submitter: Raja Zidane <rzidane@nvidia.com>
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

                 reply	other threads:[~2021-09-12 17:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210912171324.8291E446@noxus.dpdklab.iol.unh.edu \
    --to=dpdklab@iol.unh.edu \
    --cc=dpdk-test-reports@iol.unh.edu \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).