Skip to content

Commit a4699f5

Browse files
chuckleveramschuma-ntap
authored andcommitted
xprtrdma: Put Send CQ in IB_POLL_WORKQUEUE mode
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> Reviewed-by: Devesh Sharma <devesh.sharma@broadcom.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
1 parent 212bf41 commit a4699f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/sunrpc/xprtrdma/verbs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ rpcrdma_ep_create(struct rpcrdma_ep *ep, struct rpcrdma_ia *ia,
558558

559559
sendcq = ib_alloc_cq(ia->ri_device, NULL,
560560
ep->rep_attr.cap.max_send_wr + 1,
561-
0, IB_POLL_SOFTIRQ);
561+
1, IB_POLL_WORKQUEUE);
562562
if (IS_ERR(sendcq)) {
563563
rc = PTR_ERR(sendcq);
564564
dprintk("RPC: %s: failed to create send CQ: %i\n",

0 commit comments

Comments
 (0)