RE: [PATCH v3 rdma-next 08/10] RDMA/nldev: provide detailed MR information

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

 



> > > Let us say we register a MR that has a backing memory scattergather
list
> of
> > > 10 64KB entries, each 64KB entry, though, is physically contiguous.
The
> > > page-size for that registration, then can be 64KB even though the host
> page
> > > size is 4KB.  So the page list for the registration with the rdma
device can
> > > be 10 64K entries, each of size 64KB...
> >
> > So what is the value?
> >
> > 'max contiguous page size' of any page in the registration or 'min
> > contiguous page size' of any page in the registration?
> >
> > Seems like it needs a better name at least..
> >
> > Jason
> 
> All "pages" in the REG_MR page list are of the same size.  So pgsize is
the size
> of each entry...
> 

Looking at all the users that register memory, it appears they always use
PAGE_SIZE or 4K.  So perhaps passing this up is useless...

But the rdma devices do support a range of page sizes, and the intent of
ib_mr.page_size was to express what page_size is being used for that MR.

I'm removing it...

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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