IB/vmw_pvrdma: Expose vendor error to ULPs
authorYuval Shaia <yuval.shaia@oracle.com>
Thu, 16 Feb 2017 12:05:05 +0000 (14:05 +0200)
committerDoug Ledford <dledford@redhat.com>
Sun, 19 Feb 2017 14:27:28 +0000 (09:27 -0500)
Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Acked-by: Adit Ranadive <aditr@vmware.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c

index e429ca5b16aa314605b924d801109e3f03debaf5..69bda611d31385044766915410ac72eb70cffac5 100644 (file)
@@ -373,7 +373,7 @@ retry:
        wc->sl = cqe->sl;
        wc->dlid_path_bits = cqe->dlid_path_bits;
        wc->port_num = cqe->port_num;
-       wc->vendor_err = 0;
+       wc->vendor_err = cqe->vendor_err;
 
        /* Update shared ring state */
        pvrdma_idx_ring_inc(&cq->ring_state->rx.cons_head, cq->ibcq.cqe);