Re: [PATCH v2 1/3] dts: add boolean to adjust addresses

2024-07-17 Thread Nicholas Pratte
> It might also be worth naming what the default is in the doc-string > (by which I mean that the parameter defaults to True, not the default > address scheme). I can fix that.

Re: [PATCH v2 2/3] dts: add testpmd methods for test suite

2024-07-17 Thread Nicholas Pratte
anything, but that is still useful > to note by annotating it as "None". Surprised I never saw that. I'll fix this. > On Tue, Jul 2, 2024 at 3:25 PM Nicholas Pratte wrote: > > > > Several new methods have been added to TestPMDShell in order to pro

[PATCH v3 0/3] Mac Filter Port to New DTS

2024-07-18 Thread Nicholas Pratte
v3: * Minor adjustments to doc strings * Return labels added for testpmd methods Nicholas Pratte (3): dts: add boolean to adjust addresses dts: add methods for setting mac and multicast addresses dts: mac filter test suite refactored for new dts dts/framework/config

[PATCH v3 1/3] dts: add boolean to adjust addresses

2024-07-18 Thread Nicholas Pratte
boolean is true by default. Bugzilla ID: 1454 Signed-off-by: Nicholas Pratte --- dts/framework/test_suite.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dts/framework/test_suite.py b/dts/framework/test_suite.py index 694b2eba65..551a587525 100644 --- a/dts/framework

[PATCH v3 2/3] dts: add methods for setting mac and multicast addresses

2024-07-18 Thread Nicholas Pratte
est suites, and their implementations have been copied, but are subject to change; they are not the focus of this patch. Bugzilla ID: 1454 Signed-off-by: Nicholas Pratte --- dts/framework/remote_session/testpmd_shell.py | 179 ++ 1 file changed, 179 insertions(+) diff --git

[PATCH v3 3/3] dts: mac filter test suite refactored for new dts

2024-07-18 Thread Nicholas Pratte
--rxfreet=64 --mbcache=250 --portmask=0x3 Bugzilla ID: 1454 Signed-off-by: Nicholas Pratte --- v2: * Refactored the address pool capacity tests to use all available octets in the mac address. * Change the payload to 'X' characters instead of 'P' charact

[RFC PATCH v3 0/2] Initial Implementation For Jumbo Frames

2024-07-26 Thread Nicholas Pratte
v3: * Refactored to use TestPMDShell context manager. NOTE: Assessing the boundaries and discern the correct assumption for ethernet overhead is still to be discussed. Thus, while each individual test case may pass, the test cases may not yet be precise. Nicholas Pratte (2): dts: add port

[RFC PATCH v3 1/2] dts: add port config mtu options to testpmd shell

2024-07-26 Thread Nicholas Pratte
Testpmd offers mtu configuration options that omit ethernet overhead calculations when set. This patch adds easy-of-use methods to leverage these runtime options. Bugzilla ID: 1421 Signed-off-by: Nicholas Pratte --- dts/framework/remote_session/testpmd_shell.py | 20 ++- 1 file

[RFC PATCH v3 2/2] dts: Initial Implementation For Jumbo Frames Test Suite

2024-07-26 Thread Nicholas Pratte
directly from the old DTS framework, and the general methodology is the same as well. The process, at this point, has been refactored to operate within the new DTS framework. Bugzilla ID: 1421 Signed-off-by: Nicholas Pratte --- dts/framework/config/conf_yaml_schema.json | 3 +- dts/tests

[RFC PATCH v3 0/2] Initial Implementation For Jumbo Frames

2024-07-26 Thread Nicholas Pratte
v3: * Refactored to use TestPMDShell context manager. NOTE: Assessing the boundaries and discern the correct assumption for ethernet overhead is still to be discussed. Thus, while each individual test case may pass, the test cases may not yet be precise. Nicholas Pratte (2): dts: add port

Re: [PATCH v3 1/4] dts: add send_packets to test suites and rework packet addressing

2024-07-26 Thread Nicholas Pratte
This is great, I'll be using this in-favor of the boolean solution that I implemented! Just to bring this to your attention. I am currently working on some Generic Routing Encapsulation suites the require multiple IP layers at packet creation; they look something like: Ether() / IP() / GRE() / IP(

[PATCH v4 0/2] Mac Filter Port to New DTS

2024-07-26 Thread Nicholas Pratte
v4: * Refactored test suite to use context manager. * Added dependencies for vlan testpmd methods and adjust addresses. Nicholas Pratte (2): dts: add methods for setting mac and multicast addresses dts: mac filter test suite refactored for new dts dts/framework/config

[PATCH v4 1/2] dts: add methods for setting mac and multicast addresses

2024-07-26 Thread Nicholas Pratte
based on a boolean 'add or remove' parameter. The success or failure of each call can be verified if a user deems it necessary. Bugzilla ID: 1454 Signed-off-by: Nicholas Pratte --- dts/framework/remote_session/testpmd_shell.py | 59 +++ 1 file changed, 59 insertions(+) d

