[PATCH] IB/mthca: Simplify handling of completions with error
authorRoland Dreier <roland@eddore.topspincom.com>
Fri, 19 Aug 2005 16:19:05 +0000 (09:19 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sat, 27 Aug 2005 03:37:37 +0000 (20:37 -0700)
commit288bdeb4bc5b89befd7ee2f0f0183604034ff6c5
treef7b41185acd11fb7e0daf66f7b771621bd604159
parent87b816706bb2b79fbaff8e0b8e279e783273383e
[PATCH] IB/mthca: Simplify handling of completions with error

Mem-free HCAs never generate error CQEs that complete multiple WQEs,
so just skip the call to mthca_free_err_wqe() for them rather than
having logic to handle the mem-free case in mthca_free_err_wqe().

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_cq.c
drivers/infiniband/hw/mthca/mthca_qp.c