{"comment":{"url":"https://api.github.com/repos/shinpeimuraoka/ryu/comments/17413689","html_url":"https://github.com/shinpeimuraoka/ryu/commit/6d77696c8446753a79fb2f8363018a0ec01cf020#commitcomment-17413689","id":17413689,"user":{"login":"iwaseyusuke","id":8063905,"avatar_url":"https://avatars.githubusercontent.com/u/8063905?v=3","gravatar_id":"","url":"https://api.github.com/users/iwaseyusuke","html_url":"https://github.com/iwaseyusuke","followers_url":"https://api.github.com/users/iwaseyusuke/followers","following_url":"https://api.github.com/users/iwaseyusuke/following{/other_user}","gists_url":"https://api.github.com/users/iwaseyusuke/gists{/gist_id}","starred_url":"https://api.github.com/users/iwaseyusuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwaseyusuke/subscriptions","organizations_url":"https://api.github.com/users/iwaseyusuke/orgs","repos_url":"https://api.github.com/users/iwaseyusuke/repos","events_url":"https://api.github.com/users/iwaseyusuke/events{/privacy}","received_events_url":"https://api.github.com/users/iwaseyusuke/received_events","type":"User","site_admin":false},"position":562,"line":936,"path":"ryu/ofproto/nx_actions.py","commit_id":"6d77696c8446753a79fb2f8363018a0ec01cf020","created_at":"2016-05-10T08:32:40Z","updated_at":"2016-05-10T08:32:40Z","body":"OVS も実際に、len の計算には、8 の倍数になるように、\r\n丸め込みをしてますね。\r\n`#define OFP_ACTION_ALIGN 8`\r\nhttps://github.com/openvswitch/ovs/blob/master/lib/ofp-actions.c#L1293\r\n\r\nutils.round_up() を使って、8の倍数にするのが正しいようです。"}}