]> err.no Git - linux-2.6/commit
IB/ehca: Repoll CQ on invalid opcode
authorAlexander Schmidt <alexs@linux.vnet.ibm.com>
Tue, 12 Aug 2008 13:46:20 +0000 (15:46 +0200)
committerRoland Dreier <rolandd@cisco.com>
Tue, 12 Aug 2008 18:34:58 +0000 (11:34 -0700)
commit17c2b53adbf1ebd7a8b6a63e2597199676426dbf
tree7d14c632f1b587ca632520509c57fc82e947f6ad
parent6c02eed9302e7c27ee150d7911b83843c2206148
IB/ehca: Repoll CQ on invalid opcode

When the ehca driver detects an invalid opcode in a CQE, it currently
passes the CQE to the application and returns with success. This patch
changes the CQE handling to discard CQEs with invalid opcodes and to
continue reading the next CQE from the CQ.

Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_reqs.c