[openib-general] [PATCH v2 1/7] IB/core - Add DMA mapping functions to allow device drivers to interpose

Ralph Campbell ralph.campbel at qlogic.com
Fri Dec 1 18:08:42 PST 2006


>  > I don't think this is impossible to implement.  I just wanted
>  > to avoid the work unless you and others thought it was really
>  > worth it given the reality that we already have a large
>  > test matrix of platforms, distros, and kernel versions and
>  > it probably won't get much testing.  It is possible that
>  > at some point 32-bit kernels will become a priority
>  > but I don't know when that might happen.
>
> So you think you could do the ib_dma_xxx stuff for ipath without
> affecting anything outside of ipath?  (Assuming this is merged of course)
> What would be the rough outline of how that would work?

Basically, use a hash table to store the kmap result.
See attached for 90% of the code.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ipath_dma.c
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20061201/d9b23b92/attachment.c>


More information about the general mailing list