[PATCH v4 2/2] dts: mac filter test suite refactored for new dts

2024-07-26 Thread Nicholas Pratte
--rxfreet=64 --mbcache=250 --portmask=0x3 depends-on: patch-142691 ("dts: add send_packets to test suites and rework packet addressing") depends-on: patch-142696 ("dts: add VLAN methods to testpmd shell") Bugzilla ID: 1454 Signed-off-by: Nicholas Pratte --- v2: * Refact

[PATCH v4 1/2] dts: add methods for setting mac and multicast addresses

2024-07-26 Thread Nicholas Pratte
based on a boolean 'add or remove' parameter. The success or failure of each call can be verified if a user deems it necessary. Bugzilla ID: 1454 Signed-off-by: Nicholas Pratte --- dts/framework/remote_session/testpmd_shell.py | 59 +++ 1 file changed, 59 insertions(+) d

[PATCH v4 2/2] dts: mac filter test suite refactored for new dts

2024-07-26 Thread Nicholas Pratte
--rxfreet=64 --mbcache=250 --portmask=0x3 depends-on: patch-142691 ("dts: add send_packets to test suites and rework packet addressing") depends-on: patch-142696 ("dts: add VLAN methods to testpmd shell") Bugzilla ID: 1454 Signed-off-by: Nicholas Pratte --- v2: * Refact

Re: [PATCH v3 1/4] dts: add send_packets to test suites and rework packet addressing

2024-07-26 Thread Nicholas Pratte
I'll make sure to look over the other parts of this series and leave reviews at some point next week, but I prioritized this since I will be using this patch at some point in my GRE suites. > diff --git a/dts/framework/test_suite.py b/dts/framework/test_suite.py > index 694b2eba65..0b678ed62d 100

Re: [PATCH v2 1/1] dts: add text parser for testpmd verbose output

