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

GitHub noreply at github.com
Thu Feb 1 20:54:51 UTC 2018


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: a0b62aacb5021e5a16e6a916b4add61e1b68ec01
      https://github.com/openvswitch/ovs/commit/a0b62aacb5021e5a16e6a916b4add61e1b68ec01
  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: 5a39582caa028bd8ea50dd95548aed5a04c5ea94
      https://github.com/openvswitch/ovs/commit/5a39582caa028bd8ea50dd95548aed5a04c5ea94
  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_2_9' of https://github.com/istokes/ovs into HEAD


Compare: https://github.com/openvswitch/ovs/compare/68f515ca3e95...5a39582caa02


More information about the git mailing list