]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrmda: Reduce calls to ib_poll_cq() in completion handlers
authorChuck Lever <chuck.lever@oracle.com>
Wed, 28 May 2014 14:33:42 +0000 (10:33 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 4 Jun 2014 12:56:44 +0000 (08:56 -0400)
commit862140635ef294e995cdc6f49ac2155e936690c8
tree225dba01c882c314e3f7aa8bfd9febd830344f22
parentbff8e28ea7400c04d788149bfae7b2ab50439cba
xprtrmda: Reduce calls to ib_poll_cq() in completion handlers

Change the completion handlers to grab up to 16 items per
ib_poll_cq() call. No extra ib_poll_cq() is needed if fewer than 16
items are returned.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c
net/sunrpc/xprtrdma/xprt_rdma.h