{"action":"created","comment":{"url":"https://api.github.com/repos/ofiwg/libfabric/pulls/comments/81009706","pull_request_review_id":2022349,"id":81009706,"diff_hunk":"@@ -237,6 +237,22 @@ static inline uint64_t fi_mr_key(struct fid_mr *mr)\n \treturn mr->key;\n }\n \n+static inline int\n+fi_mr_raw_key(struct fid_mr *mr, uint8_t *key, size_t *size)\n+{\n+\tstruct fi_mr_raw_key lakey = {.size = size, .key = key};\n+\treturn mr->fid.ops->control(&mr->fid, FI_RAWKEY, &lakey);\n+}\n+\n+static inline uint64_t\n+fi_mr_map_key(struct fid_domain *domain, uint8_t *key, size_t size)\n+{\n+\tstruct fi_mr_map_raw_key lakey =\n+\t\t{.size = size, .key = key, .mapkey = 0};\n+\tdomain->fid.ops->control(&domain->fid, FI_RAWKEY, &lakey);\n+\treturn lakey.mapkey;\n+}","path":"include/rdma/fi_domain.h","position":18,"original_position":18,"commit_id":"17f807603a59aabb478a20eee65ad8b6d2e6f0a8","original_commit_id":"17f807603a59aabb478a20eee65ad8b6d2e6f0a8","user":{"login":"hoopoepg","id":2535990,"avatar_url":"https://avatars.githubusercontent.com/u/2535990?v=3","gravatar_id":"","url":"https://api.github.com/users/hoopoepg","html_url":"https://github.com/hoopoepg","followers_url":"https://api.github.com/users/hoopoepg/followers","following_url":"https://api.github.com/users/hoopoepg/following{/other_user}","gists_url":"https://api.github.com/users/hoopoepg/gists{/gist_id}","starred_url":"https://api.github.com/users/hoopoepg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoopoepg/subscriptions","organizations_url":"https://api.github.com/users/hoopoepg/orgs","repos_url":"https://api.github.com/users/hoopoepg/repos","events_url":"https://api.github.com/users/hoopoepg/events{/privacy}","received_events_url":"https://api.github.com/users/hoopoepg/received_events","type":"User","site_admin":false},"body":"Got it. Will do in morning","created_at":"2016-09-28T20:29:30Z","updated_at":"2016-09-28T20:29:30Z","html_url":"https://github.com/ofiwg/libfabric/pull/2392#discussion_r81009706","pull_request_url":"https://api.github.com/repos/ofiwg/libfabric/pulls/2392","_links":{"self":{"href":"https://api.github.com/repos/ofiwg/libfabric/pulls/comments/81009706"},"html":{"href":"https://github.com/ofiwg/libfabric/pull/2392#discussion_r81009706"},"pull_request":{"href":"https://api.github.com/repos/ofiwg/libfabric/pulls/2392"}}},"pull_request":{"url":"https://api.github.com/repos/ofiwg/libfabric/pulls/2392","id":86891640,"html_url":"https://github.com/ofiwg/libfabric/pull/2392","diff_url":"https://github.com/ofiwg/libfabric/pull/2392.diff","patch_url":"https://github.com/ofiwg/libfabric/pull/2392.patch","issue_url":"https://api.github.com/repos/ofiwg/libfabric/issues/2392","number":2392,"state":"open","locked":false,"title":"added processing of raw memory key","user":{"login":"hoopoepg","id":2535990,"avatar_url":"https://avatars.githubusercontent.com/u/2535990?v=3","gravatar_id":"","url":"https://api.github.com/users/hoopoepg","html_url":"https://github.com/hoopoepg","followers_url":"https://api.github.com/users/hoopoepg/followers","following_url":"https://api.github.com/users/hoopoepg/following{/other_user}","gists_url":"https://api.github.com/users/hoopoepg/gists{/gist_id}","starred_url":"https://api.github.com/users/hoopoepg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoopoepg/subscriptions","organizations_url":"https://api.github.com/users/hoopoepg/orgs","repos_url":"https://api.github.com/users/hoopoepg/repos","events_url":"https://api.github.com/users/hoopoepg/events{/privacy}","received_events_url":"https://api.github.com/users/hoopoepg/received_events","type":"User","site_admin":false},"body":"added pair of calls: fi_mr_raw_key & fi_mr_map_key to\r\noperate by large memory keys. calls are declared as\r\nstatic inline - should not break ABI.\r\n\r\nSigned-off-by: Oblomov, Sergey <sergey.oblomov@intel.com>","created_at":"2016-09-27T09:22:53Z","updated_at":"2016-09-28T20:29:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"68e9655155f3693af63883a4f495bd90fa53e72e","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ofiwg/libfabric/milestones/14","html_url":"https://github.com/ofiwg/libfabric/milestones/release%201.5.0","labels_url":"https://api.github.com/repos/ofiwg/libfabric/milestones/14/labels","id":2029648,"number":14,"title":"release 1.5.0","description":"","creator":{"login":"jsquyres","id":617316,"avatar_url":"https://avatars.githubusercontent.com/u/617316?v=3","gravatar_id":"","url":"https://api.github.com/users/jsquyres","html_url":"https://github.com/jsquyres","followers_url":"https://api.github.com/users/jsquyres/followers","following_url":"https://api.github.com/users/jsquyres/following{/other_user}","gists_url":"https://api.github.com/users/jsquyres/gists{/gist_id}","starred_url":"https://api.github.com/users/jsquyres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsquyres/subscriptions","organizations_url":"https://api.github.com/users/jsquyres/orgs","repos_url":"https://api.github.com/users/jsquyres/repos","events_url":"https://api.github.com/users/jsquyres/events{/privacy}","received_events_url":"https://api.github.com/users/jsquyres/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":0,"state":"open","created_at":"2016-09-26T18:26:02Z","updated_at":"2016-09-27T22:25:41Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/ofiwg/libfabric/pulls/2392/commits","review_comments_url":"https://api.github.com/repos/ofiwg/libfabric/pulls/2392/comments","review_comment_url":"https://api.github.com/repos/ofiwg/libfabric/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ofiwg/libfabric/issues/2392/comments","statuses_url":"https://api.github.com/repos/ofiwg/libfabric/statuses/17f807603a59aabb478a20eee65ad8b6d2e6f0a8","head":{"label":"hoopoepg:large-mr-key","ref":"large-mr-key","sha":"17f807603a59aabb478a20eee65ad8b6d2e6f0a8","user":{"login":"hoopoepg","id":2535990,"avatar_url":"https://avatars.githubusercontent.com/u/2535990?v=3","gravatar_id":"","url":"https://api.github.com/users/hoopoepg","html_url":"https://github.com/hoopoepg","followers_url":"https://api.github.com/users/hoopoepg/followers","following_url":"https://api.github.com/users/hoopoepg/following{/other_user}","gists_url":"https://api.github.com/users/hoopoepg/gists{/gist_id}","starred_url":"https://api.github.com/users/hoopoepg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoopoepg/subscriptions","organizations_url":"https://api.github.com/users/hoopoepg/orgs","repos_url":"https://api.github.com/users/hoopoepg/repos","events_url":"https://api.github.com/users/hoopoepg/events{/privacy}","received_events_url":"https://api.github.com/users/hoopoepg/received_events","type":"User","site_admin":false},"repo":{"id":41848626,"name":"libfabric","full_name":"hoopoepg/libfabric","owner":{"login":"hoopoepg","id":2535990,"avatar_url":"https://avatars.githubusercontent.com/u/2535990?v=3","gravatar_id":"","url":"https://api.github.com/users/hoopoepg","html_url":"https://github.com/hoopoepg","followers_url":"https://api.github.com/users/hoopoepg/followers","following_url":"https://api.github.com/users/hoopoepg/following{/other_user}","gists_url":"https://api.github.com/users/hoopoepg/gists{/gist_id}","starred_url":"https://api.github.com/users/hoopoepg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoopoepg/subscriptions","organizations_url":"https://api.github.com/users/hoopoepg/orgs","repos_url":"https://api.github.com/users/hoopoepg/repos","events_url":"https://api.github.com/users/hoopoepg/events{/privacy}","received_events_url":"https://api.github.com/users/hoopoepg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hoopoepg/libfabric","description":"Open Fabric Interfaces","fork":true,"url":"https://api.github.com/repos/hoopoepg/libfabric","forks_url":"https://api.github.com/repos/hoopoepg/libfabric/forks","keys_url":"https://api.github.com/repos/hoopoepg/libfabric/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hoopoepg/libfabric/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hoopoepg/libfabric/teams","hooks_url":"https://api.github.com/repos/hoopoepg/libfabric/hooks","issue_events_url":"https://api.github.com/repos/hoopoepg/libfabric/issues/events{/number}","events_url":"https://api.github.com/repos/hoopoepg/libfabric/events","assignees_url":"https://api.github.com/repos/hoopoepg/libfabric/assignees{/user}","branches_url":"https://api.github.com/repos/hoopoepg/libfabric/branches{/branch}","tags_url":"https://api.github.com/repos/hoopoepg/libfabric/tags","blobs_url":"https://api.github.com/repos/hoopoepg/libfabric/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hoopoepg/libfabric/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hoopoepg/libfabric/git/refs{/sha}","trees_url":"https://api.github.com/repos/hoopoepg/libfabric/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hoopoepg/libfabric/statuses/{sha}","languages_url":"https://api.github.com/repos/hoopoepg/libfabric/languages","stargazers_url":"https://api.github.com/repos/hoopoepg/libfabric/stargazers","contributors_url":"https://api.github.com/repos/hoopoepg/libfabric/contributors","subscribers_url":"https://api.github.com/repos/hoopoepg/libfabric/subscribers","subscription_url":"https://api.github.com/repos/hoopoepg/libfabric/subscription","commits_url":"https://api.github.com/repos/hoopoepg/libfabric/commits{/sha}","git_commits_url":"https://api.github.com/repos/hoopoepg/libfabric/git/commits{/sha}","comments_url":"https://api.github.com/repos/hoopoepg/libfabric/comments{/number}","issue_comment_url":"https://api.github.com/repos/hoopoepg/libfabric/issues/comments{/number}","contents_url":"https://api.github.com/repos/hoopoepg/libfabric/contents/{+path}","compare_url":"https://api.github.com/repos/hoopoepg/libfabric/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hoopoepg/libfabric/merges","archive_url":"https://api.github.com/repos/hoopoepg/libfabric/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hoopoepg/libfabric/downloads","issues_url":"https://api.github.com/repos/hoopoepg/libfabric/issues{/number}","pulls_url":"https://api.github.com/repos/hoopoepg/libfabric/pulls{/number}","milestones_url":"https://api.github.com/repos/hoopoepg/libfabric/milestones{/number}","notifications_url":"https://api.github.com/repos/hoopoepg/libfabric/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hoopoepg/libfabric/labels{/name}","releases_url":"https://api.github.com/repos/hoopoepg/libfabric/releases{/id}","deployments_url":"https://api.github.com/repos/hoopoepg/libfabric/deployments","created_at":"2015-09-03T08:07:12Z","updated_at":"2016-01-19T08:59:23Z","pushed_at":"2016-09-28T06:15:24Z","git_url":"git://github.com/hoopoepg/libfabric.git","ssh_url":"git@github.com:hoopoepg/libfabric.git","clone_url":"https://github.com/hoopoepg/libfabric.git","svn_url":"https://github.com/hoopoepg/libfabric","homepage":"http://ofiwg.github.io/libfabric/","size":13052,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ofiwg:master","ref":"master","sha":"87ea794d69b5eec09c2c57d6e282a0d67677cf4e","user":{"login":"ofiwg","id":8459445,"avatar_url":"https://avatars.githubusercontent.com/u/8459445?v=3","gravatar_id":"","url":"https://api.github.com/users/ofiwg","html_url":"https://github.com/ofiwg","followers_url":"https://api.github.com/users/ofiwg/followers","following_url":"https://api.github.com/users/ofiwg/following{/other_user}","gists_url":"https://api.github.com/users/ofiwg/gists{/gist_id}","starred_url":"https://api.github.com/users/ofiwg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofiwg/subscriptions","organizations_url":"https://api.github.com/users/ofiwg/orgs","repos_url":"https://api.github.com/users/ofiwg/repos","events_url":"https://api.github.com/users/ofiwg/events{/privacy}","received_events_url":"https://api.github.com/users/ofiwg/received_events","type":"Organization","site_admin":false},"repo":{"id":22996097,"name":"libfabric","full_name":"ofiwg/libfabric","owner":{"login":"ofiwg","id":8459445,"avatar_url":"https://avatars.githubusercontent.com/u/8459445?v=3","gravatar_id":"","url":"https://api.github.com/users/ofiwg","html_url":"https://github.com/ofiwg","followers_url":"https://api.github.com/users/ofiwg/followers","following_url":"https://api.github.com/users/ofiwg/following{/other_user}","gists_url":"https://api.github.com/users/ofiwg/gists{/gist_id}","starred_url":"https://api.github.com/users/ofiwg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofiwg/subscriptions","organizations_url":"https://api.github.com/users/ofiwg/orgs","repos_url":"https://api.github.com/users/ofiwg/repos","events_url":"https://api.github.com/users/ofiwg/events{/privacy}","received_events_url":"https://api.github.com/users/ofiwg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ofiwg/libfabric","description":"Open Fabric Interfaces","fork":false,"url":"https://api.github.com/repos/ofiwg/libfabric","forks_url":"https://api.github.com/repos/ofiwg/libfabric/forks","keys_url":"https://api.github.com/repos/ofiwg/libfabric/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ofiwg/libfabric/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ofiwg/libfabric/teams","hooks_url":"https://api.github.com/repos/ofiwg/libfabric/hooks","issue_events_url":"https://api.github.com/repos/ofiwg/libfabric/issues/events{/number}","events_url":"https://api.github.com/repos/ofiwg/libfabric/events","assignees_url":"https://api.github.com/repos/ofiwg/libfabric/assignees{/user}","branches_url":"https://api.github.com/repos/ofiwg/libfabric/branches{/branch}","tags_url":"https://api.github.com/repos/ofiwg/libfabric/tags","blobs_url":"https://api.github.com/repos/ofiwg/libfabric/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ofiwg/libfabric/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ofiwg/libfabric/git/refs{/sha}","trees_url":"https://api.github.com/repos/ofiwg/libfabric/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ofiwg/libfabric/statuses/{sha}","languages_url":"https://api.github.com/repos/ofiwg/libfabric/languages","stargazers_url":"https://api.github.com/repos/ofiwg/libfabric/stargazers","contributors_url":"https://api.github.com/repos/ofiwg/libfabric/contributors","subscribers_url":"https://api.github.com/repos/ofiwg/libfabric/subscribers","subscription_url":"https://api.github.com/repos/ofiwg/libfabric/subscription","commits_url":"https://api.github.com/repos/ofiwg/libfabric/commits{/sha}","git_commits_url":"https://api.github.com/repos/ofiwg/libfabric/git/commits{/sha}","comments_url":"https://api.github.com/repos/ofiwg/libfabric/comments{/number}","issue_comment_url":"https://api.github.com/repos/ofiwg/libfabric/issues/comments{/number}","contents_url":"https://api.github.com/repos/ofiwg/libfabric/contents/{+path}","compare_url":"https://api.github.com/repos/ofiwg/libfabric/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ofiwg/libfabric/merges","archive_url":"https://api.github.com/repos/ofiwg/libfabric/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ofiwg/libfabric/downloads","issues_url":"https://api.github.com/repos/ofiwg/libfabric/issues{/number}","pulls_url":"https://api.github.com/repos/ofiwg/libfabric/pulls{/number}","milestones_url":"https://api.github.com/repos/ofiwg/libfabric/milestones{/number}","notifications_url":"https://api.github.com/repos/ofiwg/libfabric/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ofiwg/libfabric/labels{/name}","releases_url":"https://api.github.com/repos/ofiwg/libfabric/releases{/id}","deployments_url":"https://api.github.com/repos/ofiwg/libfabric/deployments","created_at":"2014-08-15T16:45:53Z","updated_at":"2016-09-20T18:35:39Z","pushed_at":"2016-09-28T19:34:44Z","git_url":"git://github.com/ofiwg/libfabric.git","ssh_url":"git@github.com:ofiwg/libfabric.git","clone_url":"https://github.com/ofiwg/libfabric.git","svn_url":"https://github.com/ofiwg/libfabric","homepage":"http://ofiwg.github.io/libfabric/","size":14173,"stargazers_count":76,"watchers_count":76,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":79,"mirror_url":null,"open_issues_count":86,"forks":79,"open_issues":86,"watchers":76,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ofiwg/libfabric/pulls/2392"},"html":{"href":"https://github.com/ofiwg/libfabric/pull/2392"},"issue":{"href":"https://api.github.com/repos/ofiwg/libfabric/issues/2392"},"comments":{"href":"https://api.github.com/repos/ofiwg/libfabric/issues/2392/comments"},"review_comments":{"href":"https://api.github.com/repos/ofiwg/libfabric/pulls/2392/comments"},"review_comment":{"href":"https://api.github.com/repos/ofiwg/libfabric/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ofiwg/libfabric/pulls/2392/commits"},"statuses":{"href":"https://api.github.com/repos/ofiwg/libfabric/statuses/17f807603a59aabb478a20eee65ad8b6d2e6f0a8"}}}}
{"actor":{"display_login":"hoopoepg"}}