From: Luca Vizzarro <Luca.Vizzarro@arm.com>
To: Dean Marx <dmarx@iol.unh.edu>,
probb@iol.unh.edu, yoan.picchi@foss.arm.com,
Honnappa.Nagarahalli@arm.com, paul.szczepanek@arm.com
Cc: dev@dpdk.org
Subject: Re: [PATCH v2 1/2] dts: rewrite two link topology requirements
Date: Mon, 11 Aug 2025 11:47:34 +0100 [thread overview]
Message-ID: <1ace1f11-b54d-46ba-8193-66fd86eb3a96@arm.com> (raw)
In-Reply-To: <20250807140730.292639-1-dmarx@iol.unh.edu>
On 07/08/2025 15:07, Dean Marx wrote:
> diff --git a/dts/tests/TestSuite_blocklist.py b/dts/tests/TestSuite_blocklist.py
> index ce7da1cc8f..c75be247b5 100644
> --- a/dts/tests/TestSuite_blocklist.py
> +++ b/dts/tests/TestSuite_blocklist.py
> @@ -12,7 +12,7 @@
> from framework.testbed_model.port import Port
>
>
> -@requires(topology_type=TopologyType.two_links)
> +@requires(topology_type=TopologyType.one_link)
> class TestBlocklist(TestSuite):
> """DPDK device blocklisting test suite."""
>
> @@ -51,6 +51,7 @@ def one_port_blocklisted(self):
> """
> self.verify_blocklisted_ports(self.topology.sut_ports[:1])
>
> + @requires(topology_type=TopologyType.two_links)
I am guessing by the logic of this then one_port_blocklisted could also
use it.> @func_test
> def all_but_one_port_blocklisted(self):
> """Run testpmd with all but one blocklisted port.
Would it make more sense to swap the order of the commits? This is
because adding an explicit @requires for one_link becomes redundant. I'd
probably change the default and then allow all the test suites that are
happy with one link to just remove the two link requirement.
next prev parent reply other threads:[~2025-08-11 10:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-23 13:50 [PATCH v1] dts: make one link the default topology Dean Marx
2025-07-28 12:15 ` Luca Vizzarro
2025-08-07 14:07 ` [PATCH v2 1/2] dts: rewrite two link topology requirements Dean Marx
2025-08-07 14:07 ` [PATCH v2 2/2] dts: make one link the default topology Dean Marx
2025-08-11 10:47 ` Luca Vizzarro
2025-08-11 10:47 ` Luca Vizzarro [this message]
2025-08-11 10:50 ` [PATCH v2 1/2] dts: rewrite two link topology requirements Luca Vizzarro
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=1ace1f11-b54d-46ba-8193-66fd86eb3a96@arm.com \
--to=luca.vizzarro@arm.com \
--cc=Honnappa.Nagarahalli@arm.com \
--cc=dev@dpdk.org \
--cc=dmarx@iol.unh.edu \
--cc=paul.szczepanek@arm.com \
--cc=probb@iol.unh.edu \
--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).