{"action":"created","comment":{"url":"https://api.github.com/repos/Linaro/odp/pulls/comments/126374606","pull_request_review_id":48850875,"id":126374606,"diff_hunk":"@@ -0,0 +1,205 @@\n+/* Copyright (c) 2017, ARM Limited. All rights reserved.\n+ *\n+ * Copyright (c) 2017, Linaro Limited\n+ * All rights reserved.\n+ *\n+ * SPDX-License-Identifier: BSD-3-Clause\n+ */\n+\n+/**\n+ * @file\n+ *\n+ * Modular programming framework supports runtime selectable\n+ * implementations for variant software subsystems.\n+ *\n+ * Multiple implementations of the same subsystem can be built\n+ * into individual static libraries or loadable DSOs, and use\n+ * constructor functions to register themselves.\n+ *\n+ * A subsystem can choose one active implementation and provide\n+ * APIs to switch between implementations.","path":"modular-framework/module.h","position":20,"original_position":20,"commit_id":"ba161ea513b2fe9de36afc535ea26165febaa97a","original_commit_id":"09e78983329986f8cffed9f2eba40d9d46b98c7d","user":{"login":"heyi-linaro","id":25970465,"avatar_url":"https://avatars3.githubusercontent.com/u/25970465?v=3","gravatar_id":"","url":"https://api.github.com/users/heyi-linaro","html_url":"https://github.com/heyi-linaro","followers_url":"https://api.github.com/users/heyi-linaro/followers","following_url":"https://api.github.com/users/heyi-linaro/following{/other_user}","gists_url":"https://api.github.com/users/heyi-linaro/gists{/gist_id}","starred_url":"https://api.github.com/users/heyi-linaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heyi-linaro/subscriptions","organizations_url":"https://api.github.com/users/heyi-linaro/orgs","repos_url":"https://api.github.com/users/heyi-linaro/repos","events_url":"https://api.github.com/users/heyi-linaro/events{/privacy}","received_events_url":"https://api.github.com/users/heyi-linaro/received_events","type":"User","site_admin":false},"body":"A sample in https://github.com/heyi-linaro/pure-interface/blob/master/scheduler-subsystem.c","created_at":"2017-07-10T09:34:03Z","updated_at":"2017-07-10T09:34:03Z","html_url":"https://github.com/Linaro/odp/pull/65#discussion_r126374606","pull_request_url":"https://api.github.com/repos/Linaro/odp/pulls/65","_links":{"self":{"href":"https://api.github.com/repos/Linaro/odp/pulls/comments/126374606"},"html":{"href":"https://github.com/Linaro/odp/pull/65#discussion_r126374606"},"pull_request":{"href":"https://api.github.com/repos/Linaro/odp/pulls/65"}}},"pull_request":{"url":"https://api.github.com/repos/Linaro/odp/pulls/65","id":128567319,"html_url":"https://github.com/Linaro/odp/pull/65","diff_url":"https://github.com/Linaro/odp/pull/65.diff","patch_url":"https://github.com/Linaro/odp/pull/65.patch","issue_url":"https://api.github.com/repos/Linaro/odp/issues/65","number":65,"state":"open","locked":false,"title":"[PATCH CLOUD-DEV v1] [RFC] Modular framework and apply to the odp pktio ops subsystem","user":{"login":"heyi-linaro","id":25970465,"avatar_url":"https://avatars3.githubusercontent.com/u/25970465?v=3","gravatar_id":"","url":"https://api.github.com/users/heyi-linaro","html_url":"https://github.com/heyi-linaro","followers_url":"https://api.github.com/users/heyi-linaro/followers","following_url":"https://api.github.com/users/heyi-linaro/following{/other_user}","gists_url":"https://api.github.com/users/heyi-linaro/gists{/gist_id}","starred_url":"https://api.github.com/users/heyi-linaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heyi-linaro/subscriptions","organizations_url":"https://api.github.com/users/heyi-linaro/orgs","repos_url":"https://api.github.com/users/heyi-linaro/repos","events_url":"https://api.github.com/users/heyi-linaro/events{/privacy}","received_events_url":"https://api.github.com/users/heyi-linaro/received_events","type":"User","site_admin":false},"body":"odp: add modular framework\r\n\r\nAdd modular programming framework to support runtime selectable\r\nimplementations for variant software subsystems.\r\n\r\nplatform: pktio_ops: apply modular framework\r\n\r\nApply modular programming framework to odp pktio ops subsystem\r\nand convert all pktio ops implementation into modules.\r\n\r\nSigned-off-by: Yi He <yi.he@linaro.org>","created_at":"2017-07-03T07:22:13Z","updated_at":"2017-07-10T09:34:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f0f96a26d22e16b9299777cd413dfd6ae89a024e","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Linaro/odp/pulls/65/commits","review_comments_url":"https://api.github.com/repos/Linaro/odp/pulls/65/comments","review_comment_url":"https://api.github.com/repos/Linaro/odp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Linaro/odp/issues/65/comments","statuses_url":"https://api.github.com/repos/Linaro/odp/statuses/ba161ea513b2fe9de36afc535ea26165febaa97a","head":{"label":"heyi-linaro:modular-framework","ref":"modular-framework","sha":"ba161ea513b2fe9de36afc535ea26165febaa97a","user":{"login":"heyi-linaro","id":25970465,"avatar_url":"https://avatars3.githubusercontent.com/u/25970465?v=3","gravatar_id":"","url":"https://api.github.com/users/heyi-linaro","html_url":"https://github.com/heyi-linaro","followers_url":"https://api.github.com/users/heyi-linaro/followers","following_url":"https://api.github.com/users/heyi-linaro/following{/other_user}","gists_url":"https://api.github.com/users/heyi-linaro/gists{/gist_id}","starred_url":"https://api.github.com/users/heyi-linaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heyi-linaro/subscriptions","organizations_url":"https://api.github.com/users/heyi-linaro/orgs","repos_url":"https://api.github.com/users/heyi-linaro/repos","events_url":"https://api.github.com/users/heyi-linaro/events{/privacy}","received_events_url":"https://api.github.com/users/heyi-linaro/received_events","type":"User","site_admin":false},"repo":{"id":85911426,"name":"odp","full_name":"heyi-linaro/odp","owner":{"login":"heyi-linaro","id":25970465,"avatar_url":"https://avatars3.githubusercontent.com/u/25970465?v=3","gravatar_id":"","url":"https://api.github.com/users/heyi-linaro","html_url":"https://github.com/heyi-linaro","followers_url":"https://api.github.com/users/heyi-linaro/followers","following_url":"https://api.github.com/users/heyi-linaro/following{/other_user}","gists_url":"https://api.github.com/users/heyi-linaro/gists{/gist_id}","starred_url":"https://api.github.com/users/heyi-linaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heyi-linaro/subscriptions","organizations_url":"https://api.github.com/users/heyi-linaro/orgs","repos_url":"https://api.github.com/users/heyi-linaro/repos","events_url":"https://api.github.com/users/heyi-linaro/events{/privacy}","received_events_url":"https://api.github.com/users/heyi-linaro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/heyi-linaro/odp","description":"The ODP project is an open-source, cross-platform set of application programming interfaces (APIs) for the networking data plane","fork":true,"url":"https://api.github.com/repos/heyi-linaro/odp","forks_url":"https://api.github.com/repos/heyi-linaro/odp/forks","keys_url":"https://api.github.com/repos/heyi-linaro/odp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heyi-linaro/odp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heyi-linaro/odp/teams","hooks_url":"https://api.github.com/repos/heyi-linaro/odp/hooks","issue_events_url":"https://api.github.com/repos/heyi-linaro/odp/issues/events{/number}","events_url":"https://api.github.com/repos/heyi-linaro/odp/events","assignees_url":"https://api.github.com/repos/heyi-linaro/odp/assignees{/user}","branches_url":"https://api.github.com/repos/heyi-linaro/odp/branches{/branch}","tags_url":"https://api.github.com/repos/heyi-linaro/odp/tags","blobs_url":"https://api.github.com/repos/heyi-linaro/odp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heyi-linaro/odp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heyi-linaro/odp/git/refs{/sha}","trees_url":"https://api.github.com/repos/heyi-linaro/odp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heyi-linaro/odp/statuses/{sha}","languages_url":"https://api.github.com/repos/heyi-linaro/odp/languages","stargazers_url":"https://api.github.com/repos/heyi-linaro/odp/stargazers","contributors_url":"https://api.github.com/repos/heyi-linaro/odp/contributors","subscribers_url":"https://api.github.com/repos/heyi-linaro/odp/subscribers","subscription_url":"https://api.github.com/repos/heyi-linaro/odp/subscription","commits_url":"https://api.github.com/repos/heyi-linaro/odp/commits{/sha}","git_commits_url":"https://api.github.com/repos/heyi-linaro/odp/git/commits{/sha}","comments_url":"https://api.github.com/repos/heyi-linaro/odp/comments{/number}","issue_comment_url":"https://api.github.com/repos/heyi-linaro/odp/issues/comments{/number}","contents_url":"https://api.github.com/repos/heyi-linaro/odp/contents/{+path}","compare_url":"https://api.github.com/repos/heyi-linaro/odp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heyi-linaro/odp/merges","archive_url":"https://api.github.com/repos/heyi-linaro/odp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heyi-linaro/odp/downloads","issues_url":"https://api.github.com/repos/heyi-linaro/odp/issues{/number}","pulls_url":"https://api.github.com/repos/heyi-linaro/odp/pulls{/number}","milestones_url":"https://api.github.com/repos/heyi-linaro/odp/milestones{/number}","notifications_url":"https://api.github.com/repos/heyi-linaro/odp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heyi-linaro/odp/labels{/name}","releases_url":"https://api.github.com/repos/heyi-linaro/odp/releases{/id}","deployments_url":"https://api.github.com/repos/heyi-linaro/odp/deployments","created_at":"2017-03-23T05:42:22Z","updated_at":"2017-03-23T05:42:25Z","pushed_at":"2017-07-03T07:20:04Z","git_url":"git://github.com/heyi-linaro/odp.git","ssh_url":"git@github.com:heyi-linaro/odp.git","clone_url":"https://github.com/heyi-linaro/odp.git","svn_url":"https://github.com/heyi-linaro/odp","homepage":"http://www.opendataplane.org/","size":7127,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"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":"Linaro:cloud-dev","ref":"cloud-dev","sha":"1ba26aa5650c05718c177842178de6d0f70b7fc1","user":{"login":"Linaro","id":1180626,"avatar_url":"https://avatars3.githubusercontent.com/u/1180626?v=3","gravatar_id":"","url":"https://api.github.com/users/Linaro","html_url":"https://github.com/Linaro","followers_url":"https://api.github.com/users/Linaro/followers","following_url":"https://api.github.com/users/Linaro/following{/other_user}","gists_url":"https://api.github.com/users/Linaro/gists{/gist_id}","starred_url":"https://api.github.com/users/Linaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Linaro/subscriptions","organizations_url":"https://api.github.com/users/Linaro/orgs","repos_url":"https://api.github.com/users/Linaro/repos","events_url":"https://api.github.com/users/Linaro/events{/privacy}","received_events_url":"https://api.github.com/users/Linaro/received_events","type":"Organization","site_admin":false},"repo":{"id":79130215,"name":"odp","full_name":"Linaro/odp","owner":{"login":"Linaro","id":1180626,"avatar_url":"https://avatars3.githubusercontent.com/u/1180626?v=3","gravatar_id":"","url":"https://api.github.com/users/Linaro","html_url":"https://github.com/Linaro","followers_url":"https://api.github.com/users/Linaro/followers","following_url":"https://api.github.com/users/Linaro/following{/other_user}","gists_url":"https://api.github.com/users/Linaro/gists{/gist_id}","starred_url":"https://api.github.com/users/Linaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Linaro/subscriptions","organizations_url":"https://api.github.com/users/Linaro/orgs","repos_url":"https://api.github.com/users/Linaro/repos","events_url":"https://api.github.com/users/Linaro/events{/privacy}","received_events_url":"https://api.github.com/users/Linaro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Linaro/odp","description":"The ODP project is an open-source, cross-platform set of application programming interfaces (APIs) for the networking data plane","fork":false,"url":"https://api.github.com/repos/Linaro/odp","forks_url":"https://api.github.com/repos/Linaro/odp/forks","keys_url":"https://api.github.com/repos/Linaro/odp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Linaro/odp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Linaro/odp/teams","hooks_url":"https://api.github.com/repos/Linaro/odp/hooks","issue_events_url":"https://api.github.com/repos/Linaro/odp/issues/events{/number}","events_url":"https://api.github.com/repos/Linaro/odp/events","assignees_url":"https://api.github.com/repos/Linaro/odp/assignees{/user}","branches_url":"https://api.github.com/repos/Linaro/odp/branches{/branch}","tags_url":"https://api.github.com/repos/Linaro/odp/tags","blobs_url":"https://api.github.com/repos/Linaro/odp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Linaro/odp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Linaro/odp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Linaro/odp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Linaro/odp/statuses/{sha}","languages_url":"https://api.github.com/repos/Linaro/odp/languages","stargazers_url":"https://api.github.com/repos/Linaro/odp/stargazers","contributors_url":"https://api.github.com/repos/Linaro/odp/contributors","subscribers_url":"https://api.github.com/repos/Linaro/odp/subscribers","subscription_url":"https://api.github.com/repos/Linaro/odp/subscription","commits_url":"https://api.github.com/repos/Linaro/odp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Linaro/odp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Linaro/odp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Linaro/odp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Linaro/odp/contents/{+path}","compare_url":"https://api.github.com/repos/Linaro/odp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Linaro/odp/merges","archive_url":"https://api.github.com/repos/Linaro/odp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Linaro/odp/downloads","issues_url":"https://api.github.com/repos/Linaro/odp/issues{/number}","pulls_url":"https://api.github.com/repos/Linaro/odp/pulls{/number}","milestones_url":"https://api.github.com/repos/Linaro/odp/milestones{/number}","notifications_url":"https://api.github.com/repos/Linaro/odp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Linaro/odp/labels{/name}","releases_url":"https://api.github.com/repos/Linaro/odp/releases{/id}","deployments_url":"https://api.github.com/repos/Linaro/odp/deployments","created_at":"2017-01-16T15:11:12Z","updated_at":"2017-07-03T09:34:31Z","pushed_at":"2017-07-07T07:05:44Z","git_url":"git://github.com/Linaro/odp.git","ssh_url":"git@github.com:Linaro/odp.git","clone_url":"https://github.com/Linaro/odp.git","svn_url":"https://github.com/Linaro/odp","homepage":"http://www.opendataplane.org/","size":7187,"stargazers_count":14,"watchers_count":14,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":17,"forks":17,"open_issues":17,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Linaro/odp/pulls/65"},"html":{"href":"https://github.com/Linaro/odp/pull/65"},"issue":{"href":"https://api.github.com/repos/Linaro/odp/issues/65"},"comments":{"href":"https://api.github.com/repos/Linaro/odp/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/Linaro/odp/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/Linaro/odp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Linaro/odp/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/Linaro/odp/statuses/ba161ea513b2fe9de36afc535ea26165febaa97a"}}}}
{"actor":{"display_login":"heyi-linaro"}}