[ovs-dev] [PATCH RFC v4 0/2] Add DPDK 16.11 & vHost PMD Support

Ciara Loftus ciara.loftus at intel.com
Fri Oct 21 09:58:18 UTC 2016


Previous: http://openvswitch.org/pipermail/dev/2016-October/080858.html

This RFC patchset adds support for DPDK 16.11 (rc1) and the vHost PMD.

Thanks to a lack of API changes that affect OVS, the DPDK 16.11 support
patch requires just one minimal code change and is mostly documentation
updates.

The vHost PMD patch removes direct calls to the DPDK vHost User library,
and instead replaces them with calls to the ether PMD API, like dpdk and
dpdkr ports.

Concerns were raised during the last version of this patch here:
http://openvswitch.org/pipermail/dev/2016-August/076887.html
These have been addressed with the following DPDK patch that is
available in 16.11:
http://dpdk.org/ml/archives/dev/2016-September/046631.html

Early feedback on this patchset is important in case we need to submit
changes to DPDK (eg. see above) before the release is made in November.

v4:
* Use id-pool implementation for allocating vHost PMD IDs

v3:
* Added DPDK_DEV_VHOST_CLIENT netdev_dpdk "type"
* Reintroduced socket-id logic to correctly set client type sid
* Removed magic number & used var instead
* Remove race condition in netdev_dpdk_init by reordering code.
* Detach vHost PMD if netdev_dpdk_init fails
* Introduce "out" in client_reconfigure for when txq alloc fails
* Remove set_tx_multiq fn for vHost ports

v2:
* Disable indirect desc for vHost & update commit message

Ciara Loftus (2):
  netdev-dpdk: Add support for DPDK 16.11
  netdev-dpdk: Add vHost User PMD

 .travis/linux-build.sh   |   2 +-
 INSTALL.DPDK-ADVANCED.md |   6 +-
 INSTALL.DPDK.rst         |  18 +-
 NEWS                     |   3 +
 lib/dpdk.c               |  10 +
 lib/dpdk.h               |   1 +
 lib/netdev-dpdk.c        | 970 ++++++++++++++++++-----------------------------
 7 files changed, 387 insertions(+), 623 deletions(-)

-- 
2.4.3




More information about the dev mailing list