ovirt.dpdk-setup

oVirt DPDK Setup

The oVirt.dpdk-setup role helps you set up Open vSwitch (OVS) with DPDK support.

Requirements:

  • You need Ansible version 2.4 or higher.
  • Your network interface cards (NICs) must support DPDK.
  • Make sure that VT-d (Intel) or AMD-Vi (AMD) is enabled in your computer’s BIOS.

Role Variables

Name Default Value Description
pci_drivers Mapping of PCI addresses to their drivers.
configure_kernel true Indicates if the kernel should be set up for DPDK.
bind_drivers true Indicates if drivers should be linked to the devices.
set_ovs true Indicates if OVS should be set up and started.
pmd_threads_count 1 Number of PMD threads for each DPDK-compatible NIC.
nr_2mb_hugepages 1024 Number of 2MB hugepages to use.
nr_1gb_hugepages 4 Number of 1GB hugepages to use.
use_1gb_hugepages true Indicates if 1GB hugepages should be used, if supported.

Dependencies

None.

Example Playbook

---
- name: oVirt DPDK setup
  hosts: some_host
  gather_facts: false

  vars:
    pci_drivers:
      "0000:00:04.0": "vfio-pci"
      "0000:00:04.1": "igb"
      "0000:00:04.2": ""
  
  roles:
    - oVirt.dpdk-setup

License

Apache License 2.0

Informazioni sul progetto

Setup DPDK compatible NIC's to use DPDK via Open vSwitch.

Installa
ansible-galaxy install ovirt.dpdk-setup
Licenza
apache-2.0
Download
195
Proprietario
Open Virtual Datacenter