android_kernel_xiaomi_sm8350/drivers/infiniband/hw
Hoang-Nam Nguyen 2771e9ed47 IB/ehca: Use WQE offset instead of WQE addr for pending work reqs
This is a patch for ehca to fix a bug in prepare_sqe_to_rts(), which
used WQE address to iterate pending work requests.  This might cause
an access violation since the queue pages can not be assumed to follow
each other consecutively.  Thus, this patch introduces a few queue
functions to determine WQE offset based on its address and uses WQE
offset to iterate the pending work requests.

Signed-off-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-11-29 15:33:08 -08:00
..
amso1100 IB: Convert kmem_cache_t -> struct kmem_cache 2006-11-29 15:33:07 -08:00
ehca IB/ehca: Use WQE offset instead of WQE addr for pending work reqs 2006-11-29 15:33:08 -08:00
ipath IB/ipath: Fix typo in pma_counter_select subscript 2006-11-29 15:33:07 -08:00
mthca IB/mthca: Fix section mismatches 2006-11-29 15:33:06 -08:00