DPDK patches and discussions
 help / color / mirror / Atom feed
From: Patrick Robb <probb@iol.unh.edu>
To: Dean Marx <dmarx@iol.unh.edu>
Cc: luca.vizzarro@arm.com, yoan.picchi@foss.arm.com,
	 Honnappa.Nagarahalli@arm.com, paul.szczepanek@arm.com,
	dev@dpdk.org
Subject: Re: [PATCH v3 2/4] dts: remove unnecessary testpmd verification
Date: Fri, 4 Jul 2025 00:23:30 -0400	[thread overview]
Message-ID: <CAJvnSUAKgXksx4H4qbxb9Zt8bcga7oMBJ=Nu-XVBK9nueajWMQ@mail.gmail.com> (raw)
In-Reply-To: <20250702162331.352313-2-dmarx@iol.unh.edu>

[-- Attachment #1: Type: text/plain, Size: 1814 bytes --]

On Wed, Jul 2, 2025 at 12:23 PM Dean Marx <dmarx@iol.unh.edu> wrote:

> Remove unnecessary verification step in the start method
> of TestPmdShell which checks the link status.
>
> Signed-off-by: Dean Marx <dmarx@iol.unh.edu>
> ---
>  dts/framework/remote_session/testpmd_shell.py | 7 -------
>  1 file changed, 7 deletions(-)
>
> diff --git a/dts/framework/remote_session/testpmd_shell.py
> b/dts/framework/remote_session/testpmd_shell.py
> index 299887dd80..6d75f89969 100644
> --- a/dts/framework/remote_session/testpmd_shell.py
> +++ b/dts/framework/remote_session/testpmd_shell.py
> @@ -1578,13 +1578,6 @@ def start(self, verify: bool = True) -> None:
>                  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.allowed_ports or [])
> -            for port_id in range(number_of_ports):
> -                if not self.wait_link_status_up(port_id):
> -                    raise InteractiveCommandExecutionError(
> -                        "Not all ports came up after starting packet
> forwarding in testpmd."
> -                    )
> -
>

Okay, this makes sense given how VF info presents in testpmd port info (no
link status). But, I wonder if it makes sense to preserve this in the case
of PF runs? Maybe you can raise this item at the next DTS meeting for
discussion? It could make sense to support this check for PFs for 25.11.
Anyhow we can discuss.


>      def stop(self, verify: bool = True) -> str:
>          """Stop packet forwarding.
>
> --
> 2.49.0
>
>
Reviewed-by: Patrick Robb <probb@iol.unh.edu>
Tested-by: Patrick Robb <probb@iol.unh.edu>

[-- Attachment #2: Type: text/html, Size: 2666 bytes --]

  reply	other threads:[~2025-07-04  4:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-17 20:13 [PATCH v1] dts: add virtual functions to framework Dean Marx
2025-06-26 15:27 ` [PATCH v2 1/4] " Dean Marx
2025-06-26 15:27   ` [PATCH v2 2/4] dts: remove unnecessary testpmd verification Dean Marx
2025-06-26 15:27   ` [PATCH v2 3/4] dts: modify existing suites to work with VFs Dean Marx
2025-07-02 16:23     ` [PATCH v3 1/4] dts: add virtual functions to framework Dean Marx
2025-07-02 16:23       ` [PATCH v3 2/4] dts: remove unnecessary testpmd verification Dean Marx
2025-07-04  4:23         ` Patrick Robb [this message]
2025-07-02 16:23       ` [PATCH v3 3/4] dts: add physical function capability check Dean Marx
2025-07-04  4:23         ` Patrick Robb
2025-07-02 16:23       ` [PATCH v3 4/4] dts: add sr-iov section to docs Dean Marx
2025-07-04  4:23         ` Patrick Robb
2025-07-02 16:48       ` [PATCH v3 1/4] dts: add virtual functions to framework Dean Marx
2025-07-04  4:22       ` Patrick Robb
2025-07-04  4:25         ` Patrick Robb
2025-06-26 15:27   ` [PATCH v2 4/4] dts: add physical function capability check Dean Marx

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJvnSUAKgXksx4H4qbxb9Zt8bcga7oMBJ=Nu-XVBK9nueajWMQ@mail.gmail.com' \
    --to=probb@iol.unh.edu \
    --cc=Honnappa.Nagarahalli@arm.com \
    --cc=dev@dpdk.org \
    --cc=dmarx@iol.unh.edu \
    --cc=luca.vizzarro@arm.com \
    --cc=paul.szczepanek@arm.com \
    --cc=yoan.picchi@foss.arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).