2024-07-30 Thread Nicholas Pratte
Good work! I left some probing/clarifying comments below for you. > +@dataclass > +class TestPmdVerboseOutput(TextParser): > +"""Verbose output generated by Testpmd. > + > +This class is the top level of the output, containing verbose output > delimited by > +"port X/queue Y: sent/re

Re: [PATCH v2 1/1] dts: add text parser for testpmd verbose output

2024-08-02 Thread Nicholas Pratte
> You're right that in most cases it would come from the stop output, > but the output from that stop command has one other thing as well that > I would consider valuable which is statistics of packets handled by > ports specifically for the duration of the packet forwarding you are > stopping. It

Re: [PATCH v2 1/1] dts: add text parser for testpmd verbose output

2024-08-05 Thread Nicholas Pratte
> I like the sound of this idea a lot actually since it would remove the > chance of the output just completely being thrown away. In my own test > suite I managed to dance around this by strategically placing my > testpmd commands, but this could save people some headache in the > future. I feel l

[RFC v1 0/2] dts: Ethertype ethdev api test suite

2024-08-05 Thread Nicholas Pratte
ing this test suite is the need to modify the tpid at the 'Ether' layer within Scapy, as doing so modifies the correct tpid needed for testing; this might seem counter-intuitive at first glance. Nicholas Pratte (2): dts: add additional vlan configuration to testpmd shell class dts: po

[RFC v1 1/2] dts: add additional vlan configuration to testpmd shell class

2024-08-05 Thread Nicholas Pratte
beena added to adjust both the inner and outer tpids of ingressing and egressing packets. Bugzilla ID: 1505 Signed-off-by: Nicholas Pratte --- dts/framework/remote_session/testpmd_shell.py | 55 +++ 1 file changed, 55 insertions(+) diff --git a/dts/framework/remote_session

[RFC v1 2/2] dts: port ethertype ethdev api test suite to new dts framework

2024-08-05 Thread Nicholas Pratte
ser for testpmd verbose output") depends-on: 139227 ("dts: skip test cases based on capabilities") Signed-off-by: Nicholas Pratte --- dts/framework/config/conf_yaml_schema.json | 3 +- dts/tests/TestSuite_ethertype_config.py| 381 + 2 files changed,

[RFC v1 0/1] dts: separate allowed values from json schema

2024-08-07 Thread Nicholas Pratte
the use of '$defs' instead of references to a local file. Nicholas Pratte (1): dts: split enums from primary json schema dts/framework/config/__init__.py | 4 + dts/framework/config/conf_allowed_values.json | 131 ++ dts/framework/config/conf_yaml_schem

[RFC v1 1/1] dts: split enums from primary json schema

2024-08-07 Thread Nicholas Pratte
from the primary schema can achieve both of these needs. Signed-off-by: Nicholas Pratte --- dts/framework/config/__init__.py | 4 + dts/framework/config/conf_allowed_values.json | 131 ++ dts/framework/config/conf_yaml_schema.json| 111 ++- 3 files

Re: [PATCH v1 1/1] dts: add admin privileges to hugepage mounting

2024-08-12 Thread Nicholas Pratte
Reviewed-by: Nicholas Pratte On Mon, Aug 12, 2024 at 11:04 AM wrote: > > From: Jeremy Spewock > > There were two different commands in the hugepage mounting process that > were not using super-user privileges; one for unmounting hugepages and > another for re-mounting them. T

Re: [PATCH v3 1/1] dts: add text parser for testpmd verbose output

2024-08-12 Thread Nicholas Pratte
Great work! I think it'd be fine to just keep if you ask me, I could see this being used in the future. I'm also looking at it from the perspective of 'what if i would have to write this myself,' if it turns out that we need it again for something later. It's easier to remove later if it turns out

Re: [PATCH 1/1] dts: add binding to different drivers to TG node

2024-08-12 Thread Nicholas Pratte
Makes sense to me! Reviewed-by: Nicholas Pratte On Mon, Aug 12, 2024 at 1:23 PM wrote: > > From: Jeremy Spewock > > The DTS framework in its current state supports binding ports to > different drivers on the SUT node but not the TG node. The TG node > already has the informa

Re: [PATCH v1] dts: add package mode config and updated README

2024-08-12 Thread Nicholas Pratte
Reviewed-by: Nicholas Pratte On Mon, Aug 12, 2024 at 12:35 PM Dean Marx wrote: > > In the current DTS setup description, the user installs poetry > with the --no-root option. However, adding 'package-mode = false' > to the pyproject.toml sets the same configuration, and ru

Re: [PATCH v1 1/2] dts: add csum HW offload to testpmd shell

2024-08-12 Thread Nicholas Pratte
On Mon, Aug 12, 2024 at 9:39 AM Dean Marx wrote: > > add csum_set_hw method to testpmd shell class. Port over > set_verbose and port start/stop from queue start/stop suite. > > Signed-off-by: Dean Marx > --- > dts/framework/remote_session/testpmd_shell.py | 94 +++ > 1 file chang

Re: [PATCH v1] dts: correct typos in conf.yaml

2024-08-13 Thread Nicholas Pratte
Good catch! Reviewed-by: Nicholas Pratte On Tue, Aug 13, 2024 at 1:17 PM Dean Marx wrote: > > correct docstring error in conf.yaml showing incorrect > example pci address for TG nodes > > Signed-off-by: Dean Marx > --- > dts/conf.yaml | 8 > 1 file cha

[PATCH v1 0/3] dts: rework topology definition in dts config

2024-08-21 Thread Nicholas Pratte
within test run configuration; that is what this series achieves. Nicholas Pratte (3): dts: rework port attributes in config module dts: rework testbed_model Port objects to contain unique identifiers dts: rework test suite and dts runner to include test_run configs dts/conf.yaml

[PATCH v1 1/3] dts: rework port attributes in config module

2024-08-21 Thread Nicholas Pratte
testbeds for the SUT and TG must have an equal number of specified ports. In each given array or ports, SUT port 0 is connected to TG port 0, SUT port 1 is connected to TG port 1, etc. Bugzilla ID: 1478 Signed-off-by: Nicholas Pratte --- dts/conf.yaml | 32

[PATCH v1 2/3] dts: rework testbed_model Port objects to contain unique identifiers

2024-08-21 Thread Nicholas Pratte
In order to leverage the usability of unique identifiers on ports, the testbed_model Port object needs some refactoring/trimming of obsolete or needless attributes. Bugzilla ID: 1478 Signed-off-by: Nicholas Pratte --- dts/framework/testbed_model/port.py | 45 +++-- 1

[PATCH v1 3/3] dts: rework test suite and dts runner to include test_run configs

2024-08-21 Thread Nicholas Pratte
: 1478 Signed-off-by: Nicholas Pratte --- dts/framework/runner.py | 16 +--- dts/framework/test_suite.py | 33 + 2 files changed, 34 insertions(+), 15 deletions(-) diff --git a/dts/framework/runner.py b/dts/framework/runner.py index 6b6f6a05f5

Re: [PATCH v3 01/12] dts: fix default device error handling mode

2024-08-27 Thread Nicholas Pratte
On Wed, Aug 21, 2024 at 10:53 AM Juraj Linkeš wrote: > > The device_error_handling_mode of testpmd port may not be present, e.g. > in VM ports. > > Fixes: 61d5bc9bf974 ("dts: add port info command to testpmd shell") > > Signed-off-by: Juraj Linkeš > --- Reviewed-by: Nicholas Pratte

Re: [PATCH v3 02/12] dts: add the aenum dependency

2024-08-27 Thread Nicholas Pratte
stance. > > DTS needs to return different instances in the above scenario so that we > can map capabilities with different names to the same function that > retrieves the capabilities. > > Signed-off-by: Juraj Linkeš Reviewed-by: Nicholas Pratte

Re: [RFC PATCH v3 2/2] dts: Initial Implementation For Jumbo Frames Test Suite

2024-08-29 Thread Nicholas Pratte
Hi Alex, thanks for the review! See my comments below. > > +IP_HEADER_LEN = 20 > > +ETHER_STANDARD_FRAME = 1500 > > +ETHER_JUMBO_FRAME_MTU = 9000 > > For these constants, I am confused why one is "FRAME" and the other is > "MTU". The value of 'ETHER_STANDARD_FRAME' is 1500 (the standard MTU > si

Re: [PATCH v3 1/4] dts: add send_packets to test suites and rework packet addressing

2024-08-29 Thread Nicholas Pratte
Hi Jeremy, sorry for the delay! See my comments below. > > > Assumptions: > > > Two links between SUT and TG, one link is TG -> SUT, the > > > other SUT -> TG. > > > > > > Args: > > > -packet: The packet to modify. > > > +packets: The packet

Re: [PATCH v3 03/12] dts: add test case decorators

2024-08-30 Thread Nicholas Pratte
Reviewed-by: Nicholas Pratte On Wed, Aug 21, 2024 at 10:53 AM Juraj Linkeš wrote: > > Add decorators for functional and performance test cases. These > decorators add attributes to the decorated test cases. > > With the addition of decorators, we change the test case discovery &

Re: [PATCH v4] dts: add Dockerfile

2024-02-29 Thread Nicholas Pratte
Tested-by: Nicholas Pratte On Thu, Feb 29, 2024 at 10:48 AM Patrick Robb wrote: > > > -- Forwarded message - > From: > Date: Tue, Jan 16, 2024 at 2:18 PM > Subject: [PATCH v4] dts: add Dockerfile > To: , , < > tho...@monjalon.net>, , , <

Re: [PATCH v3 3/3] dts: add API doc generation

2024-02-29 Thread Nicholas Pratte
Tested-by: Nicholas Pratte The tool used to generate developer docs is Sphinx, which is already in use in DPDK. The same configuration is used to preserve style, but it's been augmented with doc-generating configuration. There's a change that modifies how the sidebar displays t

Re: [PATCH v1] dts: fix smoke tests driver regex

2024-02-29 Thread Nicholas Pratte
Tested-by: Nicholas Pratte > > Add hyphen to the regex, which is needed for drivers such as vfio-pci. > > Fixes: 88489c0501af ("dts: add smoke tests") > Cc: jspew...@iol.unh.edu > Signed-off-by: Juraj Linkeš > --- > dts/tests/TestSuite_smoke_tests.py | 2 +- &g

Re: [PATCH v4] dts: Change hugepage runtime config to 2MB Exclusively

2024-04-29 Thread Nicholas Pratte
I fixed the docstring under setup_hugepages in os_session, and I also made a quick fix to the dts.rst documentation. For the dts.rst documentation, I think the following changes make more sense, based on the concerns outlined: (here is a snip of the documentation with the change I made) "as doing

[PATCH v5 1/2] dts: Change hugepage runtime config to 2MB Exclusively

2024-04-30 Thread Nicholas Pratte
difference. If the amount of hugepages requested is either less than or equal to the amount already configured on the system, then nothing is done. Bugzilla ID: 1370 Signed-off-by: Nicholas Pratte Reviewed-by: Jeremy Spewock --- v4: * dts.rst punctuation/grammar corrections and 2mb exclusivity

[PATCH v5 2/2] dts: Change hugepage 'amount' to a different term

2024-04-30 Thread Nicholas Pratte
The term 'amount' is used for uncountable nouns. Since total hugepages is a discrete value (i.e. countable), the declaration of the 'amount' key value pair should be changes to a different term in both the config and the rest of the code. Signed-off-by: Nicholas Pratte

[PATCH v5 0/2] Methodology change for hugepage configuration

2024-04-30 Thread Nicholas Pratte
cover the difference. If the amount of hugepages requested is either greater than or equal to the amount already configured on the system, then nothing is done. Nicholas Pratte (2): dts: Change hugepage runtime config to 2MB Exclusively dts: Change hugepage 'amount' to a different

[PATCH v6 0/2] Methodology change for hugepage configuration

2024-05-07 Thread Nicholas Pratte
difference. If the amount of hugepages requested is either greater than or equal to the amount already configured on the system, then nothing is done. Nicholas Pratte (2): dts: Change hugepage runtime config to 2MB Exclusively dts: Change hugepage 'amount' to a different term

[PATCH v6 1/2] dts: Change hugepage runtime config to 2MB Exclusively

2024-05-07 Thread Nicholas Pratte
difference. If the amount of hugepages requested is either less than or equal to the amount already configured on the system, then nothing is done. Bugzilla ID: 1370 Signed-off-by: Nicholas Pratte Reviewed-by: Jeremy Spewock --- v4: * dts.rst punctuation/grammar corrections and 2mb exclusivity

[PATCH v6 2/2] dts: Change hugepage 'amount' to a different term

2024-05-07 Thread Nicholas Pratte
The term 'amount' is used for uncountable nouns. Since total hugepages is a discrete value (i.e. countable), the declaration of the 'amount' key value pair should be changes to a different term in both the config and the rest of the code. Signed-off-by: Nicholas Pratte

[PATCH v6 0/2] Methodology change for hugepage configuration

2024-05-07 Thread Nicholas Pratte
difference. If the amount of hugepages requested is either greater than or equal to the amount already configured on the system, then nothing is done. Nicholas Pratte (2): dts: Change hugepage runtime config to 2MB Exclusively dts: Change hugepage 'amount' to a different term

[PATCH v6 1/2] dts: Change hugepage runtime config to 2MB Exclusively

2024-05-07 Thread Nicholas Pratte
difference. If the amount of hugepages requested is either less than or equal to the amount already configured on the system, then nothing is done. Bugzilla ID: 1370 Signed-off-by: Nicholas Pratte Reviewed-by: Jeremy Spewock --- v4: * dts.rst punctuation/grammar corrections and 2mb exclusivity

[PATCH v6 2/2] dts: Change hugepage 'amount' to a different term

2024-05-07 Thread Nicholas Pratte
The term 'amount' is used for uncountable nouns. Since total hugepages is a discrete value (i.e. countable), the declaration of the 'amount' key value pair should be changes to a different term in both the config and the rest of the code. Signed-off-by: Nicholas Pratte

Re: [PATCH v6 0/2] Methodology change for hugepage configuration

2024-05-07 Thread Nicholas Pratte
Resending the patch and superseding the old one on patchwork. I accidentally sent this patch series through some kind of container instance. On Tue, May 7, 2024 at 1:44 PM Nicholas Pratte wrote: > > In order to prevent accidental misconfiguration of hugepages at runtime, > the followin

Re: [PATCH v6 0/2] Methodology change for hugepage configuration

2024-05-15 Thread Nicholas Pratte
ad; I changed the description text from "amount of" to "number of." Hopefully this answers your question. Again, I ran into some issues sending the latest version out for this patch On Mon, May 13, 2024 at 5:53 AM Juraj Linkeš wrote: > > What's the difference between th

Re: [PATCH v5 2/2] dts: Change hugepage 'amount' to a different term

2024-05-15 Thread Nicholas Pratte
On Mon, May 13, 2024 at 6:06 AM Juraj Linkeš wrote: > > On Tue, May 7, 2024 at 3:00 PM Bruce Richardson > wrote: > > > > On Tue, May 07, 2024 at 01:43:30PM +0100, Luca Vizzarro wrote: > > > On 07/05/2024 13:05, Bruce Richardson wrote: > > > > Sorry to be late to the reviews here, but since this i

Re: [PATCH v2 5/5] dts: add `show port stats` command to TestPmdShell

2024-05-20 Thread Nicholas Pratte
I've been running some local tests using a mock test suite. Each method you created generates output as expected, but show_port_stats_all() is printing out an empty list; I'm not sure this is intentional or not. I don't have much experience with regular expressions to be able to discern what is goi

Re: [PATCH v2 0/3] Improve interactive shell output gathering and logging

2024-05-20 Thread Nicholas Pratte
Acked-by: Nicholas Pratte On Thu, May 9, 2024 at 5:59 AM Luca Vizzarro wrote: > > On 01/05/2024 17:16, jspew...@iol.unh.edu wrote: > > This version addresses comments from the last and adds an additional > > improvement to the logging output that comes from interactive shell

Re: [PATCH v2 0/2] dts: update mypy and clean up

2024-05-20 Thread Nicholas Pratte
Ran into no issues with this when testing your port stats and info patch, so I'll provide a tested tag as well. Other than a couple of issues listed in dts-check-format, everything looks good. Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Tue, May 14, 2024 at 7:34 AM Luca Viz

Re: [PATCH v2 0/8] dts: add testpmd params

2024-05-22 Thread Nicholas Pratte
In addition to the pmd_scatter suite, I refactored my jumboframes suite to use this new module for testing purposes; everything works great, and the format looks much better too. Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 9, 2024 at 7:21 AM Luca Vizzarro wrote

Re: [PATCH v2 0/2] dts: update mypy and clean up

2024-05-24 Thread Nicholas Pratte
Disregard that last comment, it was a mistake on my end. Updating the dependencies in my container instance fixed the problem. On Tue, May 21, 2024 at 10:59 AM Luca Vizzarro wrote: > > On 20/05/2024 16:37, Nicholas Pratte wrote: > > Ran into no issues with this when testing your po

[RFC PATCH 0/1] Initial Implementation For Jumbo Frames

2024-05-24 Thread Nicholas Pratte
about it. The current implementation is not developed with both the capabilities patch and the params patch in mind; however, the current design can and will be refactored to do so. Nicholas Pratte (1): Initial Implementation For Jumbo Frames Test Suite dts/framework/config/conf_yaml_schema

[RFC PATCH 1/1] Initial Implementation For Jumbo Frames Test Suite

2024-05-24 Thread Nicholas Pratte
the old DTS framework, and the general methodology is the same as well. The process, at this point, has been refactored to operate within the new DTS framework. Bugzilla ID: 1421 Signed-off-by: Nicholas Pratte --- dts/framework/config/conf_yaml_schema.json | 3 +- dts/framework/test_suite.py

Re: [RFC PATCH 0/1] Initial Implementation For Jumbo Frames

2024-05-24 Thread Nicholas Pratte
This is being superseded, ignore this submission. Thanks. On Fri, May 24, 2024 at 2:07 PM Nicholas Pratte wrote: > > The following is a rough design for the implementation of the jumbo > frames test suite in new DTS. The test suite uses the same > testing methodology from th

[RFC PATCH 0/1] Initial Implementation For Jumbo Frames

2024-05-24 Thread Nicholas Pratte
about it. The current implementation is not developed with both the capabilities patch and the params patch in mind; however, the current design can and will be refactored to do so. Nicholas Pratte (1): Initial Implementation For Jumbo Frames Test Suite dts/framework/config/conf_yaml_schema

[RFC PATCH] Initial Implementation For Jumbo Frames Test Suite

2024-05-24 Thread Nicholas Pratte
directly from the old DTS framework, and the general methodology is the same as well. The process, at this point, has been refactored to operate within the new DTS framework. Bugzilla ID: 1421 Signed-off-by: Nicholas Pratte --- dts/framework/config/conf_yaml_schema.json | 3 +- dts/tests

Re: [RFC PATCH v2] dts: skip test cases based on capabilities

2024-05-24 Thread Nicholas Pratte
I think this implementation is great, and I plan on testing it properly with the jumbo frames suite that I am developing before giving the final review. The only input that I could reasonably give is a couple rewordings on the docstrings which I'll highlight below. On Thu, Apr 11, 2024 at 4:48 AM

Re: [PATCH v2 1/8] dts: add params manipulation module

2024-05-28 Thread Nicholas Pratte
Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 9, 2024 at 7:21 AM Luca Vizzarro wrote: > > This commit introduces a new "params" module, which adds a new way > to manage command line parameters. The provided Params dataclass > is able to read the fie

Re: [PATCH 2/6] dts: use Params for interactive shells

2024-05-28 Thread Nicholas Pratte
Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Tue, Mar 26, 2024 at 3:04 PM Luca Vizzarro wrote: > > Make it so that interactive shells accept an implementation of `Params` > for app arguments. Convert EalParameters to use `Params` instead. > > String command line

Re: [PATCH v2 3/8] dts: refactor EalParams

2024-05-28 Thread Nicholas Pratte
Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 9, 2024 at 7:21 AM Luca Vizzarro wrote: > > Move EalParams to its own module to avoid circular dependencies. > > Signed-off-by: Luca Vizzarro > Reviewed-by: Paul Szczepanek > --- > dts/fr

Re: [PATCH v2 4/8] dts: remove module-wide imports

2024-05-28 Thread Nicholas Pratte
Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 9, 2024 at 7:21 AM Luca Vizzarro wrote: > > Remove the imports in the testbed_model and remote_session modules init > file, to avoid the initialisation of unneeded modules, thus removing or > limiting the risk

Re: [PATCH v2 6/8] dts: use testpmd params for scatter test suite

2024-05-28 Thread Nicholas Pratte
Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 9, 2024 at 7:21 AM Luca Vizzarro wrote: > > Update the buffer scatter test suite to use TestPmdParameters > instead of the StrParams implementation. > > Signed-off-by: Luca Vizzarro > Reviewed-b

Re: [PATCH v2 7/8] dts: rework interactive shells

2024-05-28 Thread Nicholas Pratte
Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 9, 2024 at 7:21 AM Luca Vizzarro wrote: > > The way nodes and interactive shells interact makes it difficult to > develop for static type checking and hinting. The current system relies > on a top-down approach, a

Re: [PATCH v2 8/8] dts: use Unpack for type checking and hinting

2024-05-28 Thread Nicholas Pratte
Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 9, 2024 at 7:21 AM Luca Vizzarro wrote: > > Interactive shells that inherit DPDKShell initialise their params > classes from a kwargs dict. Therefore, static type checking is > disabled. This change uses the func

Re: [PATCH v2 5/8] dts: add testpmd shell params

2024-05-28 Thread Nicholas Pratte
Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 9, 2024 at 7:21 AM Luca Vizzarro wrote: > > Implement all the testpmd shell parameters into a data structure. > > Signed-off-by: Luca Vizzarro > Reviewed-by: Paul Szczepanek > --- > dts/framew

Re: [PATCH v2 2/8] dts: use Params for interactive shells

2024-05-28 Thread Nicholas Pratte
Provided a review for the wrong version... Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 9, 2024 at 7:21 AM Luca Vizzarro wrote: > > Make it so that interactive shells accept an implementation of `Params` > for app arguments. Convert EalParameters to use `Params

[PATCH v7 0/2] Methodology change for hugepage configuration

2024-05-30 Thread Nicholas Pratte
difference. If the amount of hugepages requested is either greater than or equal to the amount already configured on the system, then nothing is done. Nicholas Pratte (2): dts: Change hugepage runtime config to 2MB Exclusively dts: Change hugepage 'amount' to a different term

[PATCH v7 1/2] dts: Change hugepage runtime config to 2MB Exclusively

2024-05-30 Thread Nicholas Pratte
difference. If the amount of hugepages requested is either less than or equal to the amount already configured on the system, then nothing is done. Bugzilla ID: 1370 Signed-off-by: Nicholas Pratte Reviewed-by: Jeremy Spewock --- v8: * Some areas of the dts.rst needed to be rewritten to reflect the

[PATCH v7 2/2] dts: Change hugepage 'amount' to a different term

2024-05-30 Thread Nicholas Pratte
The term 'amount' is used for uncountable nouns. Since total hugepages is a discrete value (i.e. countable), the declaration of the 'amount' key value pair should be changes to a different term in both the config and the rest of the code. --- * v8: Decided on a variable name "number_of" to be used

[PATCH v8 0/2] Methodology change for hugepage configuration

2024-05-30 Thread Nicholas Pratte
difference. If the amount of hugepages requested is either greater than or equal to the amount already configured on the system, then nothing is done. Nicholas Pratte (2): dts: Change hugepage runtime config to 2MB Exclusively dts: Change hugepage 'amount' to a different term

[PATCH v8 0/2] Methodology change for hugepage configuration

2024-05-30 Thread Nicholas Pratte
difference. If the amount of hugepages requested is either greater than or equal to the amount already configured on the system, then nothing is done. Nicholas Pratte (2): dts: Change hugepage runtime config to 2MB Exclusively dts: Change hugepage 'amount' to a different term

[PATCH v8 1/2] dts: Change hugepage runtime config to 2MB Exclusively

2024-05-30 Thread Nicholas Pratte
difference. If the amount of hugepages requested is either less than or equal to the amount already configured on the system, then nothing is done. Bugzilla ID: 1370 Signed-off-by: Nicholas Pratte Reviewed-by: Jeremy Spewock --- v7: * Some areas of the dts.rst needed to be rewritten to reflect the

[PATCH v8 2/2] dts: Change hugepage 'amount' to a different term

2024-05-30 Thread Nicholas Pratte
The term 'amount' is used for uncountable nouns. Since total hugepages is a discrete value (i.e. countable), the declaration of the 'amount' key value pair should be changes to a different term in both the config and the rest of the code. Bugzilla ID: 1370 Signed-off-by: Nicho

Re: [PATCH v3 1/8] dts: add params manipulation module

2024-05-31 Thread Nicholas Pratte
Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 30, 2024 at 11:25 AM Luca Vizzarro wrote: > > This commit introduces a new "params" module, which adds a new way > to manage command line parameters. The provided Params dataclass > is able to read t

Re: [PATCH v3 2/8] dts: use Params for interactive shells

2024-05-31 Thread Nicholas Pratte
Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 30, 2024 at 11:25 AM Luca Vizzarro wrote: > > Make it so that interactive shells accept an implementation of `Params` > for app arguments. Convert EalParameters to use `Params` instead. > > String command line

Re: [PATCH v3 5/8] dts: add testpmd shell params

2024-05-31 Thread Nicholas Pratte
Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 30, 2024 at 11:25 AM Luca Vizzarro wrote: > > Implement all the testpmd shell parameters into a data structure. > > Signed-off-by: Luca Vizzarro > Reviewed-by: Paul Szczepanek > --- > dts/framew

Re: [PATCH v3 4/8] dts: remove module-wide imports

2024-05-31 Thread Nicholas Pratte
Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 30, 2024 at 11:25 AM Luca Vizzarro wrote: > > Remove the imports in the testbed_model and remote_session modules init > file, to avoid the initialisation of unneeded modules, thus removing or > limiting the risk

Re: [PATCH v3 3/8] dts: refactor EalParams

2024-05-31 Thread Nicholas Pratte
Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 30, 2024 at 11:25 AM Luca Vizzarro wrote: > > Move EalParams to its own module to avoid circular dependencies. > > Signed-off-by: Luca Vizzarro > Reviewed-by: Paul Szczepanek > --- > dts/fr

Re: [PATCH v3 8/8] dts: use Unpack for type checking and hinting

2024-05-31 Thread Nicholas Pratte
Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 30, 2024 at 11:25 AM Luca Vizzarro wrote: > > Interactive shells that inherit DPDKShell initialise their params > classes from a kwargs dict. Therefore, static type checking is > disabled. This change uses the func

Re: [PATCH v3 7/8] dts: rework interactive shells

2024-05-31 Thread Nicholas Pratte
Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 30, 2024 at 11:25 AM Luca Vizzarro wrote: > > The way nodes and interactive shells interact makes it difficult to > develop for static type checking and hinting. The current system relies > on a top-down approach

Re: [PATCH v3 6/8] dts: use testpmd params for scatter test suite

2024-05-31 Thread Nicholas Pratte
Tested-by: Nicholas Pratte Reviewed-by: Nicholas Pratte On Thu, May 30, 2024 at 11:25 AM Luca Vizzarro wrote: > > Update the buffer scatter test suite to use TestPmdParameters > instead of the StrParams implementation. > > Signed-off-by: Luca Vizzarro > Reviewed-b

Re: [RFC PATCH v2] dts: skip test cases based on capabilities

2024-06-03 Thread Nicholas Pratte
I was able to use this implementation on the in-development jumboframes suite, setting restrictions on the required link speeds of NICs and using this as a requirement to run all test cases. While the framework you've developed is intuitive for true/false capabilities, this may not be the case for

[PATCH v9 0/2] Methodology change for hugepage configuration

2024-06-07 Thread Nicholas Pratte
difference. If the amount of hugepages requested is either greater than or equal to the amount already configured on the system, then nothing is done. Nicholas Pratte (2): dts: Change hugepage runtime config to 2MB Exclusively dts: Change hugepage 'amount' to a different term

[PATCH v9 1/2] dts: Change hugepage runtime config to 2MB Exclusively

2024-06-07 Thread Nicholas Pratte
difference. If the amount of hugepages requested is either less than or equal to the amount already configured on the system, then nothing is done. Bugzilla ID: 1370 Signed-off-by: Nicholas Pratte Reviewed-by: Jeremy Spewock --- v4: * dts.rst punctuation/grammar corrections and 2mb exclusivity

[PATCH v9 2/2] dts: Change hugepage 'amount' to a different term

2024-06-07 Thread Nicholas Pratte
The term 'amount' is used for uncountable nouns. Since total hugepages is a discrete value (i.e. countable), the declaration of the 'amount' key value pair should be changes to a different term in both the config and the rest of the code. Bugzilla ID: 1370 Signed-off

[PATCH v9 0/2] Methodology change for hugepage configuration

2024-06-07 Thread Nicholas Pratte
difference. If the amount of hugepages requested is either greater than or equal to the amount already configured on the system, then nothing is done. Nicholas Pratte (2): dts: Change hugepage runtime config to 2MB Exclusively dts: Change hugepage 'amount' to a different term

[PATCH v9 1/2] dts: Change hugepage runtime config to 2MB Exclusively

2024-06-07 Thread Nicholas Pratte
difference. If the amount of hugepages requested is either less than or equal to the amount already configured on the system, then nothing is done. Bugzilla ID: 1370 Signed-off-by: Nicholas Pratte Reviewed-by: Jeremy Spewock --- v4: * dts.rst punctuation/grammar corrections and 2mb exclusivity

[PATCH v9 2/2] dts: Change hugepage 'amount' to a different term

2024-06-07 Thread Nicholas Pratte
The term 'amount' is used for uncountable nouns. Since total hugepages is a discrete value (i.e. countable), the declaration of the 'amount' key value pair should be changes to a different term in both the config and the rest of the code. Bugzilla ID: 1370 Signed-off

[PATCH v9 0/2] Methodology change for hugepage configuration

2024-06-10 Thread Nicholas Pratte
difference. If the amount of hugepages requested is either greater than or equal to the amount already configured on the system, then nothing is done. Nicholas Pratte (2): dts: Change hugepage runtime config to 2MB Exclusively dts: Change hugepage 'amount' to a different term

[PATCH v9 1/2] dts: Change hugepage runtime config to 2MB Exclusively

2024-06-10 Thread Nicholas Pratte
difference. If the amount of hugepages requested is either less than or equal to the amount already configured on the system, then nothing is done. Bugzilla ID: 1370 Signed-off-by: Nicholas Pratte Reviewed-by: Jeremy Spewock --- v4: * dts.rst punctuation/grammar corrections and 2mb exclusivity

  1   2   3   >