IB/ehca: Remove unnecessary memory operations for userspace queue pairs
authorStefan Roscher <ossrosch@linux.vnet.ibm.com>
Wed, 13 May 2009 23:52:43 +0000 (16:52 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 13 May 2009 23:52:43 +0000 (16:52 -0700)
The queue map for flush completion circumvention is only used for
kernel space queue pairs.  This patch skips the allocation of the
queue maps in case the QP is created for userspace.  In addition, this
patch does not iomap the galpas for kernel usage if the queue pair is
only used in userspace.  These changes will improve the performance of
creation of userspace queue pairs.

Signed-off-by: Stefan Roscher <stefan.roscher@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found