[rds-devel] Re: RDMA R_Key is 32bit

Or Gerlitz ogerlitz at voltaire.com
Wed Jan 9 07:48:29 PST 2008


Olaf Kirch wrote:
> looking at ib_verbs.h and the spec - the RDMA R_Key is a 32bit
> quantity. For some reason RDS passes it around in 64bit variables,
> which makes for lots of ugly (long long) casts and %Lx's in printks.
> Why did we make this a u64?

Indeed, both IB l/r keys and iWARP stags are 32bit, same can go for the 
rds_rdma_op r_key field.

Or.





More information about the rds-devel mailing list