[ovs-dev] [PATCH v3 0/5] Remove vHost Cuse and Add vHost User PMD

Ciara Loftus ciara.loftus at intel.com
Thu Jul 28 16:21:10 UTC 2016


Previous:
http://openvswitch.org/pipermail/dev/2016-July/076245.html

The patchset combines two previously independent sets:
1. netdev-dpdk: Remove dpdkvhostcuse ports (v1)
http://openvswitch.org/pipermail/dev/2016-July/074696.html
2. vHost PMD (v3)
http://openvswitch.org/pipermail/dev/2016-May/070852.html

The set first removes dpdkvhostcuse ports. The vHost Cuse library is due
to be deprecated in DPDK v16.11:
http://dpdk.org/ml/archives/dev/2016-July/044080.html
Then the vHost PMD is added which results in a lot of shared code
between the three dpdk port types 'dpdk' 'dpdkr' and 'dpdkvhostuser' as
they are now all controlled by the same DPDK API - librte_ether.

This patchset removes extended statistics support for dpdkvhostuser
ports which was added in the following commit:
d6e3feb Add support for extended netdev statistics based on RFC 2819
It is expected that a future release of DPDK will support extended
statistics for the vHost PMD so we can expect support for this to be
re-added in OVS at a later date.

v3:
- rebase to master
- remove numa #include
- 5th patch: numa dependency optional rather than required

v2:
- set NETDEV_DPDK_CLASS init function to NULL
- remove DEVARGS_MAX #define
- use xasprintf instead of snprintf for eth_dev_attach
- change callback functions to static
- remove void cast when registering callbacks
- remove unnecessary spinlock in send
- mutex nesting consistent with rest of code
- use MIN(OVS_VHOST_MAX_QUEUE_NUM, RTE_MAX_QUEUES_PER_PORT) instead of
OVS_VHOST_MAX_QUEUE_NUM
- style fixes

  netdev-dpdk: Remove dpdkvhostcuse ports
  netdev-dpdk: Consistent naming for vhost functions
  netdev-dpdk: Add vHost User PMD
  netdev-dpdk: Add vhost-user 'get_features' & 'get_status' functions
  netdev-dpdk: Make libnuma dependencies optional

 .travis.yml                     |   1 -
 INSTALL.DPDK-ADVANCED.md        | 243 +---------
 INSTALL.DPDK.md                 |  12 +-
 NEWS                            |   3 +
 acinclude.m4                    |  10 +-
 lib/netdev-dpdk.c               | 984 ++++++++++++----------------------------
 rhel/README.RHEL                |   2 -
 rhel/openvswitch-fedora.spec.in |   2 -
 utilities/automake.mk           |   1 -
 utilities/qemu-wrap.py          | 389 ----------------
 vswitchd/vswitch.xml            |  12 -
 11 files changed, 321 insertions(+), 1338 deletions(-)
 delete mode 100755 utilities/qemu-wrap.py

-- 
2.4.3




More information about the dev mailing list