linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chuck Lever <chuck.lever@oracle.com>
To: anna.schumaker@netapp.com
Cc: linux-rdma@vger.kernel.org, linux-nfs@vger.kernel.org
Subject: [PATCH 1/4] xprtrdma: Put Send CQ in IB_POLL_WORKQUEUE mode
Date: Fri, 27 Oct 2017 12:43:54 -0400	[thread overview]
Message-ID: <20171027164354.10826.314.stgit@manet.1015granger.net> (raw)
In-Reply-To: <20171027164014.10826.10151.stgit@manet.1015granger.net>

Lift the Send and LocalInv completion handlers out of soft IRQ mode
to make room for other work. Also, move the Send CQ to a different
CPU than the CPU where the Receive CQ is running, for improved
scalability.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 net/sunrpc/xprtrdma/verbs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/sunrpc/xprtrdma/verbs.c b/net/sunrpc/xprtrdma/verbs.c
index 22128a8..4cfa893 100644
--- a/net/sunrpc/xprtrdma/verbs.c
+++ b/net/sunrpc/xprtrdma/verbs.c
@@ -558,7 +558,7 @@
 
 	sendcq = ib_alloc_cq(ia->ri_device, NULL,
 			     ep->rep_attr.cap.max_send_wr + 1,
-			     0, IB_POLL_SOFTIRQ);
+			     1, IB_POLL_WORKQUEUE);
 	if (IS_ERR(sendcq)) {
 		rc = PTR_ERR(sendcq);
 		dprintk("RPC:       %s: failed to create send CQ: %i\n",


  reply	other threads:[~2017-10-27 16:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-27 16:43 [PATCH 0/4] Last NFS/RDMA client patches for v4.15 Chuck Lever
2017-10-27 16:43 ` Chuck Lever [this message]
2017-10-28  7:32   ` [PATCH 1/4] xprtrdma: Put Send CQ in IB_POLL_WORKQUEUE mode Devesh Sharma
2017-10-27 16:44 ` [PATCH 2/4] rpcrdma: Remove C structure definitions of XDR data items Chuck Lever
2017-10-28  7:38   ` Devesh Sharma
2017-10-29 17:28     ` Chuck Lever
2017-10-30  3:56       ` Devesh Sharma
2017-10-27 16:44 ` [PATCH 3/4] xprtrdma: Remove include for linux/prefetch.h Chuck Lever
2017-10-28  7:36   ` Devesh Sharma
2017-10-27 16:44 ` [PATCH 4/4] xprtrdma: Update copyright notices Chuck Lever

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=20171027164354.10826.314.stgit@manet.1015granger.net \
    --to=chuck.lever@oracle.com \
    --cc=anna.schumaker@netapp.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.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).