{"action":"opened","number":16,"pull_request":{"url":"https://api.github.com/repos/ix-project/ix/pulls/16","id":99371831,"html_url":"https://github.com/ix-project/ix/pull/16","diff_url":"https://github.com/ix-project/ix/pull/16.diff","patch_url":"https://github.com/ix-project/ix/pull/16.patch","issue_url":"https://api.github.com/repos/ix-project/ix/issues/16","number":16,"state":"open","locked":false,"title":"i40e: Fix reta bitmask conversion","user":{"login":"aroulin","id":5475997,"avatar_url":"https://avatars.githubusercontent.com/u/5475997?v=3","gravatar_id":"","url":"https://api.github.com/users/aroulin","html_url":"https://github.com/aroulin","followers_url":"https://api.github.com/users/aroulin/followers","following_url":"https://api.github.com/users/aroulin/following{/other_user}","gists_url":"https://api.github.com/users/aroulin/gists{/gist_id}","starred_url":"https://api.github.com/users/aroulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aroulin/subscriptions","organizations_url":"https://api.github.com/users/aroulin/orgs","repos_url":"https://api.github.com/users/aroulin/repos","events_url":"https://api.github.com/users/aroulin/events{/privacy}","received_events_url":"https://api.github.com/users/aroulin/received_events","type":"User","site_admin":false},"body":"Multiple errors were present in the code when converting reta masks from IX format to DPDK format. It resulted in the card getting wrong (flow group -> cpu) assignments. \r\n\r\n1) first assignment didn't shift the result in case `sizeof(unsigned long) > 8`\r\n2) second assignment to dpdk mask wasn't bitwise ORed with the previous assignment result\r\n3) second assignment wasn't shifting the high 32 bits to their corresponding position in the dpdk 64-bit reta mask\r\n\r\nI changed the code so that only one assignment is performed except in the case where an `unsigned long` is represented with less than 64 bits on the machine.","created_at":"2016-12-26T13:55:03Z","updated_at":"2016-12-26T13:55:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"aroulin","id":5475997,"avatar_url":"https://avatars.githubusercontent.com/u/5475997?v=3","gravatar_id":"","url":"https://api.github.com/users/aroulin","html_url":"https://github.com/aroulin","followers_url":"https://api.github.com/users/aroulin/followers","following_url":"https://api.github.com/users/aroulin/following{/other_user}","gists_url":"https://api.github.com/users/aroulin/gists{/gist_id}","starred_url":"https://api.github.com/users/aroulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aroulin/subscriptions","organizations_url":"https://api.github.com/users/aroulin/orgs","repos_url":"https://api.github.com/users/aroulin/repos","events_url":"https://api.github.com/users/aroulin/events{/privacy}","received_events_url":"https://api.github.com/users/aroulin/received_events","type":"User","site_admin":false},"assignees":[{"login":"aroulin","id":5475997,"avatar_url":"https://avatars.githubusercontent.com/u/5475997?v=3","gravatar_id":"","url":"https://api.github.com/users/aroulin","html_url":"https://github.com/aroulin","followers_url":"https://api.github.com/users/aroulin/followers","following_url":"https://api.github.com/users/aroulin/following{/other_user}","gists_url":"https://api.github.com/users/aroulin/gists{/gist_id}","starred_url":"https://api.github.com/users/aroulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aroulin/subscriptions","organizations_url":"https://api.github.com/users/aroulin/orgs","repos_url":"https://api.github.com/users/aroulin/repos","events_url":"https://api.github.com/users/aroulin/events{/privacy}","received_events_url":"https://api.github.com/users/aroulin/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ix-project/ix/pulls/16/commits","review_comments_url":"https://api.github.com/repos/ix-project/ix/pulls/16/comments","review_comment_url":"https://api.github.com/repos/ix-project/ix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ix-project/ix/issues/16/comments","statuses_url":"https://api.github.com/repos/ix-project/ix/statuses/9b27ccdb1c7cc3e1c54e20ba7852f3b8983e0834","head":{"label":"aroulin:i40e-reta-mask-bug","ref":"i40e-reta-mask-bug","sha":"9b27ccdb1c7cc3e1c54e20ba7852f3b8983e0834","user":{"login":"aroulin","id":5475997,"avatar_url":"https://avatars.githubusercontent.com/u/5475997?v=3","gravatar_id":"","url":"https://api.github.com/users/aroulin","html_url":"https://github.com/aroulin","followers_url":"https://api.github.com/users/aroulin/followers","following_url":"https://api.github.com/users/aroulin/following{/other_user}","gists_url":"https://api.github.com/users/aroulin/gists{/gist_id}","starred_url":"https://api.github.com/users/aroulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aroulin/subscriptions","organizations_url":"https://api.github.com/users/aroulin/orgs","repos_url":"https://api.github.com/users/aroulin/repos","events_url":"https://api.github.com/users/aroulin/events{/privacy}","received_events_url":"https://api.github.com/users/aroulin/received_events","type":"User","site_admin":false},"repo":{"id":70062254,"name":"ix","full_name":"aroulin/ix","owner":{"login":"aroulin","id":5475997,"avatar_url":"https://avatars.githubusercontent.com/u/5475997?v=3","gravatar_id":"","url":"https://api.github.com/users/aroulin","html_url":"https://github.com/aroulin","followers_url":"https://api.github.com/users/aroulin/followers","following_url":"https://api.github.com/users/aroulin/following{/other_user}","gists_url":"https://api.github.com/users/aroulin/gists{/gist_id}","starred_url":"https://api.github.com/users/aroulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aroulin/subscriptions","organizations_url":"https://api.github.com/users/aroulin/orgs","repos_url":"https://api.github.com/users/aroulin/repos","events_url":"https://api.github.com/users/aroulin/events{/privacy}","received_events_url":"https://api.github.com/users/aroulin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aroulin/ix","description":"IX a protected dataplane operating system project","fork":true,"url":"https://api.github.com/repos/aroulin/ix","forks_url":"https://api.github.com/repos/aroulin/ix/forks","keys_url":"https://api.github.com/repos/aroulin/ix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aroulin/ix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aroulin/ix/teams","hooks_url":"https://api.github.com/repos/aroulin/ix/hooks","issue_events_url":"https://api.github.com/repos/aroulin/ix/issues/events{/number}","events_url":"https://api.github.com/repos/aroulin/ix/events","assignees_url":"https://api.github.com/repos/aroulin/ix/assignees{/user}","branches_url":"https://api.github.com/repos/aroulin/ix/branches{/branch}","tags_url":"https://api.github.com/repos/aroulin/ix/tags","blobs_url":"https://api.github.com/repos/aroulin/ix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aroulin/ix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aroulin/ix/git/refs{/sha}","trees_url":"https://api.github.com/repos/aroulin/ix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aroulin/ix/statuses/{sha}","languages_url":"https://api.github.com/repos/aroulin/ix/languages","stargazers_url":"https://api.github.com/repos/aroulin/ix/stargazers","contributors_url":"https://api.github.com/repos/aroulin/ix/contributors","subscribers_url":"https://api.github.com/repos/aroulin/ix/subscribers","subscription_url":"https://api.github.com/repos/aroulin/ix/subscription","commits_url":"https://api.github.com/repos/aroulin/ix/commits{/sha}","git_commits_url":"https://api.github.com/repos/aroulin/ix/git/commits{/sha}","comments_url":"https://api.github.com/repos/aroulin/ix/comments{/number}","issue_comment_url":"https://api.github.com/repos/aroulin/ix/issues/comments{/number}","contents_url":"https://api.github.com/repos/aroulin/ix/contents/{+path}","compare_url":"https://api.github.com/repos/aroulin/ix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aroulin/ix/merges","archive_url":"https://api.github.com/repos/aroulin/ix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aroulin/ix/downloads","issues_url":"https://api.github.com/repos/aroulin/ix/issues{/number}","pulls_url":"https://api.github.com/repos/aroulin/ix/pulls{/number}","milestones_url":"https://api.github.com/repos/aroulin/ix/milestones{/number}","notifications_url":"https://api.github.com/repos/aroulin/ix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aroulin/ix/labels{/name}","releases_url":"https://api.github.com/repos/aroulin/ix/releases{/id}","deployments_url":"https://api.github.com/repos/aroulin/ix/deployments","created_at":"2016-10-05T13:18:44Z","updated_at":"2016-10-05T13:18:46Z","pushed_at":"2016-12-26T13:53:49Z","git_url":"git://github.com/aroulin/ix.git","ssh_url":"git@github.com:aroulin/ix.git","clone_url":"https://github.com/aroulin/ix.git","svn_url":"https://github.com/aroulin/ix","homepage":"http://ix-project.github.io/ix/","size":445,"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":"ix-project:master","ref":"master","sha":"939db17a576000afc97d8c3612a561d6e01626ff","user":{"login":"ix-project","id":16310078,"avatar_url":"https://avatars.githubusercontent.com/u/16310078?v=3","gravatar_id":"","url":"https://api.github.com/users/ix-project","html_url":"https://github.com/ix-project","followers_url":"https://api.github.com/users/ix-project/followers","following_url":"https://api.github.com/users/ix-project/following{/other_user}","gists_url":"https://api.github.com/users/ix-project/gists{/gist_id}","starred_url":"https://api.github.com/users/ix-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ix-project/subscriptions","organizations_url":"https://api.github.com/users/ix-project/orgs","repos_url":"https://api.github.com/users/ix-project/repos","events_url":"https://api.github.com/users/ix-project/events{/privacy}","received_events_url":"https://api.github.com/users/ix-project/received_events","type":"Organization","site_admin":false},"repo":{"id":59220539,"name":"ix","full_name":"ix-project/ix","owner":{"login":"ix-project","id":16310078,"avatar_url":"https://avatars.githubusercontent.com/u/16310078?v=3","gravatar_id":"","url":"https://api.github.com/users/ix-project","html_url":"https://github.com/ix-project","followers_url":"https://api.github.com/users/ix-project/followers","following_url":"https://api.github.com/users/ix-project/following{/other_user}","gists_url":"https://api.github.com/users/ix-project/gists{/gist_id}","starred_url":"https://api.github.com/users/ix-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ix-project/subscriptions","organizations_url":"https://api.github.com/users/ix-project/orgs","repos_url":"https://api.github.com/users/ix-project/repos","events_url":"https://api.github.com/users/ix-project/events{/privacy}","received_events_url":"https://api.github.com/users/ix-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ix-project/ix","description":"IX a protected dataplane operating system project","fork":false,"url":"https://api.github.com/repos/ix-project/ix","forks_url":"https://api.github.com/repos/ix-project/ix/forks","keys_url":"https://api.github.com/repos/ix-project/ix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ix-project/ix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ix-project/ix/teams","hooks_url":"https://api.github.com/repos/ix-project/ix/hooks","issue_events_url":"https://api.github.com/repos/ix-project/ix/issues/events{/number}","events_url":"https://api.github.com/repos/ix-project/ix/events","assignees_url":"https://api.github.com/repos/ix-project/ix/assignees{/user}","branches_url":"https://api.github.com/repos/ix-project/ix/branches{/branch}","tags_url":"https://api.github.com/repos/ix-project/ix/tags","blobs_url":"https://api.github.com/repos/ix-project/ix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ix-project/ix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ix-project/ix/git/refs{/sha}","trees_url":"https://api.github.com/repos/ix-project/ix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ix-project/ix/statuses/{sha}","languages_url":"https://api.github.com/repos/ix-project/ix/languages","stargazers_url":"https://api.github.com/repos/ix-project/ix/stargazers","contributors_url":"https://api.github.com/repos/ix-project/ix/contributors","subscribers_url":"https://api.github.com/repos/ix-project/ix/subscribers","subscription_url":"https://api.github.com/repos/ix-project/ix/subscription","commits_url":"https://api.github.com/repos/ix-project/ix/commits{/sha}","git_commits_url":"https://api.github.com/repos/ix-project/ix/git/commits{/sha}","comments_url":"https://api.github.com/repos/ix-project/ix/comments{/number}","issue_comment_url":"https://api.github.com/repos/ix-project/ix/issues/comments{/number}","contents_url":"https://api.github.com/repos/ix-project/ix/contents/{+path}","compare_url":"https://api.github.com/repos/ix-project/ix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ix-project/ix/merges","archive_url":"https://api.github.com/repos/ix-project/ix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ix-project/ix/downloads","issues_url":"https://api.github.com/repos/ix-project/ix/issues{/number}","pulls_url":"https://api.github.com/repos/ix-project/ix/pulls{/number}","milestones_url":"https://api.github.com/repos/ix-project/ix/milestones{/number}","notifications_url":"https://api.github.com/repos/ix-project/ix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ix-project/ix/labels{/name}","releases_url":"https://api.github.com/repos/ix-project/ix/releases{/id}","deployments_url":"https://api.github.com/repos/ix-project/ix/deployments","created_at":"2016-05-19T15:45:27Z","updated_at":"2016-11-15T08:48:41Z","pushed_at":"2016-12-26T11:38:06Z","git_url":"git://github.com/ix-project/ix.git","ssh_url":"git@github.com:ix-project/ix.git","clone_url":"https://github.com/ix-project/ix.git","svn_url":"https://github.com/ix-project/ix","homepage":"http://ix-project.github.io/ix/","size":438,"stargazers_count":24,"watchers_count":24,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":4,"forks":13,"open_issues":4,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ix-project/ix/pulls/16"},"html":{"href":"https://github.com/ix-project/ix/pull/16"},"issue":{"href":"https://api.github.com/repos/ix-project/ix/issues/16"},"comments":{"href":"https://api.github.com/repos/ix-project/ix/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/ix-project/ix/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/ix-project/ix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ix-project/ix/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/ix-project/ix/statuses/9b27ccdb1c7cc3e1c54e20ba7852f3b8983e0834"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":4,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"aroulin"}}