Commit c67294b7 authored by Yuval Shaia's avatar Yuval Shaia Committed by Doug Ledford

IB/vmw_pvrdma: Expose vendor error to ULPs

Signed-off-by: default avatarYuval Shaia <yuval.shaia@oracle.com>
Acked-by: default avatarAdit Ranadive <aditr@vmware.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 7bf3976d
...@@ -373,7 +373,7 @@ static int pvrdma_poll_one(struct pvrdma_cq *cq, struct pvrdma_qp **cur_qp, ...@@ -373,7 +373,7 @@ static int pvrdma_poll_one(struct pvrdma_cq *cq, struct pvrdma_qp **cur_qp,
wc->sl = cqe->sl; wc->sl = cqe->sl;
wc->dlid_path_bits = cqe->dlid_path_bits; wc->dlid_path_bits = cqe->dlid_path_bits;
wc->port_num = cqe->port_num; wc->port_num = cqe->port_num;
wc->vendor_err = 0; wc->vendor_err = cqe->vendor_err;
/* Update shared ring state */ /* Update shared ring state */
pvrdma_idx_ring_inc(&cq->ring_state->rx.cons_head, cq->ibcq.cqe); pvrdma_idx_ring_inc(&cq->ring_state->rx.cons_head, cq->ibcq.cqe);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment