Title: question about register MR from user level

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 ]

_______________________________________________
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