diff options
author | Ciara Loftus <ciara.loftus@intel.com> | 2017-01-05 10:42:09 +0000 |
---|---|---|
committer | Daniele Di Proietto <diproiettod@vmware.com> | 2017-01-05 20:10:13 -0800 |
commit | 55e075e65ef9ecbd70e5e0fada2704c3d73724d8 (patch) | |
tree | cee33f674f733cf432ab80856d443d3809871c52 /vswitchd | |
parent | b8374d0d04260793db35b617eb15bba958d50003 (diff) | |
download | openvswitch-55e075e65ef9ecbd70e5e0fada2704c3d73724d8.tar.gz |
netdev-dpdk: Arbitrary 'dpdk' port naming
'dpdk' ports no longer have naming restrictions. Now, instead of
specifying the dpdk port ID as part of the name, the PCI address of the
device must be specified via the 'dpdk-devargs' option. eg.
ovs-vsctl add-port br0 my-port
ovs-vsctl set Interface my-port type=dpdk
options:dpdk-devargs=0000:06:00.3
The user must no longer hotplug attach DPDK ports by issuing the
specific ovs-appctl netdev-dpdk/attach command. The hotplug is now
automatically invoked when a valid PCI address is set in the
dpdk-devargs. The format for ovs-appctl netdev-dpdk/detach command
has changed in that the user now must specify the relevant PCI address
as input instead of the port name.
Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Co-authored-by: Kevin Traynor <ktraynor@redhat.com>
Acked-by: Stephen Finucane <stephen@that.guru> # docs only
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Diffstat (limited to 'vswitchd')
-rw-r--r-- | vswitchd/vswitch.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml index e73f1849e..c34c295a2 100644 --- a/vswitchd/vswitch.xml +++ b/vswitchd/vswitch.xml @@ -2303,6 +2303,14 @@ </p> </column> + <column name="options" key="dpdk-devargs" + type='{"type": "string"}'> + <p> + Specifies the PCI address of a physical dpdk device. + Only supported by 'dpdk' devices. + </p> + </column> + <column name="other_config" key="pmd-rxq-affinity"> <p>Specifies mapping of RX queues of this interface to CPU cores.</p> <p>Value should be set in the following form:</p> |