android_kernel_xiaomi_sm8350/drivers/infiniband
Ralph Campbell 6cff2faaf1 IB/ipath: Optimize completion queue entry insertion and polling
The code to add an entry to the completion queue stored the QPN which is
needed for the user level verbs view of the completion queue entry but
the kernel struct ib_wc contains a pointer to the QP instead of a QPN.
When the kernel polled for a completion queue entry, the QPN was lookup
up and the QP pointer recovered. This patch stores the CQE differently
based on whether the CQ is a kernel CQ or a user CQ thus avoiding the
QPN to QP lookup overhead.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-10-09 20:52:23 -07:00
..
core RDMA/cma: Queue IB CM MRAs to avoid unnecessary remote retries 2007-10-09 19:59:17 -07:00
hw IB/ipath: Optimize completion queue entry insertion and polling 2007-10-09 20:52:23 -07:00
ulp IPoIB/cm: Clean up initialization of QP attr in ipoib_cm_create_tx_qp() 2007-10-09 19:59:18 -07:00
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
Makefile IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters 2007-05-08 18:00:38 -07:00