Re: [PATCH rdma-next v1 3/6] RDMA/umem: Add API to return aligned memory blocks from SGL

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

 



On Tue, Feb 19, 2019 at 09:00:39PM -0700, Jason Gunthorpe wrote:
> On Tue, Feb 19, 2019 at 08:57:42AM -0600, Shiraz Saleem wrote:
> >  
> > +struct sg_phys_iter {
> 
> This should have umem in the name
> 
> > +	struct scatterlist *sg;
> > +	unsigned long phyaddr;
> > +	unsigned long len;
> > +	unsigned long offset;
> > +	unsigned long supported_pgsz;
> > +	unsigned long remaining;
> > +	unsigned int pg_bit;
> > +	u8 mixed_pg_support;
> 
> This should also be clear if it is a *dma* or *page* iterator, and
> which fields are public/private.
> 

Sure. I ll update in the next rev.



[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