[rds-devel] Re: one_use.tgz (rds-stress.c + one_use.patch for rds driver).

Richard Frank richard.frank at oracle.com
Wed Jan 9 08:00:10 PST 2008


Olaf Kirch wrote:
> Hi,
>
> 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?
>
> Olaf
>   
Using 32bits for the key seems safe - not sure why we made this u64.





More information about the rds-devel mailing list