Re: [PATCH 1/3] compressdev: support for dictionaries and PDCP checksum

2025-09-26 Thread Patrick Robb
Oh, and I never answered your initial question - yes the traffic generator issue is now sorted out. Thanks. On Fri, Sep 26, 2025 at 4:50 PM Patrick Robb wrote: > Hi Sameer, > > Thanks for your patience and I apologize for not reaching out yesterday. > > Normally, if you want a

Re: [PATCH 1/3] compressdev: support for dictionaries and PDCP checksum

2025-09-26 Thread Patrick Robb
ble to fix the issue with the traffic generator? Is there > documentation on what steps need to be done to request a rerun? > > Thanks > Sameer Vaze > ------ > *From:* Patrick Robb > *Sent:* Wednesday, September 24, 2025 2:24 PM > *To:* Sameer Vaze >

Re: [PATCH v4 1/3] dts: allow mbuf_fast_free to be set with testpmd shell

2025-09-24 Thread Patrick Robb
Reviewed-by: Patrick Robb

Re: [PATCH v4 2/3] dts: add TX offload capabilities to NIC capabilities

2025-09-24 Thread Patrick Robb
Signed-off-by: Jeremy Spewock > > -Args: > -line: The line to parse. > +@dataclass > +class OffloadCapabilities(TextParser): > +"""The result of testpmd's ``show port tx_offload > capabilities`` command. > tx_offload or rx_offload, right? Reviewed-by: Patrick Robb

Re: [PATCH v4 3/3] dts: update tx_offload test from old dts

2025-09-24 Thread Patrick Robb
On Wed, Sep 24, 2025 at 12:47 PM Andrew Bailey wrote: > Currently, the RX/TX offload test in old DTS expects the TX ports to be > initially configured to use mbuf fast free. This is no longer the case > and must be updated to assume mbuf fast free is not initially utilized > by capable NICs. Add

Re: [PATCH 1/3] compressdev: support for dictionaries and PDCP checksum

2025-09-24 Thread Patrick Robb
The CI testing failure for this series is due to an issue with the traffic generator that is unrelated to the patch. I will resolve it tomorrow and do a test rerun. On Wed, Sep 24, 2025 at 12:19 PM Sameer Vaze wrote: > Adds definitions for PDCP checksums and apis to pass in > dictionaries > > Si

Re: [PATCH v5] dts: enable port binding on the TG

2025-09-22 Thread Patrick Robb
Applied with the commit message fixup. Thanks Andrew.

Re: [PATCH v5] dts: enable port binding on the TG

2025-09-22 Thread Patrick Robb
On Wed, Sep 10, 2025 at 8:30 AM Andrew Bailey wrote: > Currently, ports on the TG are not bound to the correct drivers prior to > running DTS. This causes DTS to crash if they are not initially bound to > the intended drivers. Binding the TG ports to the proper driver caused > DTS to fail when th

Re: [PATCH v1 1/2] dts: move testpmd into API

2025-09-18 Thread Patrick Robb
Per the discussion at the CI meeting this morning I ran all the existing tests on a cx5 card and saw no difference in results with this series applied vs running on for-main. So, I will merge this series tomorrow morning. Thanks Paul. On Thu, Sep 18, 2025 at 1:30 AM Patrick Robb wrote

Re: [PATCH] eal: fix DMA mask validation inconsistency in IOVA VA

2025-09-18 Thread Patrick Robb
Hi Thomas, FYI the recheck you submitted is for Shani's v1 patch. The recheck pipeline picked up your request and is not running a recheck because the patch state is superseded (which blocks the recheck). If you still want a recheck on the v1, I will just remove the line in our script which stops

Re: [PATCH v3 3/3] bbdev: fix build with MinGW 13

2025-09-17 Thread Patrick Robb
FYI The DTS failure for this series on patchwork for the MTU testsuite is coming from a different patch than this one. Once I have that resolved, I will put in a retest for this series which will clear up that MTU testsuite failure. On Mon, Sep 8, 2025 at 5:21 PM Thomas Monjalon wrote: > After a

Re: [PATCH v1 2/2] dts: update tests to use new API

2025-09-17 Thread Patrick Robb
Reviewed-by: Patrick Robb

Re: [PATCH v1 1/2] dts: move testpmd into API

2025-09-17 Thread Patrick Robb
Reviewed-by: Patrick Robb

Community CI Meeting Minutes - September 4, 2025

2025-09-16 Thread Patrick Robb
# September 4, 2025 Attendees 1. Patrick Robb 2. Aaron Conole 3. Andrew Bailey 4. Luca Vizzarro # Minutes

DTS WG Meeting Minutes - September 11, 2025

2025-09-16 Thread Patrick Robb
September 11, 2025 Attendees * Patrick Robb * Luca Vizzarro * Andrew Bailey * Paul Szczepanek Minutes

DTS WG Meeting Minutes - August 28, 2025

2025-09-16 Thread Patrick Robb
August 28, 2025 Attendees * Patrick Robb * Luca Vizzarro * Andrew Bailey * Paul Szczepanek * Thomas Wilks Minutes

Re: [PATCH] eal: fix DMA mask validation inconsistency in IOVA VA

2025-09-16 Thread Patrick Robb
FYI The DTS failure for this series on patchwork for the MTU testsuite is coming from a different patch than this one. Once I have that resolved, I will put in a retest for this series which will clear up that MTU testsuite failure. On Mon, Sep 8, 2025 at 12:35 PM Shani Peretz wrote: > When --io

Re: [PATCH v2 0/2] vhost: VDUSE startup workaround and fix

2025-09-16 Thread Patrick Robb
Putting in a retest at the Community Lab. On Tue, Sep 16, 2025 at 5:36 AM Maxime Coquelin wrote: > This series is a follow-up of the workaround to ensure queues are > in a ready state before starting the device. > > It also adds a patch to ensure data passed to the kernel are properly > initiali

Re: [PATCH v5 1/1] dts: add missing type hints to method signatures

2025-09-08 Thread Patrick Robb
v5 pushed to next-dts, thanks. On Fri, Sep 5, 2025 at 8:41 AM Andrew Bailey wrote: > Mypy does not check functions and methods that are not entirely type > hinted. This prevents full checks, so they have been added where missing. > Full checks revealed some typing errors, pattern matching was ap

Re: [PATCH] dts: add dpdk shell warm up period

2025-09-08 Thread Patrick Robb
On Mon, Sep 8, 2025 at 6:03 AM Luca Vizzarro wrote: > Hi Patrick, > > Perfectly understand the situation, I am just afraid that adding a whole > 5 seconds every time an InteractiveShell is spawned may slow down > everything by a lot. These are spawned a lot of times, so it will stack > up. Is the

Re: [PATCH] dts: add dpdk shell warm up period

2025-09-07 Thread Patrick Robb
x27;t an ideal addition to DTS in my mind, but given that our existing readiness checks seem correct (but may not be sufficient) this seems like the correct action to me. On Sun, Sep 7, 2025 at 9:48 PM Patrick Robb wrote: > When running our existing DTS testsuites on a new > NIC we observe

Re: [PATCH v2 7/7] dts: save received packets with artifacts

2025-09-07 Thread Patrick Robb
Reviewed-by: Patrick Robb

Re: [PATCH v2 0/7] dts: add file manager

2025-09-07 Thread Patrick Robb
Applied to next-dts, thanks. On Thu, Sep 4, 2025 at 5:16 PM Patrick Robb wrote: > I think the changes in V2 make sense and I have tested it and I like the > new way logs and pcaps are stored in dts/output. I will merge tomorrow to > next-dts if there are no other comments. Thanks Luca. > > >

[PATCH] dts: add dpdk shell warm up period

2025-09-07 Thread Patrick Robb
DPDK shells, this issue was resolved. Correctness is more important than execution speed in DTS, so it seems justified to slow down the execution a little in order to make the testing framework less fragile to such device specific bringup behaviors. Signed-off-by: Patrick Robb --- dts/framework

Re: [PATCH v2 0/7] dts: add file manager

2025-09-04 Thread Patrick Robb
I think the changes in V2 make sense and I have tested it and I like the new way logs and pcaps are stored in dts/output. I will merge tomorrow to next-dts if there are no other comments. Thanks Luca.

Re: [PATCH v2 1/3] dts: allow mbuf_fast_free to be set with testpmd shell

2025-09-04 Thread Patrick Robb
On Thu, Sep 4, 2025 at 11:16 AM Luca Vizzarro wrote: > On Wed, Sep 03, 2025 at 02:04:12PM +, Andrew Bailey wrote: > > diff --git a/dts/framework/remote_session/testpmd_shell.py > b/dts/framework/remote_session/testpmd_shell.py > > index ad8cb273dc..4d9caceb37 100644 > > --- a/dts/framework/re

Re: [PATCH v2 5/7] dts: make log files into artifacts

2025-09-04 Thread Patrick Robb
On Thu, Sep 4, 2025 at 7:47 AM Luca Vizzarro wrote: > > @dataclass > class TestSuiteSetup(TestSuiteState): > @@ -474,6 +457,11 @@ class TestSuiteSetup(TestSuiteState): > > logger_name: ClassVar[str] = "test_suite_setup" > > +def before(self) -> None: > +"""Hook before the state

Re: [PATCH v3] dts: enable port binding on the TG

2025-09-04 Thread Patrick Robb
On Tue, Sep 2, 2025 at 12:52 PM Luca Vizzarro wrote: > Hi Andrew, > > Thank you for clarifying. It makes more sense now. > > On Thu, Aug 28, 2025 at 08:37:58AM +, Andrew Bailey wrote: > > diff --git a/dts/framework/testbed_model/port.py > b/dts/framework/testbed_model/port.py > > index fc58e2

Re: [PATCH v4] dts: add missing type hints to method signatures

2025-09-04 Thread Patrick Robb
Reviewed-by: Patrick Robb Applying to next-dts with Luca's suggested fixup.

Re: [PATCH v2 2/3] dts: add TX offload capabilities to NIC capabilities

2025-09-03 Thread Patrick Robb
ity = ( > +TestPmdShell.get_capabilities_tx_offload, > +None, > +) > +TX_OFFLOAD_MBUF_FAST_FREE: TestPmdShellNicCapability = ( > +TestPmdShell.get_capabilities_tx_offload, > +None, > +) > +TX_OFFLOAD_SECURITY: TestPmdShellNicCapability = ( > +TestPmdShell.get_capabilities_tx_offload, > +None, > +) > +TX_OFFLOAD_UDP_TNL_TSO: TestPmdShellNicCapability = ( > +TestPmdShell.get_capabilities_tx_offload, > +None, > +) > +TX_OFFLOAD_IP_TNL_TSO: TestPmdShellNicCapability = ( > +TestPmdShell.get_capabilities_tx_offload, > +None, > +) > +TX_OFFLOAD_OUTER_UDP_CKSUM: TestPmdShellNicCapability = ( > +TestPmdShell.get_capabilities_tx_offload, > +None, > +) > +TX_OFFLOAD_SEND_ON_TIMESTAMP: TestPmdShellNicCapability = ( > +TestPmdShell.get_capabilities_tx_offload, > +None, > +) > #: Scattered packets Rx enabled > SCATTERED_RX_ENABLED: TestPmdShellNicCapability = ( > TestPmdShell.get_capabilities_rxq_info, > -- > 2.50.1 > > Looks good. Have you verified the docs will build from this patch? If you haven't done this yet it's meson setup my_build ninja -C my_build doc Reviewed-by: Patrick Robb

