RE: [PATCH RFC] RDMA/core: add rdma_get_dma_mr()

Hefty, Sean
2015-06-29T01:31:17Z

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 553 bytes --]

> I wanted to point out that with this scheme the ULP may sometimes get an
> MR with a wider set of permissions that it asked for, and I'm not sure
> that's always safe. Perhaps the ULP wants to guarantee that the MR
> doesn't allow certain kinds of accesses and doesn't expect the verbs
> layer to change that.

The providers can return the actual permissions that were granted. If the app cares, it can check.
N‹§²æìr¸›yúèšØb²X¬¶Ç§vØ^–)Þº{.nÇ+‰·¥Š{±­ÙšŠ{ayº\x1dÊ‡Ú™ë,j\a­¢f£¢·hš‹»öì\x17/oSc¾™Ú³9˜uÀ¦æå‰È&jw¨®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿïêäz¹Þ–Šàþf£¢·hšˆ§~ˆmš