[ovs-dev] [PATCH v8] netdev-dpdk: add dpdk vhost-user ports

Pravin Shelar pshelar at nicira.com
Mon Jun 15 03:50:26 UTC 2015


On Thu, Jun 4, 2015 at 6:51 AM, Ciara Loftus <ciara.loftus at intel.com> wrote:
> This patch adds support for a new port type to the userspace
> datapath called dpdkvhostuser.
>
> A new dpdkvhostuser port will create a unix domain socket which
> when provided to QEMU is used to facilitate communication between
> the virtio-net device on the VM and the OVS port on the host.
>
> vhost-cuse ('dpdkvhost') ports are still available as 'dpdkvhostcuse'
> ports and will be enabled if vhost-cuse support is detected in the
> DPDK build specified during compilation of the switch. Otherwise,
> vhost-user ports are enabled.
>
> Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
> ---
> v4:
> - Included helper function for the new_device callbacks to minimise
> code duplication.
> - Fixed indentation & line-wrap.
> - Simplified and corrected the processing of vhost ovs-vswitchd flags.
>
> v5:
> - Removed unnecessary strdup()
> - Fixed spacing
>
> v6:
> - Rebased to master
>
> v7:
> - Rebased to master
>
> v8:
> - Renamed dpdkvhost ports to dpdkvhostcuse for clarity.
> - Created separate sections for cuse and user in INSTALL.DPDK.md
> - Removed DPDK_DEV_VHOST_USER enum
> - Re-introduced common new_device callback function
> - Introduced check for the existence of specified vhost_sock_dir
> - Other minor changes
>

Thanks for the patch and working on suggestion. I pushed the patch to master.



More information about the dev mailing list