{"action":"created","issue":{"url":"https://api.github.com/repos/ofiwg/libfabric/issues/919","labels_url":"https://api.github.com/repos/ofiwg/libfabric/issues/919/labels{/name}","comments_url":"https://api.github.com/repos/ofiwg/libfabric/issues/919/comments","events_url":"https://api.github.com/repos/ofiwg/libfabric/issues/919/events","html_url":"https://github.com/ofiwg/libfabric/pull/919","id":69513168,"number":919,"title":"fabric: Change how memory registration support is exposed","user":{"login":"shefty","id":3967608,"avatar_url":"https://avatars.githubusercontent.com/u/3967608?v=3","gravatar_id":"","url":"https://api.github.com/users/shefty","html_url":"https://github.com/shefty","followers_url":"https://api.github.com/users/shefty/followers","following_url":"https://api.github.com/users/shefty/following{/other_user}","gists_url":"https://api.github.com/users/shefty/gists{/gist_id}","starred_url":"https://api.github.com/users/shefty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shefty/subscriptions","organizations_url":"https://api.github.com/users/shefty/orgs","repos_url":"https://api.github.com/users/shefty/repos","events_url":"https://api.github.com/users/shefty/events{/privacy}","received_events_url":"https://api.github.com/users/shefty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-20T05:49:59Z","updated_at":"2015-04-20T16:51:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ofiwg/libfabric/pulls/919","html_url":"https://github.com/ofiwg/libfabric/pull/919","diff_url":"https://github.com/ofiwg/libfabric/pull/919.diff","patch_url":"https://github.com/ofiwg/libfabric/pull/919.patch"},"body":"Memory registration is currently exposed using 5 MR bits, including\r\ncaps, flags, and mode bits: FI_MR_OFFSET, FI_MR_KEY, FI_DYNAMIC_MR,\r\nFI_LOCAL_MR, and FI_PROV_MR_ATTR.  Because of the combinations, this\r\ncan result in branches in the provider in data transfer operations.\r\nFor example, the provider needs to check if a key corresponds to\r\na virtual address or an offset based address.  It may also need to\r\ncheck if the memory is pinned or might reference a dynamic MR.\r\n\r\nTo simplify the usage for both the application and the provider,\r\nwe replace all MR bits with a new domain attribute field.  The\r\nnew field is an enum that conveys how memory registration works\r\nfor the provider at a broad level.\r\n\r\nSigned-off-by: Sean Hefty <sean.hefty@intel.com>"},"comment":{"url":"https://api.github.com/repos/ofiwg/libfabric/issues/comments/94506808","html_url":"https://github.com/ofiwg/libfabric/pull/919#issuecomment-94506808","issue_url":"https://api.github.com/repos/ofiwg/libfabric/issues/919","id":94506808,"user":{"login":"jithinjosepkl","id":6690627,"avatar_url":"https://avatars.githubusercontent.com/u/6690627?v=3","gravatar_id":"","url":"https://api.github.com/users/jithinjosepkl","html_url":"https://github.com/jithinjosepkl","followers_url":"https://api.github.com/users/jithinjosepkl/followers","following_url":"https://api.github.com/users/jithinjosepkl/following{/other_user}","gists_url":"https://api.github.com/users/jithinjosepkl/gists{/gist_id}","starred_url":"https://api.github.com/users/jithinjosepkl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jithinjosepkl/subscriptions","organizations_url":"https://api.github.com/users/jithinjosepkl/orgs","repos_url":"https://api.github.com/users/jithinjosepkl/repos","events_url":"https://api.github.com/users/jithinjosepkl/events{/privacy}","received_events_url":"https://api.github.com/users/jithinjosepkl/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T16:51:42Z","updated_at":"2015-04-20T16:51:42Z","body":"Thanks Sean, Sockets provider changes look good."}}