WSL2-Linux-Kernel/drivers/infiniband/hw
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
..
amso1100 RDMA/amso1100: Initialize the wait_queue_head_t in the c2_qp structure 2007-07-28 08:06:40 -07:00
cxgb3 RDMA/cxgb3: Make the iw_cxgb3 module parameters writable 2007-10-09 19:59:04 -07:00
ehca IB/ehca: Fix clipping of device limits to INT_MAX 2007-10-09 19:59:18 -07:00
ipath IB/ipath: Optimize completion queue entry insertion and polling 2007-10-09 20:52:23 -07:00
mlx4 IB/mlx4: Implement FMRs 2007-10-09 19:59:16 -07:00
mthca IB/mthca: Use mmiowb() to avoid firmware commands getting jumbled up 2007-10-09 19:59:17 -07:00