diff options
author | Tom Tucker <tom@opengridcomputing.com> | 2008-10-03 13:41:14 -0400 |
---|---|---|
committer | Tom Tucker <tom@opengridcomputing.com> | 2008-10-06 15:46:13 -0400 |
commit | 67080c82361b7510b602c87b83399421aa2d2895 (patch) | |
tree | 4003f47552ac28b54a75826e7230c711e7b64f45 /net/sunrpc/xprtrdma | |
parent | 04911b539c9817aa88a6da8f563e65e3e0bc974b (diff) |
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: Tom Tucker <tom@opengridcomputing.com>
Diffstat (limited to 'net/sunrpc/xprtrdma')
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma_transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_transport.c b/net/sunrpc/xprtrdma/svc_rdma_transport.c index c0cd334fe1c6..6fb493cbd29f 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_transport.c +++ b/net/sunrpc/xprtrdma/svc_rdma_transport.c | |||
@@ -598,7 +598,7 @@ static int rdma_listen_handler(struct rdma_cm_id *cma_id, | |||
598 | dprintk("svcrdma: Connect request on cma_id=%p, xprt = %p, " | 598 | dprintk("svcrdma: Connect request on cma_id=%p, xprt = %p, " |
599 | "event=%d\n", cma_id, cma_id->context, event->event); | 599 | "event=%d\n", cma_id, cma_id->context, event->event); |
600 | handle_connect_req(cma_id, | 600 | handle_connect_req(cma_id, |
601 | event->param.conn.responder_resources); | 601 | event->param.conn.initiator_depth); |
602 | break; | 602 | break; |
603 | 603 | ||
604 | case RDMA_CM_EVENT_ESTABLISHED: | 604 | case RDMA_CM_EVENT_ESTABLISHED: |