android_kernel_xiaomi_sm8350/drivers/infiniband
Roland Dreier c93b6fbaa9 IB/mthca: Make all device methods truly reentrant
Documentation/infiniband/core_locking.txt says:

  All of the methods in struct ib_device exported by a low-level
  driver must be fully reentrant.  The low-level driver is required to
  perform all synchronization necessary to maintain consistency, even
  if multiple function calls using the same object are run
  simultaneously.

However, mthca's modify_qp, modify_srq and resize_cq methods are
currently not reentrant.  Add a mutex to the QP, SRQ and CQ structures
so that these calls can be properly serialized.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-06-17 20:37:41 -07:00
..
core IB/uverbs: Factor out common idr code 2006-06-17 20:37:40 -07:00
hw IB/mthca: Make all device methods truly reentrant 2006-06-17 20:37:41 -07:00
ulp IB/srp: Factor out common request reset code 2006-06-17 20:37:38 -07:00
Kconfig IB: address translation to map IP toIB addresses (GIDs) 2006-06-17 20:37:28 -07:00
Makefile IB/ipath: kbuild infrastructure 2006-03-31 13:14:21 -08:00