1
0
mirror of https://github.com/oVirt/ovirt-ansible-dpdk-setup.git synced 2026-02-05 06:44:50 +01:00
michalskrivanek 63f60e1557 Merge pull request #3 from JosiahKerley/master
commas in core_list
2022-08-22 09:24:56 +02:00
2018-07-19 11:44:20 +03:00
2018-07-17 15:49:02 +03:00
2018-07-17 15:49:02 +03:00
2018-07-19 11:44:20 +03:00
2018-03-28 12:33:38 +03:00
2018-02-20 14:28:27 +02:00
2018-02-20 13:31:21 +02:00
2018-01-23 14:35:32 +02:00
2018-07-19 20:49:00 +03:00
2018-02-20 14:28:27 +02:00

oVirt DPDK Setup

The oVirt.dpdk-setup role enables you to set up Open vSwitch with DPDK support.

Requirements:

  • Ansible version 2.4 or higher
  • NICS must support DPDK
  • Hardware support: Make sure VT-d / AMD-Vi is enabled in BIOS

Role Variables

Name Default value
pci_drivers PCI address to driver mapping.
configure_kernel true Determines whether the kernel should be configured for DPDK usage.
bind_drivers true Determines whether drivers should be bound to the devices.
set_ovs true Determines whether OVS should be configured and started.
pmd_threads_count 1 Sets the amount of PMD threads per each DPDK compatible NIC
nr_2mb_hugepages 1024 Sets the amount of 2MB hugepages to use, if 2MB hugepages are used
nr_1gb_hugepages 4 Sets the amount of 1GB hugepages to use, if 1GB hugepages are used
use_1gb_hugepages true Determines whether 1GB hugepages should be used, if supported

Dependencies

No.

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

Description
Ansible role to deploy Open vSwitch with DPDK support
Readme Pixar 200 KiB
Languages
Python 90.6%
Shell 9.4%