aboutsummaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/ovs_dpdk.yaml
blob: 81aa212bee9ac599acf139234b9924f675c7f9d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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