)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":3217,"name":"Ian Wells","username":"ijw-ubuntu"},"change_message_id":"767020c0417aca442cbdbc7b5b2faa9d696bfbb8","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2014-07-23 18:31:54 +0100"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"specification for adding DPDKVHOST support in ML2"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: Id65569302e00ffcb8931bd062f825077bd43f170"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"baada198_1e2dd08f","line":8,"updated":"2014-07-23 18:46:36.000000000","message":"BP ref needed","commit_id":"06ec63d95f350759922c030b6497f1b2aed30ce3"}],"specs/juno/ml2-use-dpdkvhost.rst":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"acf4419a1be9435fc5b8f621b408fae992f9fe57","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Alternatives"},{"line_number":52,"context_line":"------------"},{"line_number":53,"context_line":"None"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Data model impact"},{"line_number":56,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_9e8c52d9","line":53,"updated":"2014-07-18 14:04:46.000000000","message":"- have a configuration for the interface driver\n\n- make the interface driver auto-detect support","commit_id":"6da3a4187dbdd1b73d4345de83b90cc6ebc50cdd"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"05735f51ff1b7774f8f4ac110487c4e9424eeaf4","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"Alternatives"},{"line_number":52,"context_line":"------------"},{"line_number":53,"context_line":"None"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Data model impact"},{"line_number":56,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_20b16001","line":53,"in_reply_to":"baada198_9e8c52d9","updated":"2014-07-19 21:59:50.000000000","message":"the proposal is to have the mechanism driver auto detect support.\n\ni can add adding a configuration option as an alternative. \n\nboth of these  alternatives have been rejected in nova so any auto detect mechanism like the one above or configuration option would have to be added to neutron.","commit_id":"6da3a4187dbdd1b73d4345de83b90cc6ebc50cdd"},{"author":{"_account_id":12051,"name":"loy","email":"loywolfe@gmail.com"},"change_message_id":"954602273b571ca314f82361ddb0325114c25778","unresolved":false,"context_lines":[{"line_number":51,"context_line":"Alternatives"},{"line_number":52,"context_line":"------------"},{"line_number":53,"context_line":"None"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Data model impact"},{"line_number":56,"context_line":"-----------------"},{"line_number":57,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_56832555","line":54,"updated":"2014-07-22 01:03:05.000000000","message":"As some feedback from mailing list, a separate vnic type and vif type is preferred here, but not a bind:profile attribute in ovs vif type. \n\nDPDKovs is a very good idea ,but at least for now, it\u0027s in very early stage compared to kernel ovs either in features or in stability. So if we want it to be more quickly and smoothly accepted, a hybrid deployment combining dpdkovs and ovs is necessary: only try to migrate IO performance intensive apps at the start, and when it matured, move more apps to dpdkovs step by step.","commit_id":"6da3a4187dbdd1b73d4345de83b90cc6ebc50cdd"},{"author":{"_account_id":3217,"name":"Ian Wells","username":"ijw-ubuntu"},"change_message_id":"767020c0417aca442cbdbc7b5b2faa9d696bfbb8","unresolved":false,"context_lines":[{"line_number":6,"context_line":"\r"},{"line_number":7,"context_line":"Launchpad blueprint:\r"},{"line_number":8,"context_line":"\r"},{"line_number":9,"context_line":"https://blueprints.launchpad.net/neutron/+spec/ml2-use-dpdkvhost\r"},{"line_number":10,"context_line":"\r"},{"line_number":11,"context_line":"This blueprint adds support for Intel(R) DPDK Userspace vHost port binding to \r"},{"line_number":12,"context_line":"the Open vSwitch (OVS) and Open Daylight (ODL) ML2 Mechanism Drivers.\r"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_be3784e3","line":9,"updated":"2014-07-23 18:46:36.000000000","message":"Hello, Windows user.  Go clear up your CRs and trailing spaces so that I can actually diff the spec.","commit_id":"06ec63d95f350759922c030b6497f1b2aed30ce3"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"ef7649fbb329d898dbc7c31d0582b9cf1d887641","unresolved":false,"context_lines":[{"line_number":6,"context_line":"\r"},{"line_number":7,"context_line":"Launchpad blueprint:\r"},{"line_number":8,"context_line":"\r"},{"line_number":9,"context_line":"https://blueprints.launchpad.net/neutron/+spec/ml2-use-dpdkvhost\r"},{"line_number":10,"context_line":"\r"},{"line_number":11,"context_line":"This blueprint adds support for Intel(R) DPDK Userspace vHost port binding to \r"},{"line_number":12,"context_line":"the Open vSwitch (OVS) and Open Daylight (ODL) ML2 Mechanism Drivers.\r"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_343d42de","line":9,"in_reply_to":"baada198_be3784e3","updated":"2014-07-24 08:46:24.000000000","message":"hi sorry i usually use nano in cygwin to edit the rst fies but was trying a new editor. ill reupload shortly","commit_id":"06ec63d95f350759922c030b6497f1b2aed30ce3"},{"author":{"_account_id":12051,"name":"loy","email":"loywolfe@gmail.com"},"change_message_id":"85c026e2e34f0ccf1486506c7f073e4ca9a5025a","unresolved":false,"context_lines":[{"line_number":24,"context_line":"At present Neutron cannot report to Nova if a vSwitch requires the DPDKVHOST \r"},{"line_number":25,"context_line":"backend. To support DPDKVHOST in Nova and Neutron enhancements to \r"},{"line_number":26,"context_line":"mech_openvswitch and mechanism_odl are required.\r"},{"line_number":27,"context_line":"\r"},{"line_number":28,"context_line":"Proposed change\r"},{"line_number":29,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\r"},{"line_number":30,"context_line":"mech_openvswitch and mechanism_odl will be extended to dynamically choose a \r"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_3cf532ed","line":27,"updated":"2014-07-24 02:12:15.000000000","message":"If user want to connect vnic to none default ovs and linux bridge, they should indicate it explicitly.\n\nGiven the example of macvtap/sriov: (https://github.com/openstack/nova-specs/blob/master/specs/juno/pci-passthrough-sriov.rst)\n\n1) User must create port explicitly with bind:vnic_type;\n\n2) if bind:vnic_type is normal, or user boot vm using net_id implicitly, the port is normal(ovs or linux bridge), else pci passthrough is applied\n\n3) Even macvtap has the same vhost-net interface as normal tap, it is treated as another \"vnic\" because of different bridge backend\n\nSo, besides vif_type, we also need another kind of vnic_type: vhostcuse, just like macvtap/direct. It can\u0027t be \"normal\" type.","commit_id":"06ec63d95f350759922c030b6497f1b2aed30ce3"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"ef7649fbb329d898dbc7c31d0582b9cf1d887641","unresolved":false,"context_lines":[{"line_number":24,"context_line":"At present Neutron cannot report to Nova if a vSwitch requires the DPDKVHOST \r"},{"line_number":25,"context_line":"backend. To support DPDKVHOST in Nova and Neutron enhancements to \r"},{"line_number":26,"context_line":"mech_openvswitch and mechanism_odl are required.\r"},{"line_number":27,"context_line":"\r"},{"line_number":28,"context_line":"Proposed change\r"},{"line_number":29,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\r"},{"line_number":30,"context_line":"mech_openvswitch and mechanism_odl will be extended to dynamically choose a \r"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_77709cda","line":27,"in_reply_to":"baada198_3cf532ed","updated":"2014-07-24 08:46:24.000000000","message":"im not sure if this fits with the design for dpdkvhost as it is designed to be a drop in replacement for kernel vhost. it was intended to be transparent to the user without the need to select it explicidly. as by default we replace  /dev/vhost-net there is no differece between dpdk vhost and kernel vhost to libvirt. dpdkvhost also uses the same vhost messaging protcal as kernel vhost as such qemu precives them as the same thing without any changes. the diffrence is in the transport. the use of dpdkvhost is selected on the vswitch by setting the port type to dpdkvhost. without haveing to set this port type no modification to openstack would be required to use dpdkvhost.\n\ni will investigate futher but i think adding a vnic type will complicate issues with  the dection mechanisium. for  instnce the intel (R) dpdk vswitch nolonger\nsupport kernel vhost. if bind:vnic_type is normal it would have to be changed to \nvnic_type: vhostcuse. if we support replaceing /dev/vhost-net and uesing a differendt device both cases would have to be checked in the detection mechanisium too and the vnic type would have to be changed. also for the side by side case the libvirt xml would have to be altered and a wrapper file is needed to change the file discripter passed to qeum again complicting the setup.\n\nregards\nsean","commit_id":"06ec63d95f350759922c030b6497f1b2aed30ce3"},{"author":{"_account_id":12051,"name":"loy","email":"loywolfe@gmail.com"},"change_message_id":"d5667f159548fd7c94d6f2af913a4c055920eff5","unresolved":false,"context_lines":[{"line_number":15,"context_line":"standard QEMU vHost interface for QEMU versions \u003c2.0."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"The Intel(R) DPDK Userspace implementation of the vHost backend uses the CUSE"},{"line_number":18,"context_line":"kernel module to replace the standard /dev/vhost-net character device with a"},{"line_number":19,"context_line":"userspace character device to intercept ioctls from QEMU. This allows the"},{"line_number":20,"context_line":"standard vHost interface to be used with userspace only vSwitches."},{"line_number":21,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_6458c531","line":18,"updated":"2014-07-25 02:02:41.000000000","message":"Some comments on \"replacement\"(also reply with same problem in nova vif spec):\n\nEven for the standard ovs git tree, if it is built with the userspace datapath option (whether with dpdk_netdev or not), then it shouldn\u0027t be treated as standard \"OVS backend\" in the Openstack Neutron context: it is another type of backend but has similar interface with ovs backend. There is no insurance that all kernel datapath features will be ported into userspace datapath, for example conntrack will be difficult to porting in the coming ovs release.\n\nWithout co-existence, there will be trouble:\n\n1) userspace ovs don\u0027t catch the kernel ovs in quality yet. Users are very hesitate to switch traffic onto it if there is no necessity in performance. In fact, userspace performance advantage depends on total kernel bypass, from dpdk nic driver to uservhost: if packet has to go back to kernel sometime, etc. nic driver is not dpdk based, or has a round trip to linux stack in DVR implementation, then any performance gain will be lost.\n\n2) It is a common use case to put all traffic onto ovs today: bind all pnic to ovs in init script, and create all system interface dynamically as internal ports. As far as I know, none one dare to switch system traffic (none-tenant network) onto userspace ovs now.\n\n3) Without co-existence, we can\u0027t smoothly first migrate some IO intensive tenant traffic onto userspace with a trial. We have to add new hardware, or re-config existing physical node, and also, hoping that other system traffic on these nodes are not carried by ovs.","commit_id":"e9355cd4b2b3fe55c928d826cfc8a856a9c000e9"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"95b56e4e40ce0acd6bc7e60e94c5a4dd88bd25ee","unresolved":false,"context_lines":[{"line_number":15,"context_line":"standard QEMU vHost interface for QEMU versions \u003c2.0."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"The Intel(R) DPDK Userspace implementation of the vHost backend uses the CUSE"},{"line_number":18,"context_line":"kernel module to replace the standard /dev/vhost-net character device with a"},{"line_number":19,"context_line":"userspace character device to intercept ioctls from QEMU. This allows the"},{"line_number":20,"context_line":"standard vHost interface to be used with userspace only vSwitches."},{"line_number":21,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_d52cd995","line":18,"in_reply_to":"baada198_6458c531","updated":"2014-07-25 06:18:33.000000000","message":"for point 2 and 3 are you suggesting that the api/management network would be added to the ovs swtich and then accesed via the the local port on the ovs switch.\n\nit is interesting to hear this usecase as i have never encounter it before.\nit was my understanding that it was best practice to have seperate networks for external,api,management and tenant data as per \nhttp://docs.openstack.org/admin-guide-cloud/content/network-connectivity.html\n\nin our dev cluseter we use 3 phyical interface 1 managment network, 1 api network and 1 tenant data network(this is the only on added to the vswitch) to more closely mirror the standard deployment topology in cloud admin guide.\n\nhow are the security concerns with haveing the tenant netwok and managment netwok on the same vswitch addressed? seting a vlan tag on internal port?\n\nas for your first comment it was my understanding that vif_ovs was intended to work with all datapath using standard vhost. if not i think its name is deceptive and should be changed to vif_ovs_kernel. even if the name was changed however i dont think it is safe to assume that any feature not in the userspace vswitch is available on the ovs switch with the kernel datapath based as openvswitch make no garunteed that the kernel module supports it. even if the openvswitch version installed supported conntrack if the ovs kenel module that shipped with your kernel was used instead of the updated one with conntrrack support the feature would not work. but i agree conntrack and other features like vxlan and gre would be nice to have in all datapaths but will be more complicated to add to the userspace datapath then to the kernel datapath.","commit_id":"e9355cd4b2b3fe55c928d826cfc8a856a9c000e9"},{"author":{"_account_id":12051,"name":"loy","email":"loywolfe@gmail.com"},"change_message_id":"3142d7024f227da94fc1e0b228cde9f63238021f","unresolved":false,"context_lines":[{"line_number":15,"context_line":"standard QEMU vHost interface for QEMU versions \u003c2.0."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"The Intel(R) DPDK Userspace implementation of the vHost backend uses the CUSE"},{"line_number":18,"context_line":"kernel module to replace the standard /dev/vhost-net character device with a"},{"line_number":19,"context_line":"userspace character device to intercept ioctls from QEMU. This allows the"},{"line_number":20,"context_line":"standard vHost interface to be used with userspace only vSwitches."},{"line_number":21,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_50e8d7b2","line":18,"in_reply_to":"baada198_d52cd995","updated":"2014-07-25 07:10:39.000000000","message":"\u003e it is interesting to hear this usecase as i have never encounter it before. it was my understanding that it was best practice to have seperate networks for...\n\nSurely we\u0027d better have separate pNICs for different types of traffic, but it has nothing to do with how we put each of them: whether on OVS or not. OVS has more traffic control capability than native linux interface, and below is a very simple introduction: http://blog.scottlowe.org/2012/10/30/running-host-management-on-open-vswitch/\n\nIn fact my suggestion is: each eth dev could be bound to different/same switching backend by customer\u0027s choice: OVS, DPDKOVS, snabb, SRIOV, macvtap...Any drop-in replacement of the baseline should be prohibited, what will happen if other vendors have their fork version of xxxUSEROVS and they also ask for drop-in replacement to OVS? then we have to update OVS MD again and again each time a new vendor specific fork appears.\n\nPlease just leave OVS MD as it is, and if any vendor want to fork their own version of OVS, just create their own XXXUSER-OVS-MD without bother existing OVS MD.","commit_id":"e9355cd4b2b3fe55c928d826cfc8a856a9c000e9"}]}
