IB/qib: Generate completion callback on errors
authorMike Marciniszyn <mike.marciniszyn@qlogic.com>
Tue, 11 Jan 2011 01:42:19 +0000 (17:42 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 11 Jan 2011 01:42:19 +0000 (17:42 -0800)
commita377acd15188cf11e47a67af5feea098cd8b25d2
tree07b03137da672a9616b0a75e7296db621bf831e0
parentf509f9c14d3f70834f964189293bed3e0e1fc839
IB/qib: Generate completion callback on errors

According to IBTA vol. 1, C11-30.1.1, a notification callback is
invoked if the CQ is armed for the next solicited completion event or
an error completion.  The error case wasn't being generated correctly.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/qib/qib_cq.c