> > > static u64 ipath_dma_map_page(struct ib_device *dev,
> > >                         struct page *page,
> > >                         unsigned long offset,
> > >                         size_t size,
> > >                         enum dma_data_direction direction)
> > > {
> > >   u64 addr;
> > > 
> > >   BUG_ON(!valid_dma_direction(direction));
> > > 
> > >   if (offset + size > PAGE_SIZE) {
> > >           addr = BAD_DMA_ADDRESS;
> > >           goto done;
> > >   }
> > > 
> > >   addr = (u64) page_address(page);
> > >   if (addr)
> > >           addr += offset;
> > >   /* TODO: handle highmem pages */
> > > 
> > > done:
> > >   return addr;
> > > }
> > 
> 
> I got the impression that all supported IB devices support dma-ing
> to/from memory > 4GB. Perhaps other vendors can comment.

I think it's true. The only reason ipath doesn't support this at the moment,
is because the maintainer doesn't seem to care about
supporting 32 bit systems.

-- 
MST
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to