Quoting r. Gleb Natapov <[EMAIL PROTECTED]>: > > ibv_reg_mr works fine for sub-page regions. Doesnt it? > > > Not really. It gives you the impression that it works by not returning an > error and aligning address and lengths for you. Same case with mmap(). You > can provide nonaligned length and it will not fail.
As far as I know hardware supports non-aligned regions and so does ibv_reg_mr: try to access outside the region and you'll get completion with error. No? If not, let me know - it should be easy to fix. -- Michael S. Tsirkin Staff Engineer, Mellanox Technologies _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
