Hello -
I am attempting to port code that calls the gen1 function ib_memory_register -- I saw the other posts about this issue -- I have looked into pci_map_single to map a buffer -- but I am failing to see how ib_get_dma_mr fits in with this....

The sdp example (in gen2/trunk/src/linux-kernel/infiniband/ulp/sdp) makes a call to ib_get_dma_mr (sdp_conn.c:1812) and then calls to dma_map_single (sdp_recv.c:85 and sdp_send.c:129) although I am failing to see the connection.

Also, this might not be a question I should ask here, but why not? What is the difference between pci_map_single and dma_map_single ? Are they interchangable?

   Thanks.

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

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

Reply via email to