Commit 67080c82 authored by Tom Tucker's avatar Tom Tucker

svcrdma: Fix IRD/ORD polarity

The inititator/responder resources in the event have been swapped. They
no represent what the local peer would set their values to in order to
match the peer. Note that iWARP does not exchange these on the wire and
the provider is simply putting in the local device max.
Signed-off-by: default avatarTom Tucker <tom@opengridcomputing.com>
parent 04911b53
...@@ -598,7 +598,7 @@ static int rdma_listen_handler(struct rdma_cm_id *cma_id, ...@@ -598,7 +598,7 @@ static int rdma_listen_handler(struct rdma_cm_id *cma_id,
dprintk("svcrdma: Connect request on cma_id=%p, xprt = %p, " dprintk("svcrdma: Connect request on cma_id=%p, xprt = %p, "
"event=%d\n", cma_id, cma_id->context, event->event); "event=%d\n", cma_id, cma_id->context, event->event);
handle_connect_req(cma_id, handle_connect_req(cma_id,
event->param.conn.responder_resources); event->param.conn.initiator_depth);
break; break;
case RDMA_CM_EVENT_ESTABLISHED: case RDMA_CM_EVENT_ESTABLISHED:
......
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