On Thu, 2012-05-24 at 01:41 -0700, Roland Dreier wrote: > The reason the queue pair number type is 32 bits in the Linux stack is > that there is no u24 or uint24_t and very few processors have support > for 24-bit integer types :) > > The queue pair numbers are allocated by the hardware drivers, and > modulo bugs they should always return a QPN that complies with the IB > architecture. So in other words, yes, you can safely assume that QPNs > are in the range 0 ... 0xffffff. > Thanks for your good and quick help. May I ask another question about zero based virtual addressing: The Infiniband Architecture Specification talks about specifying the "type of VA" when registering a memory region. Checking the ib_verbs code in the Linux kernel I cannot find an equivalent for this. Is zero based virtual addressing available in the infiniband code of the Linux kernel?
Kind regards, Ursula Braun, IBM Germany -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
