linux-stable-rt/drivers/infiniband/hw/mthca
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
..
Kconfig
Makefile
mthca_allocator.c
mthca_av.c
mthca_catas.c
mthca_cmd.c IB/mthca: Convert FW commands to use wait_for_completion_timeout() 2006-06-17 20:37:30 -07:00
mthca_cmd.h
mthca_config_reg.h
mthca_cq.c IB/mthca: Make all device methods truly reentrant 2006-06-17 20:37:41 -07:00
mthca_dev.h
mthca_doorbell.h
mthca_eq.c IB/mthca: Remove dead code 2006-06-17 20:37:29 -07:00
mthca_mad.c IB/mthca: Add client reregister event generation 2006-06-17 20:37:36 -07:00
mthca_main.c
mthca_mcg.c
mthca_memfree.c
mthca_memfree.h
mthca_mr.c
mthca_pd.c
mthca_profile.c
mthca_profile.h
mthca_provider.c IB/mthca: Make all device methods truly reentrant 2006-06-17 20:37:41 -07:00
mthca_provider.h IB/mthca: Make all device methods truly reentrant 2006-06-17 20:37:41 -07:00
mthca_qp.c IB/mthca: Make all device methods truly reentrant 2006-06-17 20:37:41 -07:00
mthca_reset.c IB/mthca: restore missing PCI registers after reset 2006-06-17 20:37:00 -07:00
mthca_srq.c IB/mthca: Make all device methods truly reentrant 2006-06-17 20:37:41 -07:00
mthca_uar.c
mthca_user.h
mthca_wqe.h