[openib-general] Re: registering read-only memory

Roland Dreier roland at topspin.com
Tue May 24 12:07:24 PDT 2005


    > const char foo[]="Michael Tsirkin";
    > ibv_reg_mr(ctx->pd, foo, strlen(foo), 0);

This seemed to work fine on my system (I got a non-null ibv_mr back
with valid-looking L_Key/R_Key).

 - R.



More information about the general mailing list