[ovs-git] [openvswitch/ovs] 10087c: netdev-dpdk: Add support for vHost dequeue zero co...

GitHub noreply at github.com
Thu Feb 1 20:53:01 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 10087cba9deec95aaea080c49f2cbe648ebe92c8
      https://github.com/openvswitch/ovs/commit/10087cba9deec95aaea080c49f2cbe648ebe92c8
  Author: Ciara Loftus <ciara.loftus at intel.com>
  Date:   2018-01-31 (Wed, 31 Jan 2018)

  Changed paths:
    M Documentation/intro/install/dpdk.rst
    M Documentation/topics/dpdk/vhost-user.rst
    M NEWS
    M lib/netdev-dpdk.c
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  netdev-dpdk: Add support for vHost dequeue zero copy (experimental)

Zero copy is disabled by default. To enable it, set the 'dq-zero-copy'
option to 'true' when configuring the Interface:

ovs-vsctl set Interface dpdkvhostuserclient0
options:vhost-server-path=/tmp/dpdkvhostuserclient0
options:dq-zero-copy=true

When packets from a vHost device with zero copy enabled are destined for
a single 'dpdk' port, the number of tx descriptors on that 'dpdk' port
must be set to a smaller value. 128 is recommended. This can be achieved
like so:

ovs-vsctl set Interface dpdkport options:n_txq_desc=128

Note: The sum of the tx descriptors of all 'dpdk' ports the VM will send
to should not exceed 128. Due to this requirement, the feature is
considered 'experimental'.

Testing of the patch showed a ~8% improvement when switching 512B
packets between vHost devices on different VMs on the same host when
zero copy was enabled on the transmitting device.

Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
Acked-by: Ilya Maximets <i.maximets at samsung.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: 96f2c290c1cd4aa18191d6adb93cfce3e56b18a7
      https://github.com/openvswitch/ovs/commit/96f2c290c1cd4aa18191d6adb93cfce3e56b18a7
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2018-02-01 (Thu, 01 Feb 2018)

  Changed paths:
    M Documentation/intro/install/dpdk.rst
    M Documentation/topics/dpdk/vhost-user.rst
    M NEWS
    M lib/netdev-dpdk.c
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  Merge branch 'dpdk_merge' of https://github.com/istokes/ovs into HEAD


Compare: https://github.com/openvswitch/ovs/compare/0506f184c53e...96f2c290c1cd


More information about the git mailing list