)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"b72de0c93289988327655f4cd6f80a4deef07071","unresolved":false,"context_lines":[{"line_number":11,"context_line":"  containers."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I927f12ac15b7bafa19996b8d9a7f1969f4186654"},{"line_number":14,"context_line":"Implements: blueprint ovs-dpdk"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3a71b18c_350f9589","line":14,"range":{"start_line":14,"start_character":0,"end_line":14,"end_character":10},"updated":"2016-12-09 01:31:41.000000000","message":"TODO: change to partial","commit_id":"56b9de507742987687a7c8463a84c8c7e695f378"}],"doc/networking-guide.rst":[{"author":{"_account_id":24164,"name":"Sayantani Goswami","email":"sayantani.goswami@intel.com","username":"sayantani.goswami"},"change_message_id":"b82f0be38068bf393c95d3966acf757813178215","unresolved":false,"context_lines":[{"line_number":95,"context_line":"CentOS,Fedora and Oracle linux currently do not provide packages for ovs with dpdk."},{"line_number":96,"context_line":"The Ubuntu packages do not support uio based drivers."},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"to use ovs-dpdk on these plathforms effectivly a source build is required."},{"line_number":99,"context_line":"the following template-overide and kolla-build.conf will allow creation of an ovs-vswitchd"},{"line_number":100,"context_line":"container with dpdk support."},{"line_number":101,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a71b18c_75774d3b","line":98,"range":{"start_line":98,"start_character":0,"end_line":98,"end_character":1},"updated":"2016-12-09 01:24:53.000000000","message":"Capitalization required.","commit_id":"56b9de507742987687a7c8463a84c8c7e695f378"},{"author":{"_account_id":24164,"name":"Sayantani Goswami","email":"sayantani.goswami@intel.com","username":"sayantani.goswami"},"change_message_id":"b82f0be38068bf393c95d3966acf757813178215","unresolved":false,"context_lines":[{"line_number":96,"context_line":"The Ubuntu packages do not support uio based drivers."},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"to use ovs-dpdk on these plathforms effectivly a source build is required."},{"line_number":99,"context_line":"the following template-overide and kolla-build.conf will allow creation of an ovs-vswitchd"},{"line_number":100,"context_line":"container with dpdk support."},{"line_number":101,"context_line":""},{"line_number":102,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a71b18c_9576a93c","line":99,"range":{"start_line":99,"start_character":0,"end_line":99,"end_character":1},"updated":"2016-12-09 01:24:53.000000000","message":"ditto","commit_id":"56b9de507742987687a7c8463a84c8c7e695f378"},{"author":{"_account_id":24164,"name":"Sayantani Goswami","email":"sayantani.goswami@intel.com","username":"sayantani.goswami"},"change_message_id":"b82f0be38068bf393c95d3966acf757813178215","unresolved":false,"context_lines":[{"line_number":105,"context_line":"(this will likely not be part of final patchset in this form)"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"- append the follow to /etc/kolla/kolla-build.conf to select the version"},{"line_number":109,"context_line":"  of ovs and dpdk to user for your source build."},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"kolla-build.conf"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a71b18c_d58e6126","line":108,"range":{"start_line":108,"start_character":13,"end_line":108,"end_character":19},"updated":"2016-12-09 01:24:53.000000000","message":"replace follow with following","commit_id":"56b9de507742987687a7c8463a84c8c7e695f378"},{"author":{"_account_id":24164,"name":"Sayantani Goswami","email":"sayantani.goswami@intel.com","username":"sayantani.goswami"},"change_message_id":"b82f0be38068bf393c95d3966acf757813178215","unresolved":false,"context_lines":[{"line_number":121,"context_line":"location \u003d http://dpdk.org/git/dpdk"},{"line_number":122,"context_line":"reference \u003d v16.07"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"- Next create a ~/template-override.j2 file with the follow contence"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"template overide example "},{"line_number":127,"context_line":"________________________"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a71b18c_d5b581d0","line":124,"range":{"start_line":124,"start_character":53,"end_line":124,"end_character":59},"updated":"2016-12-09 01:24:53.000000000","message":"replace follow with following","commit_id":"56b9de507742987687a7c8463a84c8c7e695f378"},{"author":{"_account_id":23717,"name":"Surya Prakash Singh","email":"singh.surya64mnnit@gmail.com","username":"SuryaPrakash"},"change_message_id":"ef28fbdc922ae8dbf445957ea62fd7152663033d","unresolved":false,"context_lines":[{"line_number":121,"context_line":"location \u003d http://dpdk.org/git/dpdk"},{"line_number":122,"context_line":"reference \u003d v16.07"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"- Next create a ~/template-override.j2 file with the follow contence"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"template overide example "},{"line_number":127,"context_line":"________________________"}],"source_content_type":"text/x-rst","patch_set":1,"id":"1a6eadb0_2ee49b0b","line":124,"range":{"start_line":124,"start_character":60,"end_line":124,"end_character":68},"updated":"2016-12-14 10:46:38.000000000","message":"s/\"following contence\"/\"following contents\"","commit_id":"56b9de507742987687a7c8463a84c8c7e695f378"},{"author":{"_account_id":24164,"name":"Sayantani Goswami","email":"sayantani.goswami@intel.com","username":"sayantani.goswami"},"change_message_id":"b82f0be38068bf393c95d3966acf757813178215","unresolved":false,"context_lines":[{"line_number":123,"context_line":""},{"line_number":124,"context_line":"- Next create a ~/template-override.j2 file with the follow contence"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"template overide example "},{"line_number":127,"context_line":"________________________"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"{% extends parent_template %}"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a71b18c_15dd3942","line":126,"updated":"2016-12-09 01:24:53.000000000","message":"remove whitespace","commit_id":"56b9de507742987687a7c8463a84c8c7e695f378"},{"author":{"_account_id":10787,"name":"Michal Jastrzebski (inc0)","email":"michal.jastrzebski@intel.com","username":"inc0"},"change_message_id":"896e62dc1edc075f8d4ea5832ff5518900ac97b1","unresolved":false,"context_lines":[{"line_number":139,"context_line":""},{"line_number":140,"context_line":"{% if base_distro in [\u0027centos\u0027, \u0027fedora\u0027, \u0027oraclelinux\u0027, \u0027rhel\u0027] %}"},{"line_number":141,"context_line":"    {% set ovs_dpdk_packages \u003d ["},{"line_number":142,"context_line":"        \u0027kernel-devel-$(uname -r)\u0027,"},{"line_number":143,"context_line":"        \u0027redhat-lsb-core\u0027,"},{"line_number":144,"context_line":"        \u0027pciutils\u0027,"},{"line_number":145,"context_line":"        \u0027autoconf\u0027,"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba5201f7_17232fa8","line":142,"updated":"2017-01-05 16:55:09.000000000","message":"that won\u0027t work. It will upgrade build node kernel (bad) but target node kernel will not be affected (worse) therefore it won\u0027t even work well (really bad)","commit_id":"56b9de507742987687a7c8463a84c8c7e695f378"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"f14a5b89b0a9e0ba6f1ad65c35c1e247bef17e7e","unresolved":false,"context_lines":[{"line_number":139,"context_line":""},{"line_number":140,"context_line":"{% if base_distro in [\u0027centos\u0027, \u0027fedora\u0027, \u0027oraclelinux\u0027, \u0027rhel\u0027] %}"},{"line_number":141,"context_line":"    {% set ovs_dpdk_packages \u003d ["},{"line_number":142,"context_line":"        \u0027kernel-devel-$(uname -r)\u0027,"},{"line_number":143,"context_line":"        \u0027redhat-lsb-core\u0027,"},{"line_number":144,"context_line":"        \u0027pciutils\u0027,"},{"line_number":145,"context_line":"        \u0027autoconf\u0027,"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba5201f7_f45062d6","line":142,"in_reply_to":"ba5201f7_17232fa8","updated":"2017-01-05 19:29:57.000000000","message":"this is pulling in the kernel headers not the kernel. the headers do not have to match exactly as the headers are just need for building as we will be using the kernel modules from the host kernel not the ones provided by dpdk. \n\nthis does impose a limitation that the kernel provided uio_pci_generic or vfio-pci drivers must be used instead of the out of tree dpdk igb_uio driver however this is already the recommended approach.\n\nif i actually wanted to use any of the kernel module form dpdk project you are correct that it would have caused issues.","commit_id":"56b9de507742987687a7c8463a84c8c7e695f378"},{"author":{"_account_id":24164,"name":"Sayantani Goswami","email":"sayantani.goswami@intel.com","username":"sayantani.goswami"},"change_message_id":"b82f0be38068bf393c95d3966acf757813178215","unresolved":false,"context_lines":[{"line_number":197,"context_line":"RUN  make -j $(nproc) EXTRA_CFLAGS\u003d\u0027-fPIC\u0027 \u0026\u0026 make install"},{"line_number":198,"context_line":"WORKDIR /ovs"},{"line_number":199,"context_line":"RUN ./boot.sh \u0026\u0026 \\"},{"line_number":200,"context_line":"./configure --with-dpdk\u003d\"/dpdk/build\" --prefix\u003d/usr --with-dbdir\u003d/etc/openvswitch --with-rundir\u003d/run/openvswitch \u0026\u0026 \\"},{"line_number":201,"context_line":"make -j $(nproc) CFLAGS\u003d\u0027-O3 -fPIC\u0027 \u0026\u0026 make install"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a71b18c_55ca5150","line":200,"updated":"2016-12-09 01:24:53.000000000","message":"Wrap at 79 characters. The command can be moved to next line.","commit_id":"56b9de507742987687a7c8463a84c8c7e695f378"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"800dacd9bb0d57b0ec046ff6b48872c491576b1b","unresolved":false,"context_lines":[{"line_number":197,"context_line":"RUN  make -j $(nproc) EXTRA_CFLAGS\u003d\u0027-fPIC\u0027 \u0026\u0026 make install"},{"line_number":198,"context_line":"WORKDIR /ovs"},{"line_number":199,"context_line":"RUN ./boot.sh \u0026\u0026 \\"},{"line_number":200,"context_line":"./configure --with-dpdk\u003d\"/dpdk/build\" --prefix\u003d/usr --with-dbdir\u003d/etc/openvswitch --with-rundir\u003d/run/openvswitch \u0026\u0026 \\"},{"line_number":201,"context_line":"make -j $(nproc) CFLAGS\u003d\u0027-O3 -fPIC\u0027 \u0026\u0026 make install"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba5201f7_b167d6b5","line":200,"in_reply_to":"3a71b18c_55ca5150","updated":"2017-01-05 15:27:59.000000000","message":"as far as im aware you are not ment to do that for documentation.\n\ni generally harms the readablity.","commit_id":"56b9de507742987687a7c8463a84c8c7e695f378"},{"author":{"_account_id":24164,"name":"Sayantani Goswami","email":"sayantani.goswami@intel.com","username":"sayantani.goswami"},"change_message_id":"b82f0be38068bf393c95d3966acf757813178215","unresolved":false,"context_lines":[{"line_number":207,"context_line":""},{"line_number":208,"context_line":""},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"- To build the container execute the follow command: \u0027tools/build.py --template-override ~/template-override.j2 dpdk\u0027 "},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"prep servers for ovs-dpdk container"},{"line_number":213,"context_line":"-----------------------------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a71b18c_95f149d0","line":210,"updated":"2016-12-09 01:24:53.000000000","message":"remove white space. Wrap at 79 characters. The command can be moved to next line.","commit_id":"56b9de507742987687a7c8463a84c8c7e695f378"},{"author":{"_account_id":24164,"name":"Sayantani Goswami","email":"sayantani.goswami@intel.com","username":"sayantani.goswami"},"change_message_id":"b82f0be38068bf393c95d3966acf757813178215","unresolved":false,"context_lines":[{"line_number":219,"context_line":"  This can be done at runtime via sysfs or at kernel boot time via the kernel commandline."},{"line_number":220,"context_line":"  To presistently allocate hugepages on the kernel commandline append"},{"line_number":221,"context_line":"  \"default_hugepagesz\u003d2M hugepagesz\u003d2M hugepages\u003d2048\""},{"line_number":222,"context_line":"  On ubuntu this can be done by adding GRUB_CMDLINE_LINUX\u003d\"default_hugepagesz\u003d2M hugepagesz\u003d2M hugepages\u003d2048\""},{"line_number":223,"context_line":"  to /etc/default/grub and regenerating the grub config via  \u0027sudo grub-mkconfig  -o /boot/grub/grub.cfg\u0027"},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"- load kernel dpdk compatible kernel modules this can be done via adding the module to /etc/modules"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a71b18c_f5a35daf","line":222,"updated":"2016-12-09 01:24:53.000000000","message":"wrap at 79 characters","commit_id":"56b9de507742987687a7c8463a84c8c7e695f378"},{"author":{"_account_id":24164,"name":"Sayantani Goswami","email":"sayantani.goswami@intel.com","username":"sayantani.goswami"},"change_message_id":"b82f0be38068bf393c95d3966acf757813178215","unresolved":false,"context_lines":[{"line_number":235,"context_line":""},{"line_number":236,"context_line":"- before deploying ovs-dpdk containers you need to bind the phyical nic to the kernel driver."},{"line_number":237,"context_line":"  a new tool \"ovs-dpdkctl.sh\" has been introduced to preform this configuration."},{"line_number":238,"context_line":"  "},{"line_number":239,"context_line":"  To use this tool you must first generate the configfile."},{"line_number":240,"context_line":"  This can be done by executing ovs-dpdkctl.sh gen_config and setting the"},{"line_number":241,"context_line":"  bridge_mappings and port_mappings vairable on the commanline."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a71b18c_751bcd1c","line":238,"range":{"start_line":238,"start_character":0,"end_line":238,"end_character":2},"updated":"2016-12-09 01:24:53.000000000","message":"remove whitespace","commit_id":"56b9de507742987687a7c8463a84c8c7e695f378"},{"author":{"_account_id":24164,"name":"Sayantani Goswami","email":"sayantani.goswami@intel.com","username":"sayantani.goswami"},"change_message_id":"b82f0be38068bf393c95d3966acf757813178215","unresolved":false,"context_lines":[{"line_number":239,"context_line":"  To use this tool you must first generate the configfile."},{"line_number":240,"context_line":"  This can be done by executing ovs-dpdkctl.sh gen_config and setting the"},{"line_number":241,"context_line":"  bridge_mappings and port_mappings vairable on the commanline."},{"line_number":242,"context_line":"  e.g. sudo bridge_mappings\u003dphysnet1:br-ex port_mappings\u003dens5:br-ex tools/ovs-dpdkctl.sh gen_config \u0026\u0026 tools/ovs-dpdkctl.sh show_config"},{"line_number":243,"context_line":"  "},{"line_number":244,"context_line":"  in this example i am assuming your neutron_external_interface is \"ens5\"."},{"line_number":245,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a71b18c_3585d506","line":242,"updated":"2016-12-09 01:24:53.000000000","message":"wrap at 79 characters. Split the command into multiple lines using \"\\\"","commit_id":"56b9de507742987687a7c8463a84c8c7e695f378"},{"author":{"_account_id":24164,"name":"Sayantani Goswami","email":"sayantani.goswami@intel.com","username":"sayantani.goswami"},"change_message_id":"b82f0be38068bf393c95d3966acf757813178215","unresolved":false,"context_lines":[{"line_number":240,"context_line":"  This can be done by executing ovs-dpdkctl.sh gen_config and setting the"},{"line_number":241,"context_line":"  bridge_mappings and port_mappings vairable on the commanline."},{"line_number":242,"context_line":"  e.g. sudo bridge_mappings\u003dphysnet1:br-ex port_mappings\u003dens5:br-ex tools/ovs-dpdkctl.sh gen_config \u0026\u0026 tools/ovs-dpdkctl.sh show_config"},{"line_number":243,"context_line":"  "},{"line_number":244,"context_line":"  in this example i am assuming your neutron_external_interface is \"ens5\"."},{"line_number":245,"context_line":""},{"line_number":246,"context_line":"  this will result in the creation of a config similar to this"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a71b18c_b51565e6","line":243,"updated":"2016-12-09 01:24:53.000000000","message":"remove whitespace","commit_id":"56b9de507742987687a7c8463a84c8c7e695f378"}]}
