RE: [PATCH] RDMA/rxe: For invalidate compare keys according to the MR access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > > If the rkey's and lkeys are always the same why do we store them twice in the mr ?
> > 
> > They are not always the same currently. If you request remote access they are the same if you don't rkey is set to zero.
> > You could, of course, check both the keys and the access bits but that is not the way it is written currently.

> Storing the rkey instead of checking the flags seems like a weird obfuscation to me..

> Jason

One always has the choice to always just use the lkey and check the flags. But referring the rkey just uses one memory reference 😊




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux