On Tue, Jun 11, 2019 at 06:52:43PM +0300, Max Gurtovoy wrote: > PI offload (protection information) is a feature that each RDMA provider > can implement differently. Thus, introduce new device attribute to define > the maximal length of the page list for PI fast registration operation. For > example, mlx5 driver uses a single internal MR to map both data and > protection SGL's, so it's equal to max_fast_reg_page_list_len / 2. > > Signed-off-by: Max Gurtovoy <maxg@xxxxxxxxxxxx> > Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>