IB/ehca: Wait for async events to finish before destroying QP
authorStefan Roscher <ossrosch@linux.vnet.ibm.com>
Wed, 7 May 2008 18:35:06 +0000 (11:35 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 7 May 2008 18:35:06 +0000 (11:35 -0700)
commit12137c593d127c6c1a3eb050674da047682badaf
treef615c55e363b550c7489aa0aceeb8d62c201fcad
parentab69b3cf1219e0d07bb4ea373f36b1de38af531c
IB/ehca: Wait for async events to finish before destroying QP

This is necessary because, in a multicore environment, a race between
uverbs async handler and destroy QP could occur.

Signed-off-by: Stefan Roscher <stefan.roscher at de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_classes.h
drivers/infiniband/hw/ehca/ehca_irq.c
drivers/infiniband/hw/ehca/ehca_qp.c