Re: How is Q_KEY Set

2011-03-15 Thread Jason Gunthorpe
On Tue, Mar 15, 2011 at 02:45:12PM -0400, Greg I Kerr wrote: > I was wondering how the Q_KEY is set by default, if > the user doesn't specify it in the ibv_qp_attr struct? Qkey is only used for UD connections (it is part of the DETH header) and setting it is mandatory to transition from INIT to RT

How is Q_KEY Set

2011-03-15 Thread Greg I Kerr
I was wondering how the Q_KEY is set by default, if the user doesn't specify it in the ibv_qp_attr struct? I couldn't find a suitable answer in the spec. The reason I'm asking is because I have a program where I create a "connection" in the sense that I perform all steps from opening the device to