{"action":"created","comment":{"url":"https://api.github.com/repos/openucx/ucx/pulls/comments/49999652","id":49999652,"diff_hunk":"@@ -494,3 +502,63 @@ struct ibv_ah *uct_ib_create_ah(uct_ib_iface_t *iface, uint16_t dlid)\n \n     return ibv_create_ah(dev->pd, &ah_attr);\n }\n+\n+int uct_ib_iface_open_fd(uct_iface_t *tl_iface)\n+{\n+    uct_ib_iface_t *iface = ucs_derived_of(tl_iface, uct_ib_iface_t);\n+    uct_ib_device_t *dev = uct_ib_iface_device(iface);\n+\n+    uct_ib_iface_comp_t *comp = ucs_malloc(sizeof(*comp),\n+            \"completion channel\");\n+    if (comp == NULL) {\n+        return UCS_ERR_NO_MEMORY;\n+    }\n+\n+    comp->comp_channel = ibv_create_comp_channel(dev->ibv_context);\n+    if (comp->comp_channel == NULL)\n+    {","path":"src/uct/ib/base/ib_iface.c","position":49,"original_position":49,"commit_id":"0b0c0fd06536eac3c5391ce1a1f47725cbd0181e","original_commit_id":"0b0c0fd06536eac3c5391ce1a1f47725cbd0181e","user":{"login":"yosefe","id":2255631,"avatar_url":"https://avatars.githubusercontent.com/u/2255631?v=3","gravatar_id":"","url":"https://api.github.com/users/yosefe","html_url":"https://github.com/yosefe","followers_url":"https://api.github.com/users/yosefe/followers","following_url":"https://api.github.com/users/yosefe/following{/other_user}","gists_url":"https://api.github.com/users/yosefe/gists{/gist_id}","starred_url":"https://api.github.com/users/yosefe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosefe/subscriptions","organizations_url":"https://api.github.com/users/yosefe/orgs","repos_url":"https://api.github.com/users/yosefe/repos","events_url":"https://api.github.com/users/yosefe/events{/privacy}","received_events_url":"https://api.github.com/users/yosefe/received_events","type":"User","site_admin":false},"body":"code style","created_at":"2016-01-18T13:45:49Z","updated_at":"2016-01-18T13:45:49Z","html_url":"https://github.com/openucx/ucx/pull/561#discussion_r49999652","pull_request_url":"https://api.github.com/repos/openucx/ucx/pulls/561","_links":{"self":{"href":"https://api.github.com/repos/openucx/ucx/pulls/comments/49999652"},"html":{"href":"https://github.com/openucx/ucx/pull/561#discussion_r49999652"},"pull_request":{"href":"https://api.github.com/repos/openucx/ucx/pulls/561"}}},"pull_request":{"url":"https://api.github.com/repos/openucx/ucx/pulls/561","id":56335792,"html_url":"https://github.com/openucx/ucx/pull/561","diff_url":"https://github.com/openucx/ucx/pull/561.diff","patch_url":"https://github.com/openucx/ucx/pull/561.patch","issue_url":"https://api.github.com/repos/openucx/ucx/issues/561","number":561,"state":"open","locked":false,"title":"UCT: Interrupt notification support","user":{"login":"alex--m","id":8146151,"avatar_url":"https://avatars.githubusercontent.com/u/8146151?v=3","gravatar_id":"","url":"https://api.github.com/users/alex--m","html_url":"https://github.com/alex--m","followers_url":"https://api.github.com/users/alex--m/followers","following_url":"https://api.github.com/users/alex--m/following{/other_user}","gists_url":"https://api.github.com/users/alex--m/gists{/gist_id}","starred_url":"https://api.github.com/users/alex--m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex--m/subscriptions","organizations_url":"https://api.github.com/users/alex--m/orgs","repos_url":"https://api.github.com/users/alex--m/repos","events_url":"https://api.github.com/users/alex--m/events{/privacy}","received_events_url":"https://api.github.com/users/alex--m/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-18T12:19:26Z","updated_at":"2016-01-18T13:45:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04875971304b7964a430a97e9be00a5e86a674de","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openucx/ucx/pulls/561/commits","review_comments_url":"https://api.github.com/repos/openucx/ucx/pulls/561/comments","review_comment_url":"https://api.github.com/repos/openucx/ucx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openucx/ucx/issues/561/comments","statuses_url":"https://api.github.com/repos/openucx/ucx/statuses/0b0c0fd06536eac3c5391ce1a1f47725cbd0181e","head":{"label":"alex--m:master","ref":"master","sha":"0b0c0fd06536eac3c5391ce1a1f47725cbd0181e","user":{"login":"alex--m","id":8146151,"avatar_url":"https://avatars.githubusercontent.com/u/8146151?v=3","gravatar_id":"","url":"https://api.github.com/users/alex--m","html_url":"https://github.com/alex--m","followers_url":"https://api.github.com/users/alex--m/followers","following_url":"https://api.github.com/users/alex--m/following{/other_user}","gists_url":"https://api.github.com/users/alex--m/gists{/gist_id}","starred_url":"https://api.github.com/users/alex--m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex--m/subscriptions","organizations_url":"https://api.github.com/users/alex--m/orgs","repos_url":"https://api.github.com/users/alex--m/repos","events_url":"https://api.github.com/users/alex--m/events{/privacy}","received_events_url":"https://api.github.com/users/alex--m/received_events","type":"User","site_admin":false},"repo":{"id":49874463,"name":"ucx","full_name":"alex--m/ucx","owner":{"login":"alex--m","id":8146151,"avatar_url":"https://avatars.githubusercontent.com/u/8146151?v=3","gravatar_id":"","url":"https://api.github.com/users/alex--m","html_url":"https://github.com/alex--m","followers_url":"https://api.github.com/users/alex--m/followers","following_url":"https://api.github.com/users/alex--m/following{/other_user}","gists_url":"https://api.github.com/users/alex--m/gists{/gist_id}","starred_url":"https://api.github.com/users/alex--m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex--m/subscriptions","organizations_url":"https://api.github.com/users/alex--m/orgs","repos_url":"https://api.github.com/users/alex--m/repos","events_url":"https://api.github.com/users/alex--m/events{/privacy}","received_events_url":"https://api.github.com/users/alex--m/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alex--m/ucx","description":"Unified Communication X  (mailing list - https://elist.ornl.gov/mailman/listinfo/ucx-group): ","fork":true,"url":"https://api.github.com/repos/alex--m/ucx","forks_url":"https://api.github.com/repos/alex--m/ucx/forks","keys_url":"https://api.github.com/repos/alex--m/ucx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alex--m/ucx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alex--m/ucx/teams","hooks_url":"https://api.github.com/repos/alex--m/ucx/hooks","issue_events_url":"https://api.github.com/repos/alex--m/ucx/issues/events{/number}","events_url":"https://api.github.com/repos/alex--m/ucx/events","assignees_url":"https://api.github.com/repos/alex--m/ucx/assignees{/user}","branches_url":"https://api.github.com/repos/alex--m/ucx/branches{/branch}","tags_url":"https://api.github.com/repos/alex--m/ucx/tags","blobs_url":"https://api.github.com/repos/alex--m/ucx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alex--m/ucx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alex--m/ucx/git/refs{/sha}","trees_url":"https://api.github.com/repos/alex--m/ucx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alex--m/ucx/statuses/{sha}","languages_url":"https://api.github.com/repos/alex--m/ucx/languages","stargazers_url":"https://api.github.com/repos/alex--m/ucx/stargazers","contributors_url":"https://api.github.com/repos/alex--m/ucx/contributors","subscribers_url":"https://api.github.com/repos/alex--m/ucx/subscribers","subscription_url":"https://api.github.com/repos/alex--m/ucx/subscription","commits_url":"https://api.github.com/repos/alex--m/ucx/commits{/sha}","git_commits_url":"https://api.github.com/repos/alex--m/ucx/git/commits{/sha}","comments_url":"https://api.github.com/repos/alex--m/ucx/comments{/number}","issue_comment_url":"https://api.github.com/repos/alex--m/ucx/issues/comments{/number}","contents_url":"https://api.github.com/repos/alex--m/ucx/contents/{+path}","compare_url":"https://api.github.com/repos/alex--m/ucx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alex--m/ucx/merges","archive_url":"https://api.github.com/repos/alex--m/ucx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alex--m/ucx/downloads","issues_url":"https://api.github.com/repos/alex--m/ucx/issues{/number}","pulls_url":"https://api.github.com/repos/alex--m/ucx/pulls{/number}","milestones_url":"https://api.github.com/repos/alex--m/ucx/milestones{/number}","notifications_url":"https://api.github.com/repos/alex--m/ucx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alex--m/ucx/labels{/name}","releases_url":"https://api.github.com/repos/alex--m/ucx/releases{/id}","created_at":"2016-01-18T12:11:10Z","updated_at":"2016-01-18T12:11:12Z","pushed_at":"2016-01-18T12:16:46Z","git_url":"git://github.com/alex--m/ucx.git","ssh_url":"git@github.com:alex--m/ucx.git","clone_url":"https://github.com/alex--m/ucx.git","svn_url":"https://github.com/alex--m/ucx","homepage":" http://www.openucx.org","size":3537,"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":"openucx:master","ref":"master","sha":"86f45cb3f942ab24e721bb81390db2a6c602480e","user":{"login":"openucx","id":13118737,"avatar_url":"https://avatars.githubusercontent.com/u/13118737?v=3","gravatar_id":"","url":"https://api.github.com/users/openucx","html_url":"https://github.com/openucx","followers_url":"https://api.github.com/users/openucx/followers","following_url":"https://api.github.com/users/openucx/following{/other_user}","gists_url":"https://api.github.com/users/openucx/gists{/gist_id}","starred_url":"https://api.github.com/users/openucx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openucx/subscriptions","organizations_url":"https://api.github.com/users/openucx/orgs","repos_url":"https://api.github.com/users/openucx/repos","events_url":"https://api.github.com/users/openucx/events{/privacy}","received_events_url":"https://api.github.com/users/openucx/received_events","type":"Organization","site_admin":false},"repo":{"id":25379390,"name":"ucx","full_name":"openucx/ucx","owner":{"login":"openucx","id":13118737,"avatar_url":"https://avatars.githubusercontent.com/u/13118737?v=3","gravatar_id":"","url":"https://api.github.com/users/openucx","html_url":"https://github.com/openucx","followers_url":"https://api.github.com/users/openucx/followers","following_url":"https://api.github.com/users/openucx/following{/other_user}","gists_url":"https://api.github.com/users/openucx/gists{/gist_id}","starred_url":"https://api.github.com/users/openucx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openucx/subscriptions","organizations_url":"https://api.github.com/users/openucx/orgs","repos_url":"https://api.github.com/users/openucx/repos","events_url":"https://api.github.com/users/openucx/events{/privacy}","received_events_url":"https://api.github.com/users/openucx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openucx/ucx","description":"Unified Communication X  (mailing list - https://elist.ornl.gov/mailman/listinfo/ucx-group): ","fork":false,"url":"https://api.github.com/repos/openucx/ucx","forks_url":"https://api.github.com/repos/openucx/ucx/forks","keys_url":"https://api.github.com/repos/openucx/ucx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openucx/ucx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openucx/ucx/teams","hooks_url":"https://api.github.com/repos/openucx/ucx/hooks","issue_events_url":"https://api.github.com/repos/openucx/ucx/issues/events{/number}","events_url":"https://api.github.com/repos/openucx/ucx/events","assignees_url":"https://api.github.com/repos/openucx/ucx/assignees{/user}","branches_url":"https://api.github.com/repos/openucx/ucx/branches{/branch}","tags_url":"https://api.github.com/repos/openucx/ucx/tags","blobs_url":"https://api.github.com/repos/openucx/ucx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openucx/ucx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openucx/ucx/git/refs{/sha}","trees_url":"https://api.github.com/repos/openucx/ucx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openucx/ucx/statuses/{sha}","languages_url":"https://api.github.com/repos/openucx/ucx/languages","stargazers_url":"https://api.github.com/repos/openucx/ucx/stargazers","contributors_url":"https://api.github.com/repos/openucx/ucx/contributors","subscribers_url":"https://api.github.com/repos/openucx/ucx/subscribers","subscription_url":"https://api.github.com/repos/openucx/ucx/subscription","commits_url":"https://api.github.com/repos/openucx/ucx/commits{/sha}","git_commits_url":"https://api.github.com/repos/openucx/ucx/git/commits{/sha}","comments_url":"https://api.github.com/repos/openucx/ucx/comments{/number}","issue_comment_url":"https://api.github.com/repos/openucx/ucx/issues/comments{/number}","contents_url":"https://api.github.com/repos/openucx/ucx/contents/{+path}","compare_url":"https://api.github.com/repos/openucx/ucx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openucx/ucx/merges","archive_url":"https://api.github.com/repos/openucx/ucx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openucx/ucx/downloads","issues_url":"https://api.github.com/repos/openucx/ucx/issues{/number}","pulls_url":"https://api.github.com/repos/openucx/ucx/pulls{/number}","milestones_url":"https://api.github.com/repos/openucx/ucx/milestones{/number}","notifications_url":"https://api.github.com/repos/openucx/ucx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openucx/ucx/labels{/name}","releases_url":"https://api.github.com/repos/openucx/ucx/releases{/id}","created_at":"2014-10-17T22:17:24Z","updated_at":"2016-01-11T14:47:57Z","pushed_at":"2016-01-18T12:59:46Z","git_url":"git://github.com/openucx/ucx.git","ssh_url":"git@github.com:openucx/ucx.git","clone_url":"https://github.com/openucx/ucx.git","svn_url":"https://github.com/openucx/ucx","homepage":" http://www.openucx.org","size":5448,"stargazers_count":26,"watchers_count":26,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":21,"mirror_url":null,"open_issues_count":52,"forks":21,"open_issues":52,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openucx/ucx/pulls/561"},"html":{"href":"https://github.com/openucx/ucx/pull/561"},"issue":{"href":"https://api.github.com/repos/openucx/ucx/issues/561"},"comments":{"href":"https://api.github.com/repos/openucx/ucx/issues/561/comments"},"review_comments":{"href":"https://api.github.com/repos/openucx/ucx/pulls/561/comments"},"review_comment":{"href":"https://api.github.com/repos/openucx/ucx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openucx/ucx/pulls/561/commits"},"statuses":{"href":"https://api.github.com/repos/openucx/ucx/statuses/0b0c0fd06536eac3c5391ce1a1f47725cbd0181e"}}}}