* setting responder_resources and initiator_depth
@ 2010-01-11 20:45 Andy Grover
[not found] ` <4B4B8DFB.1000601-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Andy Grover @ 2010-01-11 20:45 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Hi all,
Currently, the RDS code sets both of these to 1 when calling
rdma_accept(). Using an arbitrary greater value (e.g. 64) doesn't seem
to work right.
I can call ib_query_qp(). Am I to assume I can set initiator_depth up to
ib_qp_attr.max_rd_atomic, and responder_resources to
ib_qp_attr.max_dest_rd_atomic and this will work?
Thanks -- Regards -- Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: setting responder_resources and initiator_depth
[not found] ` <4B4B8DFB.1000601-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
@ 2010-01-11 21:18 ` Sean Hefty
0 siblings, 0 replies; 2+ messages in thread
From: Sean Hefty @ 2010-01-11 21:18 UTC (permalink / raw)
To: 'Andy Grover', linux-rdma-u79uwXL29TY76Z2rM5mHXA
>Currently, the RDS code sets both of these to 1 when calling
>rdma_accept(). Using an arbitrary greater value (e.g. 64) doesn't seem
>to work right.
>
>I can call ib_query_qp(). Am I to assume I can set initiator_depth up to
>ib_qp_attr.max_rd_atomic, and responder_resources to
>ib_qp_attr.max_dest_rd_atomic and this will work?
You need to coordinate the values with those supported by the remote end of the
connection. See the rdma_connect and rdma_accept man pages for additional
details. The librdmacm has checks in rdma_connect and rdma_accept to verify
that the values provided by the user at least make sense for the local HW.
- Sean
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-11 21:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-11 20:45 setting responder_resources and initiator_depth Andy Grover
[not found] ` <4B4B8DFB.1000601-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2010-01-11 21:18 ` Sean Hefty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox