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 1/3] dts: rewrite README
Date: Fri, 11 Jul 2025 17:22:59 -0400 [thread overview]
Message-ID: <CAJvnSUC_R_Yeoqis1cLaQJbwxyuTANYrNVpe9F=3dt29d+Wi-Q@mail.gmail.com> (raw)
In-Reply-To: <20250711172534.540416-1-dmarx@iol.unh.edu>
[-- Attachment #1: Type: text/plain, Size: 7106 bytes --]
On Fri, Jul 11, 2025 at 1:25 PM Dean Marx <dmarx@iol.unh.edu> wrote:
> Remove unnecessary information from README.md,
>
I would call the dropped information "extraneous".
> and add new sections to clarify the purpose/use
> of DTS along with clear setup instructions.
>
Maybe say that the goal of the commit is refactoring the README to be a
document which contains only a high level description of the relevant
concepts in DTS and a simple getting started guide.
>
> +
> +1. 2 links topology: Represents a topology in which the TG node and SUT
> node both have two network interfaces
> +which form the TG <-> SUT connection. An example of this would be a dual
> interface NIC which is the
> +TG node connected to a dual interface NIC which is the SUT node.
> Interface 0 on TG <-> interface 0
> +on SUT, interface 1 on TG <-> interface 1 on SUT.
> +2. 1 links topology: Works, but may result in skips for testsuites which
> are explicitly decorated with a
+2 link requirement. Represents a topology in which the TG node and SUT
> node are both located on one
> +network interface. An example of this would be a dual interface NIC with
> a connection between
> +its own ports.
>
1 links -> 1 link
And the phrasing seems slightly off. Can you reword the 1 link topology to:
"Represents a topology in which the TG node and SUT node are connected over
a single networking link. An example of this would be two single interface
NICs directly connected to each other."
or similar to this phrasing.
And, maybe make this an unordered list? the "1. 2" and "2. 1" thing looks a
touch weird. Not a big deal but probably worth doing:
https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#lists
Also, I never did get a response from you about whether it would be good to
include some ascii art to depict these topologies :)
You don't have to be a fan, but it would be good to get your opinion. If
you think it's a good idea, can you add a bugzilla ticket so we can do this
during 25.11? If you're opposed I'm okay with it - ultimately the wording
should make the valid topologies clear enough to people. It's not something
we can add during RC4 in any case.
2 link topology:
+------------------------------+
+------------------------------+
| | |
|
| | --------------- |
|
| | |
|
| Tester (Traffic Generator) | | System Under
Test |
| | |
|
| | --------------- |
|
| | |
|
+------------------------------+
+------------------------------+
1 link topology:
+------------------------------+
+------------------------------+
| | |
|
| | --------------- |
|
| | |
|
| Tester (Traffic Generator) | | System Under
Test |
| | |
|
| | |
|
| | |
|
+------------------------------+
+------------------------------+
2 link topology on a single host:
-----------------------------------
| |
| ------------------------- |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
+--------------------------------------------------+
| |
| |
| |
| |
| Combined Tester & SUT system |
| |
| |
-
| |
| |
+--------------------------------------------------+
> +
> +# Simple Linux Setup
> +
> +1. On your TG and SUT nodes, add a dedicated user. In this example I will
> name the user "dts."
>
"add a dedicated user for DTS"
> +2. Grant passwordless sudo to the dts user, like so:
> + 2a: enter 'visudo' in your terminal
> + 2b: In the visudo text editor, add:
> + dts ALL=(ALL:ALL) NOPASSWD:ALL
> +3. DTS uses ssh key auth to control the nodes. Copy your ssh keys to the
> TG and SUT:
> + ssh-copy-id dts@{your host}.
> +
> +For additional detail, please refer to
> [dts.rst](../doc/guides/tools/dts.rst)
> +
> +# DTS Configuration
> +
> +DTS requires two yaml files to be filled out with information about your
> environment,
> +test_run.yaml and nodes.yaml, which follow the format illustrated in the
> example files.
> +
> +1. Download Docker on the SUT, and Scapy on the TG.
>
It's semantics but let's say Install instead of download.
> -### Visual Studio Code
> +Usage of VScode devcontainers is NOT required for developing on DTS and
> running DTS,
> +but provide some small quality of life improvements for the developer. If
> you
> +want to develop from a devcontainer, see the instructions below:
>
> VSCode has first-class support for developing with containers.
> You may need to run the non-Docker setup commands in the integrated
> terminal.
> @@ -76,6 +75,6 @@ will mount the SSH keys of the user currently running
> VSCode into the container
> The `source` on this line can be altered to mount any SSH keys
> on the local machine into the container at the correct location.
>
> -### Other
> +## Other
> -Searching for '$IDE dev containers' will probably lead you in the right
> direction.
> +Searching for '$IDE dev containers' will probably lead you in the right
> direction.
>
I would just drop this whole "Other" section with the comment about
searching for dev containers - it's not needed.
> \ No newline at end of file
> --
> 2.49.0
>
>
[-- Attachment #2: Type: text/html, Size: 12757 bytes --]
next prev parent reply other threads:[~2025-07-11 21:28 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-27 15:37 [PATCH v1 " Dean Marx
2025-05-27 15:37 ` [PATCH v1 2/3] dts: rewrite dts rst Dean Marx
2025-05-28 21:25 ` Patrick Robb
2025-05-29 12:27 ` Paul Szczepanek
2025-06-03 17:28 ` [PATCH v2 1/2] dts: rewrite README Dean Marx
2025-06-03 17:28 ` [PATCH v2 2/2] dts: rewrite dts rst Dean Marx
2025-06-25 4:07 ` Patrick Robb
2025-07-09 19:57 ` Thomas Monjalon
2025-07-11 14:58 ` Patrick Robb
2025-06-25 4:06 ` [PATCH v2 1/2] dts: rewrite README Patrick Robb
2025-07-11 17:24 ` [PATCH v3 1/3] " Dean Marx
2025-07-11 17:24 ` [PATCH v3 2/3] doc: rephrase terminology in dts.rst Dean Marx
2025-07-11 17:24 ` [PATCH v3 3/3] doc: revise coding guidelines section Dean Marx
2025-07-11 21:22 ` Patrick Robb [this message]
2025-05-27 15:37 ` [PATCH v1 3/3] dts: fix doc generation bug Dean Marx
2025-05-28 20:28 ` Patrick Robb
2025-05-29 12:28 ` Paul Szczepanek
2025-05-28 20:40 ` [PATCH v1 1/3] dts: rewrite README Patrick Robb
2025-05-29 12:27 ` Paul Szczepanek
2025-05-29 12:40 ` Paul Szczepanek
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='CAJvnSUC_R_Yeoqis1cLaQJbwxyuTANYrNVpe9F=3dt29d+Wi-Q@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).