aboutsummaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/ovs_dpdk.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'etc/os-net-config/samples/ovs_dpdk.yaml')
-rw-r--r--etc/os-net-config/samples/ovs_dpdk.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/ovs_dpdk.yaml b/etc/os-net-config/samples/ovs_dpdk.yaml
new file mode 100644
index 0000000..18fee31
--- /dev/null
+++ b/etc/os-net-config/samples/ovs_dpdk.yaml
@@ -0,0 +1,21 @@
+# ovs_user_bridge type refers to the OVSUserBridge OVS ifup type, which will
+# have the datapath type set as 'netdev' for DPDK processing.
+# ovs_dpdk_port type refers to the OVSDPDKPort OVS ifup type, which will
+# add the port to the bridge with the interface type as 'dpdk'.
+
+network_config:
+ -
+ type: ovs_user_bridge
+ name: br-link
+ members:
+ -
+ type: ovs_dpdk_port
+ # dpdk0 name is generated by dpdk drivers after dpdk_nic_bind
+ name: dpdk0
+ # driver is optional argument, default driver is 'vfio-pci'
+ driver: igb_uio
+ members:
+ - type: interface
+ # nic style number does not work as of now. real interface name has
+ # to be provided here.
+ name: eth1