eal - EAL Parameters Modelling

Module representing the DPDK EAL-related parameters.

class EalParams

Bases: Params

The environment abstraction layer parameters.

lcore_list

The list of logical cores to use.

Type:

framework.testbed_model.cpu.LogicalCoreList | None

memory_channels

The number of memory channels to use.

Type:

int | None

prefix

Set the file prefix string with which to start DPDK, e.g.: prefix="vf".

Type:

str

no_pci

Switch to disable PCI bus, e.g.: no_pci=True.

Type:

Literal[True, None]

vdevs

Virtual devices, e.g.:

vdevs=[
    VirtualDevice('net_ring0'),
    VirtualDevice('net_ring1')
]
Type:

list[framework.testbed_model.virtual_device.VirtualDevice] | None

ports

The list of ports to allow.

other_eal_param

user defined DPDK EAL parameters, e.g.:

``other_eal_param='--single-file-segments'``
Type:

framework.params.Params | None

__init__(*, lcore_list: framework.testbed_model.cpu.LogicalCoreList | None = None, memory_channels: int | None = None, prefix: str = 'dpdk', no_pci: Literal[True, None] = None, vdevs: list[framework.testbed_model.virtual_device.VirtualDevice] | None = None, allowed_ports: list[framework.testbed_model.port.Port] | None = None, blocked_ports: list[framework.testbed_model.port.Port] | None = None, other_eal_param: framework.params.Params | None = None) None