rdma core: Add rdma_rw_mr_payload()
The amount of payload per MR depends on device capabilities and the memory registration mode in use. The new rdma_rw API hides both, making it difficult for ULPs to determine how large their transport send queues need to be. Expose the MR payload information via a new API. Signed-off-by: NChuck Lever <chuck.lever@oracle.com> Acked-by: NDoug Ledford <dledford@redhat.com> Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
Showing
想要评论请 注册 或 登录