DPDK patches and discussions
 help / color / mirror / Atom feed
From: Andrew Bailey <abailey@iol.unh.edu>
To: probb@iol.unh.edu
Cc: luca.vizzarro@arm.com, dmarx@iol.unh.edu, dev@dpdk.org,
	Andrew Bailey <abailey@iol.unh.edu>
Subject: [PATCH v4 1/2] dts: make one link the default topology
Date: Fri, 21 Nov 2025 14:55:10 -0500	[thread overview]
Message-ID: <20251121195511.322005-1-abailey@iol.unh.edu> (raw)
In-Reply-To: <20250723135021.218084-1-dmarx@iol.unh.edu>

Currently the default topology for test suites when not specified
is two link. However, the majority of the DPDK functions tested
in DTS can be tested with a single link. It is more intuitive for
a testsuite or testcase lacking a topology decorator to default
to the more basic requirement of 1 link, and force tests which
really do require two link to include decorators explicitly
saying so.

Signed-off-by: Dean Marx <dmarx@iol.unh.edu>
---
 dts/api/capabilities.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dts/api/capabilities.py b/dts/api/capabilities.py
index 243759668f..eafbd38afa 100644
--- a/dts/api/capabilities.py
+++ b/dts/api/capabilities.py
@@ -63,7 +63,7 @@ class LinkTopology(IntEnum):
     @classmethod
     def default(cls) -> "LinkTopology":
         """The default topology required by test cases if not specified otherwise."""
-        return cls.TWO_LINKS
+        return cls.NO_LINK
 
 
 class NicCapability(IntEnum):
-- 
2.50.1


  parent reply	other threads:[~2025-11-21 19:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-23 13:50 [PATCH v1] " 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   ` [PATCH v2 1/2] dts: rewrite two link topology requirements Luca Vizzarro
2025-08-11 10:50   ` Luca Vizzarro
2025-08-20 14:06   ` [PATCH v3 0/2] dts: change default topology to one link Dean Marx
2025-08-20 14:06     ` [PATCH v3 1/2] dts: make one link the default topology Dean Marx
2025-08-28  2:11       ` Patrick Robb
2025-08-20 14:06     ` [PATCH v3 2/2] dts: rewrite two link topology requirements Dean Marx
2025-08-26 14:03       ` Luca Vizzarro
2025-08-28  2:14         ` Patrick Robb
2025-08-29  8:52     ` [PATCH v3 0/2] dts: change default topology to one link Luca Vizzarro
2025-11-21 19:55 ` Andrew Bailey [this message]
2025-11-21 19:55   ` [PATCH v4 2/2] dts: rewrite two link topology requirements Andrew Bailey

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=20251121195511.322005-1-abailey@iol.unh.edu \
    --to=abailey@iol.unh.edu \
    --cc=dev@dpdk.org \
    --cc=dmarx@iol.unh.edu \
    --cc=luca.vizzarro@arm.com \
    --cc=probb@iol.unh.edu \
    /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).