Re: [PATCH v1] dts: remove test_ prefix from test case names

2025-08-28 Thread Patrick Robb
Applied to next-dts, thanks.

Re: [PATCH v3] dts: enable port binding on the TG

2025-08-28 Thread Patrick Robb
Thanks Luca for the patch submission best practices advice. :) Andrew we can chat more about the bound_for_dpdk() at the DTS meeting. On Thu, Aug 28, 2025 at 8:38 AM Andrew Bailey wrote: > > +ctx = get_ctx() > +prepare_node(ctx.tg_node) > +prepare_node(ctx.sut_node) > +

Re: [PATCH v3 2/2] dts: rewrite two link topology requirements

2025-08-27 Thread Patrick Robb
Thanks Dean and Luca. Applied to next-dts.

Re: [PATCH v3 1/2] dts: make one link the default topology

2025-08-27 Thread Patrick Robb
This looks good except that I found the commit message to be confusing. For instance, it is not true that all one link test runs will skip before this patch - they will in fact run. I do know what you mean of course but I think we should just be more clear. I just modified the commit message to th

Re: [PATCH v4 2/2] dts: add PMD RSS testsuite

2025-08-25 Thread Patrick Robb
I forgot to add my tag to the previous email. Reviewed-by: Patrick Robb

Re: [PATCH v4 1/2] dts: add RSS functions to testpmd

2025-08-25 Thread Patrick Robb
I think this patch looks good. Thanks Thomas and thanks Ivan for your insights. Reviewed-by: Patrick Robb On Wed, Jul 30, 2025 at 8:59 AM Thomas Wilks wrote: > From: Alex Chapman > > This patch adds the required functionality for the RSS key_update, > RETA, and hash test

Re: [PATCH v4 2/2] dts: add PMD RSS testsuite

