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]

 



On Wed, Jun 29, 2022 at 06:40:07PM +0000, Pearson, Robert B wrote:
> 
> > 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



[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