28 lines
1.1 KiB
YAML
28 lines
1.1 KiB
YAML
# 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
|
|
# MTU is optional, used for jumbo frames
|
|
mtu: 8192
|
|
# rx_queue is optional, used for multi-queue option. It configures the
|
|
# maximum number of queues for a physical interface. If not defined,
|
|
# the physical interface will have single queue. The number of queues
|
|
# should be less than the PMD cores as each queue will have one PMD
|
|
# thread (CPU) associated with it.
|
|
rx_queue: 4
|
|
members:
|
|
- type: interface
|
|
name: nic2
|