]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ehca: Fix problem with generated flush work completions
authorStefan Roscher <ossrosch@linux.vnet.ibm.com>
Mon, 1 Dec 2008 18:05:50 +0000 (10:05 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 1 Dec 2008 18:05:50 +0000 (10:05 -0800)
commit5f38b683b0c941f8468786d4a77e1f11250a1b0f
tree56daee13483f7c73cca3b160100d1b0cfb244843
parente5cd991b2b5efcccc916db63c2801f698733126e
IB/ehca: Fix problem with generated flush work completions

This fix enables ehca device driver to generate flush work completions
even if the application doesn't request completions for all work
requests. The current implementation of ehca will generate flush work
completions for the wrong work requests if an application uses non
signaled work completions.

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