2025-08-25 Thread Patrick Robb
On Wed, Jul 30, 2025 at 8:59 AM Thomas Wilks wrote: > > +def configure_random_reta(self, testpmd: TestPmdShell, queue_number: > int) -> list[int]: > +"""Configure RETA to have random order of queues. > + > +Args: > +testpmd: The testpmd instance that will be used t

Community CI Meeting Minutes - August 21, 2025

2025-08-25 Thread Patrick Robb
# August 21, 2025 Attendees 1. Patrick Robb 2. Luca Vizzarro 3. Maxime Coquelin 4. Dean Marx # Minutes

Re: Virtio testing goals for DTS

2025-08-19 Thread Patrick Robb
Adding Dean who I forgot to CC. On Tue, Aug 19, 2025 at 5:48 PM Patrick Robb wrote: > Hi Aaron or Maxime, > > I want to get your perspective on our testing goals for virtio in DTS if > you are willing. > > Dean, who works on DTS, has been running various PVP and PVVP virtio

Virtio testing goals for DTS

2025-08-19 Thread Patrick Robb
Hi Aaron or Maxime, I want to get your perspective on our testing goals for virtio in DTS if you are willing. Dean, who works on DTS, has been running various PVP and PVVP virtio workloads on one of the SUT servers at UNH, as well as some single VM and double VM (with inter VM DPDK forwarding) vi

Re: meson error on ARM Grace server 23.11/22.11

2025-08-19 Thread Patrick Robb
I see Luca just sent a new version of 22.11 which includes the Grace build patch, so this build "issue" should now be resolved for his tree. I hope we will see the same patch reach 23.11 soon. :) Thanks for doing this Doug and Luca. On Tue, May 20, 2025 at 1:15 PM Patrick Robb wrote:

Re: [PATCH v11 09/14] ethdev: add port mirroring feature

2025-08-15 Thread Patrick Robb
Sending a CI testing retest for this series because of a suspected false failure on the vlan testsuite. On Fri, Aug 8, 2025 at 12:59 PM Stephen Hemminger < step...@networkplumber.org> wrote: > This adds new feature port mirroring to the ethdev layer. > And standalone tests for those features. > >

Re: [PATCH v5 0/2] add support flow director ops

2025-08-15 Thread Patrick Robb
Sending a CI testing retest for the v5 of this series because of a suspected false failure on the packet capture testsuite. On Wed, Aug 13, 2025 at 11:03 PM Bingbin Chen wrote: > v5: > - modify some error level printing information, > and other issues from Maintainer's. > > V4: > - repla

Re: [PATCH 0/3] fix build with MinGW 13

2025-08-15 Thread Patrick Robb
Sending a CI testing retest for this series because of a suspected false failure on the dynamic config testsuite. On Wed, Aug 13, 2025 at 11:28 AM Thomas Monjalon wrote: > After an upgrade to MinGW version 13, some compilation errors appear > in PCI, mlx5 and bbdev code. > This series fixes them

Re: [PATCH] net/mlx5/hws: fix TIR action support in FDB

2025-08-15 Thread Patrick Robb
Sending a CI testing retest for this series because of a suspected false failure on the packet capture testsuite. On Thu, Aug 14, 2025 at 9:22 AM Dariusz Sosnowski wrote: > TIR action was not added as an allowed action in FDB domain. > This prevented the usage of RSS flow action in transfer flow

DTS WG Meeting Minutes - August 14, 2025

2025-08-14 Thread Patrick Robb
# August 14, 2025 Attendees * Patrick Robb * Luca Vizzarro * Paul Szczepanek * Andrew Bailey * Manit Mahajan * Dean Marx # Minutes

Community CI Meeting Minutes - August 7, 2025

2025-08-12 Thread Patrick Robb
Apologies for the delay in sending these notes out. # August 7, 2025 Attendees 1. Patrick Robb 2. Luca Vizzarro 3. Dean Marx 4. Aaron Conole # Minutes

DTS WG Meeting Minutes - July 31, 2025

2025-08-12 Thread Patrick Robb
July 31, 2025 Attendees * Patrick Robb * Luca Vizzarro * Paul Szczepanek * Andrew Bailey Minutes

Re: [PATCH 4/6] dts: add artifact module

2025-08-12 Thread Patrick Robb
On Tue, Aug 12, 2025 at 4:31 AM Luca Vizzarro wrote: > On 12/08/2025 02:25, Patrick Robb wrote: > > On Fri, Jul 25, 2025 at 11:15 AM Luca Vizzarro > <mailto:luca.vizza...@arm.com>> wrote: > > > > > > + > > +@overload > > +def mak

Re: [PATCH 6/6] dts: use artifacts in packet capture and softnic

2025-08-11 Thread Patrick Robb
Reviewed-by: Patrick Robb

Re: [PATCH 4/6] dts: add artifact module

2025-08-11 Thread Patrick Robb
On Fri, Jul 25, 2025 at 11:15 AM Luca Vizzarro wrote: > Add a new artifact module which provides DTS with remote and local file > management capabilities. A new Artifact class is provided which acts as > an abstract representation of a file that is present in any node in the > testbed model. The

Re: [PATCH 5/6] dts: make log files into artifacts

2025-08-11 Thread Patrick Robb
My initial impression is that with the tree structure, the high number of log files is basically harmless, and would provide a quick path to finding the specific logs one wants (when they know the failing testcase) so I'm not requesting a change... just raising the point for discussion. > > 2.43.0 > > Reviewed-by: Patrick Robb Tested-by: Patrick Robb

Re: [PATCH 4/6] dts: add artifact module

2025-08-11 Thread Patrick Robb
t; file_mode).replace("t", "") + "b") > Is it worth logging this event to prevent confusion? (where we change the requested mode to binary mode) +elif "b" not in file_mode: > +actual_mode = cast(BinaryMode, file_mode + "b") > same > > -- > 2.43.0 > > Reviewed-by: Patrick Robb

Re: [PATCH 3/6] dts: add current test suite and cases to context

2025-08-08 Thread Patrick Robb
Reviewed-by: Patrick Robb

Re: [PATCH 2/6] dts: add node retriever by identifier

2025-08-08 Thread Patrick Robb
On Fri, Jul 25, 2025 at 11:15 AM Luca Vizzarro wrote: > Refactor the logic to identify nodes. Add facility to retrieve current > nodes from context. > > Signed-off-by: Luca Vizzarro > Reviewed-by: Paul Szczepanek > --- > > Reviewed-by: Patrick Robb

Re: [PATCH 1/6] dts: merge RemoteSession class

2025-08-07 Thread Patrick Robb
: > username: str > password: str > history: list[CommandResult] > +session: Connection > _logger: DTSLogger > _node_config: NodeConfiguration > > 2.43.0 > > Happy to see the two classes reduced into just RemoteSession. Reviewed-by: Patrick Robb

Re: [PATCH] net/mlx5: add support for flows targeting multicast MAC addresses

2025-08-07 Thread Patrick Robb
Hi Gavin, I'm just flagging that this patch has a failure for the dynamic_config testsuite's test_disable_promisc_multicast testcase. It's a testpmd testcase which disables allmulticast on the port and then verifies that a multicast packet sent to the DUT is dropped, then enables allmulticast and

Re: [PATCH v2 2/2] dts: add reception check to checksum offload suite

2025-08-07 Thread Patrick Robb
Looks good to me. Reviewed-by: Patrick Robb

Re: [PATCH v2 1/2] dts: fix docstring typo in checksum suite

2025-08-07 Thread Patrick Robb
Reviewed-by: Patrick Robb

Re: [PATCH] maintainers: update for DTS

2025-08-07 Thread Patrick Robb
Acked-by: Patrick Robb

Re: [PATCH] dts: remove optional docs dependencies

2025-08-06 Thread Patrick Robb
Thanks. Confirming for the mailing list that we discussed this at the DTS meeting last week and agreed on this course of action. Reviewed-by: Patrick Robb On Fri, Aug 1, 2025 at 7:45 AM Luca Vizzarro wrote: > The CI currently does not support the optional DTS docs dependencies. As

DTS 25.11 Roadmap

2025-07-30 Thread Patrick Robb
Hello, The DTS group has met and agreed on the top level goals for 25.11 DTS development. DTS Roadmap: * DTS API * Provide a single point of entry into the framework for all test suites, allowing stable usage across releases and user friendly discoverability of dts functionality * Pac

Community CI Meeting Minutes - July 24, 2025

2025-07-30 Thread Patrick Robb
# July 24, 2025 Attendees 1. Patrick Robb 2. Luca Vizzarro 3. Dean Marx 4. Adam Hassick 5. Paul Szczepanek # Minutes

Re: [PATCH v2] dts: call hugepages configure at node setup

2025-07-29 Thread Patrick Robb
Actually, Luca is going to fixup this commit, pulling the function down to the node setup method, and push to next-dts. On Tue, Jul 29, 2025 at 9:20 AM Patrick Robb wrote: > ... Woops. > > Will send the correction later today. > > On Tue, Jul 29, 2025 at 5:50 AM Luca Vizzarro &

Re: [PATCH v2] dts: call hugepages configure at node setup

2025-07-29 Thread Patrick Robb
... Woops. Will send the correction later today. On Tue, Jul 29, 2025 at 5:50 AM Luca Vizzarro wrote: > Hi Patrick, > > thank you for the quick v2! I am afraid you may have placed the call in > the class constructor instead of the setup method :') > > Luca >

[PATCH v2] dts: call hugepages configure at node setup

2025-07-28 Thread Patrick Robb
hugepages already via kernel parameters this is harmless, but if they haven't, this bug will cause the DTS execution to fail. This patch adds a call to the hugepages configuration method at node setup. Fixes: d77a4a27bd24 ("dts: remove node distinction") Signed-off-by: Patrick Robb Re

Re: [PATCH] dts: call hugepages configure at testrun setup

2025-07-28 Thread Patrick Robb
On Mon, Jul 28, 2025 at 7:31 AM Luca Vizzarro wrote: > Really good catch Patrick! Thank you for this! > > Would it make more sense to place setup_hugepages under Node.setup()? > In that case the method can also remain private, involving a single line > change. > Yes, that makes more sense. I'll

[PATCH] dts: call hugepages configure at testrun setup

2025-07-25 Thread Patrick Robb
istinction") Signed-off-by: Patrick Robb --- dts/framework/test_run.py | 1 + dts/framework/testbed_model/node.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dts/framework/test_run.py b/dts/framework/test_run.py index 4355aeeb4b..5f4fc0d2bb 100644 ---

Scheduled DPDK Community Lab downtime this weekend

2025-07-25 Thread Patrick Robb
Hello, I will be taking the DPDK Community Lab offline at 5pm EST today for system updates and backups on the Community Lab's Jenkins server. I expect to be able to bring the Community Lab back online at midday Saturday. If that schedule changes, I will provide updates on the Slack infra-issues ch

Re: [PATCH] maintainers: update for DTS

2025-07-22 Thread Patrick Robb
Acked-by: Patrick Robb I'm not sure whether my approval is needed or not, but for the record Luca has been making contributions to DTS for more than a year now and is very capable of acting as maintainer. On Tue, Jul 22, 2025 at 12:07 PM Luca Vizzarro wrote: > Paul is giving up his ro

Re: [RFC] Proposal for stable developer-friendly DTS API

2025-07-21 Thread Patrick Robb
On Tue, Jul 15, 2025 at 2:57 AM Paul Szczepanek wrote: > Hi all, > > Now that we've written a significant number of tests and developed a > consistent usage pattern, I think it's a good time to take the next step > toward project maturity: establishing a stable, well-defined API that > developers

DTS WG Meeting Minutes - July 17, 2025

2025-07-18 Thread Patrick Robb
# July 17, 2025 Attendees * Patrick Robb * Manit Mahajan * Dean Marx * Luca Vizzarro * Paul Szczepanek # Minutes

Re: [PATCH v7 3/3] doc: revise coding guidelines section

2025-07-16 Thread Patrick Robb
On Wed, Jul 16, 2025 at 4:54 PM Dean Marx wrote: > code. > > > How To Write a Test Suite > - > > -All test suites inherit from ``TestSuite`` defined in > ``dts/framework/test_suite.py``. > -There are four types of methods that comprise a test suite: > +All test suites ar

Re: [PATCH v5 3/3] doc: revise coding guidelines section

2025-07-16 Thread Patrick Robb
On Wed, Jul 16, 2025 at 9:57 AM Dean Marx wrote: > > + > +* Document ``__init__()`` separately from the class docstring. > +* If an abstract method simply implements a superclass definition without > changes, refer to that superclass in the docstring. > +* Document instance variables in the class

Re: [PATCH v4 3/3] doc: revise coding guidelines section

2025-07-15 Thread Patrick Robb
> Reviewed-by: Patrick Robb > --- > doc/guides/tools/dts.rst | 194 ++- > 1 file changed, 90 insertions(+), 104 deletions(-) > > diff --git a/doc/guides/tools/dts.rst b/doc/guides/tools/dts.rst > index 8ba855c6fc..4da55e00ef 100644 >

Re: [PATCH v4 1/3] dts: rewrite README

2025-07-15 Thread Patrick Robb
On Mon, Jul 14, 2025 at 1:13 PM Dean Marx wrote: > > + > +# Simple Linux Setup > + > +1. On your TG and SUT nodes, add a dedicated user. In this example I will > add a dedicated user for DTS. > This is getting away from what I was suggesting. The original version was: On your TG and SUT nodes,

Re: [RFC PATCH] doc: clarify VLAN and QinQ stripping behaviour

2025-07-15 Thread Patrick Robb
On Tue, Jul 15, 2025 at 3:47 AM Bruce Richardson wrote: > > > Thanks. Let me know how the testing otherwise goes. If only Intel NICs are > supporting QinQ, then it can't be that widely used a feature yet, so we may > be able to tweak things a bit if it diverges from what is expected. > Yeah, the

Re: [PATCH v2] doc: update parameters to use for mlx5 on Windows

2025-07-15 Thread Patrick Robb
+c...@dpdk.org +Manit Mahajan +Andrew Bailey Thank you for this we will modify our Clang and MSVC build pipelines at UNH. Acked-by: Patrick Robb On Tue, Jul 15, 2025 at 10:14 AM Andre Muezerie < andre...@linux.microsoft.com> wrote: > The linker parameters to use with MSVC and Cla

Re: [RFC PATCH] doc: clarify VLAN and QinQ stripping behaviour

2025-07-14 Thread Patrick Robb
On Mon, Jul 14, 2025 at 4:09 PM Dean Marx wrote: > On Mon, Jul 14, 2025 at 9:30 AM Bruce Richardson > wrote: > > > > The behaviour of VLAN tag stripping Rx offloads is unclear in DPDK, and > > not very well documented. Even the documentation that does exist appears > > contradictory. > > > > For

Re: [PATCH v3 3/3] doc: revise coding guidelines section

2025-07-14 Thread Patrick Robb
. > + Example: self.verify(link_up, "Link should be up after configuration.") > > -#. **Other methods** > +Other Methods > > - Of course, all test suite code should adhere to coding standards. > - Only the above methods will be treated specially and any other methods > may be defined > - (which should be mostly private methods needed by each particular test > suite). > - Any specific features (such as NIC configuration) required by a test > suite > - should be implemented in the ``SutNode`` class (and the underlying > classes that ``SutNode`` uses) > - and used by the test suite via the ``sut_node`` field. > + All test suite code should follow the project's coding standards. > + Only test cases, setup/teardown hooks, and verification methods are > treated specially by the framework. > + Additional methods may be defined as needed (ideally private). > + Any specific features (such as NIC configuration) should be > implemented in the SutNode class or its supporting classes, and accessed > using the sut_node field. > There's no such class as SutNode anymore. > > > .. _dts_dev_tools: > -- > 2.49.0 > > Also, this series should adjust the poetry section to explain that "poetry shell" is deprecated now and one must use "poetry run" instead. Reviewed-by: Patrick Robb

Re: [PATCH v3 2/3] doc: rephrase terminology in dts.rst

2025-07-14 Thread Patrick Robb
are or software-based. Not to be a grammar nitpicker but I believe semicolons separate independent clauses. Maybe just change to: Node that sends traffic to the SUT, which can be hardware or software-based. > > > 2.49.0 > > Reviewed-by: Patrick Robb

Re: [PATCH v3 1/3] dts: rewrite README

2025-07-11 Thread Patrick Robb
On Fri, Jul 11, 2025 at 1:25 PM Dean Marx 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 ref

Community CI Meeting Minutes - July 9, 2025

2025-07-11 Thread Patrick Robb
# July 9, 2025 Attendees 1. Patrick Robb 2. Manit Mahajan 3. Dean Marx 4. Luca Vizzarro 5. Shai Brandes 6. Aaron Conole # Minutes

Re: [PATCH v2 2/2] dts: rewrite dts rst

2025-07-11 Thread Patrick Robb
On Wed, Jul 9, 2025 at 3:57 PM Thomas Monjalon wrote: > 25/06/2025 06:07, Patrick Robb: > > Applied to next-dts, thanks Dean. > > I'm almost sure it has overriden some doc added recently by Nicholas > Pratte. > Good catch. It removed some sentences explaining usage o

Re: DTS WG Meeting Minutes - July 3, 2025

2025-07-08 Thread Patrick Robb
On Tue, Jul 8, 2025 at 6:56 PM Patrick Robb wrote: > # > July 3, 2025 > Attendees > * Patrick Robb > * Manit Mahajan > * Dean Marx > > ###

DTS WG Meeting Minutes - July 3, 2025

2025-07-08 Thread Patrick Robb
# July 3, 2025 Attendees * Patrick Robb * Manit Mahajan * Dean Marx # Minutes = General

Community CI Meeting Minutes - June 25, 2025

2025-07-08 Thread Patrick Robb
# June 25, 2025 Attendees 1. Patrick Robb 2. Manit Mahajan 3. Dean Marx # Minutes = General

Re: [PATCH v3 1/4] dts: add virtual functions to framework

2025-07-07 Thread Patrick Robb
FYI based on conversation with Dean I pushed a fixup adding the use_virtual_functions: false field to the test_run.example.yaml, so that users can more easily understand how to enable the VF testruns. https://git.dpdk.org/next/dpdk-next-dts/commit/?id=934206f3bfc10fb8dcd852479f3683c01a18e352

Re: [PATCH v3 1/4] dts: add virtual functions to framework

2025-07-04 Thread Patrick Robb
Series applied to next-dts, thanks. On Fri, Jul 4, 2025 at 12:25 AM Patrick Robb wrote: > And FYI VF results for ConnectX-5 virtual functions for a testrun I just > ran > > test_suites: ERROR > vlan: PASS > test_vlan_header_insertion: PASS > test_

Re: [PATCH v2 1/2] dts: remove dpdk example build function

2025-07-04 Thread Patrick Robb
Applied to next-dts, thanks. On Fri, Jul 4, 2025 at 11:30 AM Luca Vizzarro wrote: > Usage of example DPDK apps should be avoided. Therefore, remove > the function that allows to build example apps. Moreover, > provide a dedicated helper function to retrieve the path to a > DPDK app. > > Signed-o

Re: [PATCH v2 2/2] dts: add generic blocking app class

2025-07-04 Thread Patrick Robb
Applied to next-dts, thanks. On Fri, Jul 4, 2025 at 11:30 AM Luca Vizzarro wrote: > Add a generic blocking app class to allow a test writer to run any app > in the background. Make the original BlockingDPDKApp class inherit from > this one. Implement the new BlockingApp class in the packet_captu

Re: [PATCH v3 1/4] dts: add virtual functions to framework

2025-07-03 Thread Patrick Robb
And FYI VF results for ConnectX-5 virtual functions for a testrun I just ran test_suites: ERROR vlan: PASS test_vlan_header_insertion: PASS test_vlan_no_receipt: PASS test_vlan_receipt_no_stripping: PASS test_vlan_receipt_stripping: PASS rte_flow: FAIL test_drop_action_ETH:

Re: [PATCH v3 4/4] dts: add sr-iov section to docs

2025-07-03 Thread Patrick Robb
Reviewed-by: Patrick Robb Tested-by: Patrick Robb

Re: [PATCH v3 3/4] dts: add physical function capability check

2025-07-03 Thread Patrick Robb
oftnic(TestSuite): > """Softnic test suite.""" > diff --git a/dts/tests/TestSuite_uni_pkt.py > b/dts/tests/TestSuite_uni_pkt.py > index fdb9c29059..690c5d4fd1 100644 > --- a/dts/tests/TestSuite_uni_pkt.py > +++ b/dts/tests/TestSuite_uni_pkt.py > @@ -20,6 +20,7 @@ > from scapy.packet import Packet, Raw > > from framework.remote_session.testpmd_shell import ( > +NicCapability, > RtePTypes, > SimpleForwardingModes, > TestPmdShell, > @@ -258,6 +259,7 @@ def test_nsh_packet_detect(self) -> None: > with TestPmdShell() as testpmd: > self.setup_session(testpmd=testpmd, expected_flags=flag_list, > packet_list=packet_list) > > +@requires(NicCapability.PHYSICAL_FUNCTION) > @func_test > def test_vxlan_tunnel_packet_detect(self) -> None: > """Ensure the correct flags are shown in the verbose output when > sending VXLAN packets. > -- > 2.49.0 > > In principle some of the functions performed in these testsuites should be possible via VFs. As a follow up task in 25.11 we should assess this and see if the total list of VF compatible testsuites can be extended. Reviewed-by: Patrick Robb Tested-by: Patrick Robb

