]> git.baikalelectronics.ru Git - kernel.git/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)
commit8c5c640c05240c68e6fe1d1eab9512369b23415e
tree7d14c632f1b587ca632520509c57fc82e947f6ad
parentcb3e8a0646c752850e2f5150d1da670b48c069fa
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