summaryrefslogtreecommitdiff
path: root/dts/framework/remote_session/testpmd_shell.py
diff options
context:
space:
mode:
authorLuca Vizzarro <[email protected]>2024-11-07 13:56:53 +0000
committerPaul Szczepanek <[email protected]>2024-11-15 15:00:14 +0100
commit0264e4087f9504a2847258c99c4dec0e9c42922e (patch)
treef089cfbf9c9075e210b5f273d423515bd388bbdf /dts/framework/remote_session/testpmd_shell.py
parent1f01c07d3dab801c70b034c5b22da6212b3466be (diff)
dts: add blocked ports to EAL parameters
Make the "ports" attribute of EalParams as it actually is to "allowed_ports", and add "blocked_ports". Signed-off-by: Luca Vizzarro <[email protected]> Reviewed-by: Paul Szczepanek <[email protected]> Reviewed-by: Nicholas Pratte <[email protected]>
Diffstat (limited to 'dts/framework/remote_session/testpmd_shell.py')
-rw-r--r--dts/framework/remote_session/testpmd_shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dts/framework/remote_session/testpmd_shell.py b/dts/framework/remote_session/testpmd_shell.py
index 1561862f46..508061beac 100644
--- a/dts/framework/remote_session/testpmd_shell.py
+++ b/dts/framework/remote_session/testpmd_shell.py
@@ -1466,7 +1466,7 @@ class TestPmdShell(DPDKShell):
self._logger.debug(f"Failed to start packet forwarding: \n{start_cmd_output}")
raise InteractiveCommandExecutionError("Testpmd failed to start packet forwarding.")
- number_of_ports = len(self._app_params.ports or [])
+ number_of_ports = len(self._app_params.allowed_ports or [])
for port_id in range(number_of_ports):
if not self.wait_link_status_up(port_id):
raise InteractiveCommandExecutionError(