[ovs-dev] [RFC PATCH v2 0/1] netdev-dpdk: Arbitrary 'dpdk' port naming

Ciara Loftus ciara.loftus at intel.com
Fri Jul 1 09:29:28 UTC 2016


This time with patch numbering :)

This RFC patch addresses the restrictions placed on dpdk port names.

Currently dpdk ports must be named dpdkX where X is the dpdk port-id.
This patch removes this restriction and introduces the requirement to
specify the pci address of the device in the other_config db. eg.

ovs-vsctl add-port br0 my-port -- set Interface my-port
type=dpdk options:dpdk-pci=0000:06:00.0

This patch is a work in progress and minimal testing has been performed,
although a basic setup switching between two dpdk ports has been
verified to work.

This version of the patch has been implemented on top of the hotplug
support patch: http://openvswitch.org/pipermail/dev/2016-May/071786.html

I'd welcome feedback on both the idea and the approach.

v2:
- Applied changes on top of hotplug patch and made the combination
  compatible.

 INSTALL.DPDK.md   |  12 ++---
 NEWS              |   2 +
 lib/netdev-dpdk.c | 142 +++++++++++++++++++++++++++++++++++++++++++++---------
 3 files changed, 127 insertions(+), 29 deletions(-)

-- 
2.4.3




More information about the dev mailing list