Re: [PATCH v3 2/4] dts: remove unnecessary testpmd verification

2025-07-03 Thread Patrick Robb
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 Tested-by: Patrick Robb

Re: [PATCH v3 1/4] dts: add virtual functions to framework

2025-07-03 Thread Patrick Robb
On Wed, Jul 2, 2025 at 12:23 PM Dean Marx wrote: > Add virtual functions to DTS framework, along with > a field for specifying VF test runs in the config file. > > Signed-off-by: Patrick Robb > Signed-off-by: Dean Marx > --- > dts/framework/config/test_run.py

Re: [PATCH 2/2] dts: add generic blocking app class

2025-07-03 Thread Patrick Robb
LGTM, thanks. As it relates to the TREX patch, yes I will try to refactor towards using this to handle the TREX foreground server process. I guess the one change I would need to make is changing the default InteractiveShell timeout from 5 seconds to a larger number (like 20) since TREX can take a

Re: [PATCH 1/2] dts: add DPDK build app helper function

2025-07-03 Thread Patrick Robb
uot;""Retrieve path for a DPDK app.""" > +return self._session.join_remote_path(self.remote_dpdk_build_dir, > "app", f"dpdk-{app_name}") > + > @cached_property > def remote_dpdk_tree_path(self) -> PurePath: > """The remote DPDK tree path.""" > -- > 2.43.0 > > Otherwise this looks fine for dumpcap and the others /app apps - thanks. Reviewed-by: Patrick Robb

Re: [PATCH 2/2] dts: rework test results

2025-07-03 Thread Patrick Robb
lass ResultLeaf(BaseModel): > +"""Class representing a result in the results tree. > > -class DtsRunResultDict(TypedDict): > -"""Represents the `DtsRunResult` results. > +A leaf node that can contain the results for a > :class:`~.test_suite.TestSuite`, > +:class:`.test_suite.TestCase` or a DTS execution step. > > Attributes: > -test_runs: A list of test run results. > -summary: A summary dictionary containing overall statistics for > the test runs. > +result: The actual result. > +reason: The reason of the result. > """ > >From running some testcases that resulted in Error or Fail, I agree adding this is a big benefit. Providing an example for any others on the mailing list who are curious: rte_flow: FAIL test_drop_action_ETH: PASS test_drop_action_IP: PASS test_drop_action_L4: PASS test_drop_action_VLAN: PASS test_egress_rules: SKIP reason: flow rule failed validation. test_jump_action: PASS test_modify_actions: FAIL reason: Packet was never received. test_priority_attribute: PASS test_queue_action_ETH: PASS test_queue_action_IP: PASS test_queue_action_L4: PASS test_queue_action_VLAN: PASS > > > -- > 2.43.0 > > Looks good, I will apply to next-dts now. Reviewed-by: Patrick Robb Tested-by Patrick Robb

Re: [PATCH 1/2] dts: change test suite name property

2025-07-03 Thread Patrick Robb
Reviewed-by: Patrick Robb On Fri, Jun 27, 2025 at 11:12 AM Thomas Wilks wrote: > From: Luca Vizzarro > > The test suite name property was previously returning the class name > instead of the way that test suite are actually named, e.g. > TestHelloWorld instead of hello_world.

  1   2   3   4   5   6   >