[openib-general] ib_dma_addr_t

Roland Dreier rdreier at cisco.com
Thu Jan 4 13:50:04 PST 2007


 > I'd like to propose that we introduce ib_dma_addr_t.
 > The idea is to add some type safety (via sparse checker)
 > that we lost when all addresses were converted to u64.

How would that work?  sparse isn't going to warn about implicit casts
to/from ib_dma_addr_t, is it?  We can't make ib_dma_addr_t a bitwise
type, because arithmetic is allowed on bus addresses.

 - R.




More information about the general mailing list