]> git.karo-electronics.de Git - linux-beck.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)
commit1c00dd0776543608e13c74a527660cb8cd28a74f
tree225dba01c882c314e3f7aa8bfd9febd830344f22
parent7f23f6f6e388d2003c4ecf5d558f3c2191e12530
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