[openib-general] question about register MR from user level

Dotan Barak dotanb at mellanox.co.il
Thu Sep 15 07:14:46 PDT 2005


Hi.

i try to register 2 types of memory buffers with local write permission
enabled:
	if the memory was declared as: const char ptr{5}; ,
		then the registration can be done

	if the memory was declared as: const char *ptr = "somthing ";
		then the registration fails.

what is the difference between the 2 memory buffers?
should the MR registration verbs handle both of the buffers as read only
memory buffers?

thanks
Dotan Barak
Software Verification Engineer
Mellanox Technologies LTD
Tel: +972-4-9097200 Ext: 231 Fax: +972-4-9593245
P.O. Box 86 Yokneam 20692 ISRAEL.
Home: +972-77-8841095  Cell: 052-4222383

[ May the fork be with you ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050915/016ce692/attachment.html>


More information about the general mailing list