{"action":"created","comment":{"url":"https://api.github.com/repos/iqiyi/dpvs/pulls/comments/231005961","pull_request_review_id":171872323,"id":231005961,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMTAwNTk2MQ==","diff_hunk":"@@ -210,6 +226,16 @@ __dp_vs_svc_match_get(int af, const struct rte_mbuf *mbuf)\n             } else {\n                 oif = rt->port->id;\n             }\n+\n+            out_dev = netif_port_get(oif);\n+            if (!out_dev)\n+                return NULL;\n+\n+            if (out_dev->type == PORT_TYPE_TUNNEL) {\n+                tnl = netif_priv(out_dev);\n+                if (tnl && tnl->link)\n+                    oif = tnl->link->id;\n+            }","path":"src/ipvs/ip_vs_service.c","position":null,"original_position":50,"commit_id":"054e526a268ca877766e76972df49af432fc8c8d","original_commit_id":"b6fd749f851f5c52bf9fbc0067a05e0c26382ecd","user":{"login":"weiyanhua100","id":42670639,"node_id":"MDQ6VXNlcjQyNjcwNjM5","avatar_url":"https://avatars1.githubusercontent.com/u/42670639?v=4","gravatar_id":"","url":"https://api.github.com/users/weiyanhua100","html_url":"https://github.com/weiyanhua100","followers_url":"https://api.github.com/users/weiyanhua100/followers","following_url":"https://api.github.com/users/weiyanhua100/following{/other_user}","gists_url":"https://api.github.com/users/weiyanhua100/gists{/gist_id}","starred_url":"https://api.github.com/users/weiyanhua100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiyanhua100/subscriptions","organizations_url":"https://api.github.com/users/weiyanhua100/orgs","repos_url":"https://api.github.com/users/weiyanhua100/repos","events_url":"https://api.github.com/users/weiyanhua100/events{/privacy}","received_events_url":"https://api.github.com/users/weiyanhua100/received_events","type":"User","site_admin":false},"body":"现在还没有这个应用场景，将其去掉","created_at":"2018-11-06T05:59:00Z","updated_at":"2018-11-06T05:59:00Z","html_url":"https://github.com/iqiyi/dpvs/pull/304#discussion_r231005961","pull_request_url":"https://api.github.com/repos/iqiyi/dpvs/pulls/304","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/iqiyi/dpvs/pulls/comments/231005961"},"html":{"href":"https://github.com/iqiyi/dpvs/pull/304#discussion_r231005961"},"pull_request":{"href":"https://api.github.com/repos/iqiyi/dpvs/pulls/304"}},"in_reply_to_id":230977202},"pull_request":{"url":"https://api.github.com/repos/iqiyi/dpvs/pulls/304","id":223134708,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMTM0NzA4","html_url":"https://github.com/iqiyi/dpvs/pull/304","diff_url":"https://github.com/iqiyi/dpvs/pull/304.diff","patch_url":"https://github.com/iqiyi/dpvs/pull/304.patch","issue_url":"https://api.github.com/repos/iqiyi/dpvs/issues/304","number":304,"state":"open","locked":false,"title":"convert tunnel id to dev port id in tunnel mode, because the virtual …","user":{"login":"weiyanhua100","id":42670639,"node_id":"MDQ6VXNlcjQyNjcwNjM5","avatar_url":"https://avatars1.githubusercontent.com/u/42670639?v=4","gravatar_id":"","url":"https://api.github.com/users/weiyanhua100","html_url":"https://github.com/weiyanhua100","followers_url":"https://api.github.com/users/weiyanhua100/followers","following_url":"https://api.github.com/users/weiyanhua100/following{/other_user}","gists_url":"https://api.github.com/users/weiyanhua100/gists{/gist_id}","starred_url":"https://api.github.com/users/weiyanhua100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiyanhua100/subscriptions","organizations_url":"https://api.github.com/users/weiyanhua100/orgs","repos_url":"https://api.github.com/users/weiyanhua100/repos","events_url":"https://api.github.com/users/weiyanhua100/events{/privacy}","received_events_url":"https://api.github.com/users/weiyanhua100/received_events","type":"User","site_admin":false},"body":"…service iif field is the physical port.","created_at":"2018-10-16T06:56:32Z","updated_at":"2018-11-06T05:59:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b804ca3d7a347236eb2b6e9a3d13f3a16d4fc59","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mscbg","id":20103281,"node_id":"MDQ6VXNlcjIwMTAzMjgx","avatar_url":"https://avatars2.githubusercontent.com/u/20103281?v=4","gravatar_id":"","url":"https://api.github.com/users/mscbg","html_url":"https://github.com/mscbg","followers_url":"https://api.github.com/users/mscbg/followers","following_url":"https://api.github.com/users/mscbg/following{/other_user}","gists_url":"https://api.github.com/users/mscbg/gists{/gist_id}","starred_url":"https://api.github.com/users/mscbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscbg/subscriptions","organizations_url":"https://api.github.com/users/mscbg/orgs","repos_url":"https://api.github.com/users/mscbg/repos","events_url":"https://api.github.com/users/mscbg/events{/privacy}","received_events_url":"https://api.github.com/users/mscbg/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/iqiyi/dpvs/pulls/304/commits","review_comments_url":"https://api.github.com/repos/iqiyi/dpvs/pulls/304/comments","review_comment_url":"https://api.github.com/repos/iqiyi/dpvs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iqiyi/dpvs/issues/304/comments","statuses_url":"https://api.github.com/repos/iqiyi/dpvs/statuses/054e526a268ca877766e76972df49af432fc8c8d","head":{"label":"weiyanhua100:tunnel_iif","ref":"tunnel_iif","sha":"054e526a268ca877766e76972df49af432fc8c8d","user":{"login":"weiyanhua100","id":42670639,"node_id":"MDQ6VXNlcjQyNjcwNjM5","avatar_url":"https://avatars1.githubusercontent.com/u/42670639?v=4","gravatar_id":"","url":"https://api.github.com/users/weiyanhua100","html_url":"https://github.com/weiyanhua100","followers_url":"https://api.github.com/users/weiyanhua100/followers","following_url":"https://api.github.com/users/weiyanhua100/following{/other_user}","gists_url":"https://api.github.com/users/weiyanhua100/gists{/gist_id}","starred_url":"https://api.github.com/users/weiyanhua100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiyanhua100/subscriptions","organizations_url":"https://api.github.com/users/weiyanhua100/orgs","repos_url":"https://api.github.com/users/weiyanhua100/repos","events_url":"https://api.github.com/users/weiyanhua100/events{/privacy}","received_events_url":"https://api.github.com/users/weiyanhua100/received_events","type":"User","site_admin":false},"repo":{"id":145973269,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU5NzMyNjk=","name":"dpvs","full_name":"weiyanhua100/dpvs","private":false,"owner":{"login":"weiyanhua100","id":42670639,"node_id":"MDQ6VXNlcjQyNjcwNjM5","avatar_url":"https://avatars1.githubusercontent.com/u/42670639?v=4","gravatar_id":"","url":"https://api.github.com/users/weiyanhua100","html_url":"https://github.com/weiyanhua100","followers_url":"https://api.github.com/users/weiyanhua100/followers","following_url":"https://api.github.com/users/weiyanhua100/following{/other_user}","gists_url":"https://api.github.com/users/weiyanhua100/gists{/gist_id}","starred_url":"https://api.github.com/users/weiyanhua100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiyanhua100/subscriptions","organizations_url":"https://api.github.com/users/weiyanhua100/orgs","repos_url":"https://api.github.com/users/weiyanhua100/repos","events_url":"https://api.github.com/users/weiyanhua100/events{/privacy}","received_events_url":"https://api.github.com/users/weiyanhua100/received_events","type":"User","site_admin":false},"html_url":"https://github.com/weiyanhua100/dpvs","description":"DPVS is a high performance Layer-4 load balancer based on DPDK.","fork":true,"url":"https://api.github.com/repos/weiyanhua100/dpvs","forks_url":"https://api.github.com/repos/weiyanhua100/dpvs/forks","keys_url":"https://api.github.com/repos/weiyanhua100/dpvs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weiyanhua100/dpvs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weiyanhua100/dpvs/teams","hooks_url":"https://api.github.com/repos/weiyanhua100/dpvs/hooks","issue_events_url":"https://api.github.com/repos/weiyanhua100/dpvs/issues/events{/number}","events_url":"https://api.github.com/repos/weiyanhua100/dpvs/events","assignees_url":"https://api.github.com/repos/weiyanhua100/dpvs/assignees{/user}","branches_url":"https://api.github.com/repos/weiyanhua100/dpvs/branches{/branch}","tags_url":"https://api.github.com/repos/weiyanhua100/dpvs/tags","blobs_url":"https://api.github.com/repos/weiyanhua100/dpvs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weiyanhua100/dpvs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weiyanhua100/dpvs/git/refs{/sha}","trees_url":"https://api.github.com/repos/weiyanhua100/dpvs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weiyanhua100/dpvs/statuses/{sha}","languages_url":"https://api.github.com/repos/weiyanhua100/dpvs/languages","stargazers_url":"https://api.github.com/repos/weiyanhua100/dpvs/stargazers","contributors_url":"https://api.github.com/repos/weiyanhua100/dpvs/contributors","subscribers_url":"https://api.github.com/repos/weiyanhua100/dpvs/subscribers","subscription_url":"https://api.github.com/repos/weiyanhua100/dpvs/subscription","commits_url":"https://api.github.com/repos/weiyanhua100/dpvs/commits{/sha}","git_commits_url":"https://api.github.com/repos/weiyanhua100/dpvs/git/commits{/sha}","comments_url":"https://api.github.com/repos/weiyanhua100/dpvs/comments{/number}","issue_comment_url":"https://api.github.com/repos/weiyanhua100/dpvs/issues/comments{/number}","contents_url":"https://api.github.com/repos/weiyanhua100/dpvs/contents/{+path}","compare_url":"https://api.github.com/repos/weiyanhua100/dpvs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weiyanhua100/dpvs/merges","archive_url":"https://api.github.com/repos/weiyanhua100/dpvs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weiyanhua100/dpvs/downloads","issues_url":"https://api.github.com/repos/weiyanhua100/dpvs/issues{/number}","pulls_url":"https://api.github.com/repos/weiyanhua100/dpvs/pulls{/number}","milestones_url":"https://api.github.com/repos/weiyanhua100/dpvs/milestones{/number}","notifications_url":"https://api.github.com/repos/weiyanhua100/dpvs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weiyanhua100/dpvs/labels{/name}","releases_url":"https://api.github.com/repos/weiyanhua100/dpvs/releases{/id}","deployments_url":"https://api.github.com/repos/weiyanhua100/dpvs/deployments","created_at":"2018-08-24T09:41:58Z","updated_at":"2018-11-01T05:53:51Z","pushed_at":"2018-11-06T05:56:32Z","git_url":"git://github.com/weiyanhua100/dpvs.git","ssh_url":"git@github.com:weiyanhua100/dpvs.git","clone_url":"https://github.com/weiyanhua100/dpvs.git","svn_url":"https://github.com/weiyanhua100/dpvs","homepage":null,"size":1915,"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,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"iqiyi:master","ref":"master","sha":"f9ff886c0cbabc81b678033215a7c73f76726890","user":{"login":"iqiyi","id":32627384,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNjI3Mzg0","avatar_url":"https://avatars1.githubusercontent.com/u/32627384?v=4","gravatar_id":"","url":"https://api.github.com/users/iqiyi","html_url":"https://github.com/iqiyi","followers_url":"https://api.github.com/users/iqiyi/followers","following_url":"https://api.github.com/users/iqiyi/following{/other_user}","gists_url":"https://api.github.com/users/iqiyi/gists{/gist_id}","starred_url":"https://api.github.com/users/iqiyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iqiyi/subscriptions","organizations_url":"https://api.github.com/users/iqiyi/orgs","repos_url":"https://api.github.com/users/iqiyi/repos","events_url":"https://api.github.com/users/iqiyi/events{/privacy}","received_events_url":"https://api.github.com/users/iqiyi/received_events","type":"Organization","site_admin":false},"repo":{"id":106375631,"node_id":"MDEwOlJlcG9zaXRvcnkxMDYzNzU2MzE=","name":"dpvs","full_name":"iqiyi/dpvs","private":false,"owner":{"login":"iqiyi","id":32627384,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNjI3Mzg0","avatar_url":"https://avatars1.githubusercontent.com/u/32627384?v=4","gravatar_id":"","url":"https://api.github.com/users/iqiyi","html_url":"https://github.com/iqiyi","followers_url":"https://api.github.com/users/iqiyi/followers","following_url":"https://api.github.com/users/iqiyi/following{/other_user}","gists_url":"https://api.github.com/users/iqiyi/gists{/gist_id}","starred_url":"https://api.github.com/users/iqiyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iqiyi/subscriptions","organizations_url":"https://api.github.com/users/iqiyi/orgs","repos_url":"https://api.github.com/users/iqiyi/repos","events_url":"https://api.github.com/users/iqiyi/events{/privacy}","received_events_url":"https://api.github.com/users/iqiyi/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/iqiyi/dpvs","description":"DPVS is a high performance Layer-4 load balancer based on DPDK.","fork":false,"url":"https://api.github.com/repos/iqiyi/dpvs","forks_url":"https://api.github.com/repos/iqiyi/dpvs/forks","keys_url":"https://api.github.com/repos/iqiyi/dpvs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iqiyi/dpvs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iqiyi/dpvs/teams","hooks_url":"https://api.github.com/repos/iqiyi/dpvs/hooks","issue_events_url":"https://api.github.com/repos/iqiyi/dpvs/issues/events{/number}","events_url":"https://api.github.com/repos/iqiyi/dpvs/events","assignees_url":"https://api.github.com/repos/iqiyi/dpvs/assignees{/user}","branches_url":"https://api.github.com/repos/iqiyi/dpvs/branches{/branch}","tags_url":"https://api.github.com/repos/iqiyi/dpvs/tags","blobs_url":"https://api.github.com/repos/iqiyi/dpvs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iqiyi/dpvs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iqiyi/dpvs/git/refs{/sha}","trees_url":"https://api.github.com/repos/iqiyi/dpvs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iqiyi/dpvs/statuses/{sha}","languages_url":"https://api.github.com/repos/iqiyi/dpvs/languages","stargazers_url":"https://api.github.com/repos/iqiyi/dpvs/stargazers","contributors_url":"https://api.github.com/repos/iqiyi/dpvs/contributors","subscribers_url":"https://api.github.com/repos/iqiyi/dpvs/subscribers","subscription_url":"https://api.github.com/repos/iqiyi/dpvs/subscription","commits_url":"https://api.github.com/repos/iqiyi/dpvs/commits{/sha}","git_commits_url":"https://api.github.com/repos/iqiyi/dpvs/git/commits{/sha}","comments_url":"https://api.github.com/repos/iqiyi/dpvs/comments{/number}","issue_comment_url":"https://api.github.com/repos/iqiyi/dpvs/issues/comments{/number}","contents_url":"https://api.github.com/repos/iqiyi/dpvs/contents/{+path}","compare_url":"https://api.github.com/repos/iqiyi/dpvs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iqiyi/dpvs/merges","archive_url":"https://api.github.com/repos/iqiyi/dpvs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iqiyi/dpvs/downloads","issues_url":"https://api.github.com/repos/iqiyi/dpvs/issues{/number}","pulls_url":"https://api.github.com/repos/iqiyi/dpvs/pulls{/number}","milestones_url":"https://api.github.com/repos/iqiyi/dpvs/milestones{/number}","notifications_url":"https://api.github.com/repos/iqiyi/dpvs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iqiyi/dpvs/labels{/name}","releases_url":"https://api.github.com/repos/iqiyi/dpvs/releases{/id}","deployments_url":"https://api.github.com/repos/iqiyi/dpvs/deployments","created_at":"2017-10-10T06:14:02Z","updated_at":"2018-11-06T02:31:06Z","pushed_at":"2018-11-06T05:56:33Z","git_url":"git://github.com/iqiyi/dpvs.git","ssh_url":"git@github.com:iqiyi/dpvs.git","clone_url":"https://github.com/iqiyi/dpvs.git","svn_url":"https://github.com/iqiyi/dpvs","homepage":null,"size":2059,"stargazers_count":1026,"watchers_count":1026,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":283,"mirror_url":null,"archived":false,"open_issues_count":59,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":283,"open_issues":59,"watchers":1026,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iqiyi/dpvs/pulls/304"},"html":{"href":"https://github.com/iqiyi/dpvs/pull/304"},"issue":{"href":"https://api.github.com/repos/iqiyi/dpvs/issues/304"},"comments":{"href":"https://api.github.com/repos/iqiyi/dpvs/issues/304/comments"},"review_comments":{"href":"https://api.github.com/repos/iqiyi/dpvs/pulls/304/comments"},"review_comment":{"href":"https://api.github.com/repos/iqiyi/dpvs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iqiyi/dpvs/pulls/304/commits"},"statuses":{"href":"https://api.github.com/repos/iqiyi/dpvs/statuses/054e526a268ca877766e76972df49af432fc8c8d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"weiyanhua100"}}