Re: [PATCH RFC] RDMA/rxe: Allow re-registration of FMRs

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

 



On 7/21/22 18:34, Bob Pearson wrote:
> This patch allows the rxe driver to re-register an FMR
> with or without remapping the mr. It adds
> a state variable that shows if the mr has been remapped
> and then only swaps the map sets if the mr has been
> remapped.
> 

This is an alternative that does not require getting rid of dual map sets.
The current code assumes that map_mr_sg is always called between calls to reg_mr and invalidate_mr.
This implements a state machine that marks the mr when it has been remapped and only in that case
swaps the map sets. Otherwise it could never perform the sequence you want for rtrs.

Bob



[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