mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ping Gan <jacky_gam_2001@163.com>
To: hare@suse.de, hch@lst.de, sagi@grimberg.me, kch@nvidia.com,
	linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org
Cc: ping.gan@dell.com, Ping Gan <jacky_gam_2001@163.com>
Subject: [PATCH v3 2/2] nvmet-rdma: use unbound_wq for nvmet-rdma by default
Date: Fri, 19 Jul 2024 17:19:59 +0800	[thread overview]
Message-ID: <20240719091959.17163-3-jacky_gam_2001@163.com> (raw)
In-Reply-To: <20240719091959.17163-1-jacky_gam_2001@163.com>

To use unbounded workqueue to handle RDMA's IO of CQ by default, which
was discussed in below session.

https://lore.kernel.org/lkml/20240719084953.8050-1-jacky_gam_2001@163.com/

Signed-off-by: Ping Gan <jacky_gam_2001@163.com>
---
 drivers/nvme/target/rdma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/nvme/target/rdma.c b/drivers/nvme/target/rdma.c
index 1eff8ca6a5f1..6a54217e3bc5 100644
--- a/drivers/nvme/target/rdma.c
+++ b/drivers/nvme/target/rdma.c
@@ -1260,7 +1260,7 @@ static int nvmet_rdma_create_queue_ib(struct nvmet_rdma_queue *queue)
 	nr_cqe = queue->recv_queue_size + 2 * queue->send_queue_size;
 
 	queue->cq = ib_cq_pool_get(ndev->device, nr_cqe + 1,
-				   queue->comp_vector, IB_POLL_WORKQUEUE);
+				   queue->comp_vector, IB_POLL_UNBOUND_WORKQUEUE);
 	if (IS_ERR(queue->cq)) {
 		ret = PTR_ERR(queue->cq);
 		pr_err("failed to create CQ cqe= %d ret= %d\n",
-- 
2.26.2


  parent reply	other threads:[~2024-07-19  9:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-19  9:19 [PATCH v3 0/2] nvmet: use unbound_wq for RDMA and TCP " Ping Gan
2024-07-19  9:19 ` [PATCH v3 1/2] nvmet-tcp: use unbound_wq for nvmet-tcp " Ping Gan
2024-07-19  9:19 ` Ping Gan [this message]
2024-07-21 11:03 ` [PATCH v3 0/2] nvmet: use unbound_wq for RDMA and TCP " Sagi Grimberg
2024-07-26  2:34   ` Ping Gan
2024-07-27 19:36     ` [PATCH " Sagi Grimberg
2024-07-31  7:03       ` Ping Gan
2024-07-31  7:36         ` Sagi Grimberg
2024-08-02  3:39           ` [PATCH v30/2] " Ping Gan
2024-08-04  6:53             ` Sagi Grimberg
2024-08-06 10:08               ` Re :[PATCH v3 0/2] " Ping Gan

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=20240719091959.17163-3-jacky_gam_2001@163.com \
    --to=jacky_gam_2001@163.com \
    --cc=hare@suse.de \
    --cc=hch@lst.de \
    --cc=kch@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=ping.gan@dell.com \
    --cc=sagi@grimberg.me \
    /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

all inboxes | Powered by JetHome®