From: Yuval Shaia Date: Thu, 16 Feb 2017 12:05:05 +0000 (+0200) Subject: IB/vmw_pvrdma: Expose vendor error to ULPs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c67294b70b5aafa2769e8c677a044243ce974c3a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git IB/vmw_pvrdma: Expose vendor error to ULPs Signed-off-by: Yuval Shaia Acked-by: Adit Ranadive Signed-off-by: Doug Ledford --- diff --git a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c index e429ca5b16aa..69bda611d313 100644 --- a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c +++ b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c @@ -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);