IB/vmw_pvrdma: Expose vendor error to ULPs
Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Acked-by: Adit Ranadive <aditr@vmware.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
7bf3976d6c
commit
c67294b70b
|
@ -373,7 +373,7 @@ retry:
|
||||||
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);
|
||||||
|
|
Loading…
Reference in New Issue