]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit7ec4f4634a4326c1f8fd172c80c8f59c9b3e90a4
tree56daee13483f7c73cca3b160100d1b0cfb244843
parent6b1f9d647e848060d34c3db408413989f1e460ba
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