dpdk_shell - DPDK Interactive Remote Shell
Base interactive shell for DPDK applications.
Provides a base class to create interactive shells based on DPDK.
- compute_eal_params(params: framework.params.eal.EalParams | None = None) EalParams
Compute EAL parameters based on the node’s specifications.
- Parameters:
params (framework.params.eal.EalParams | None) – If
None
, a new object is created and returned. Otherwise params.lcore_list is modified according to lcore_filter_specifier. A DPDK file prefix is also added. If params.ports isNone
, then sut_node.ports is assigned to it.
- class DPDKShell
Bases:
SingleActiveInteractiveShell
,ABC
The base class for managing DPDK-based interactive shells.
This class shouldn’t be instantiated directly, but instead be extended. It automatically injects computed EAL parameters based on the node in the supplied app parameters.
- __init__(name: str | None = None, privileged: bool = True, app_params: EalParams = EalParams(lcore_list=None, memory_channels=None, prefix='dpdk', no_pci=None, vdevs=None, allowed_ports=None, blocked_ports=None, other_eal_param=None, _separator=True)) None
Extends
__init__()
.