All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Patrick Robb <probb@iol.unh.edu>
Cc: Andrew Bailey <abailey@iol.unh.edu>,
	dev@dpdk.org, luca.vizzarro@arm.com,  dmarx@iol.unh.edu,
	kai.ji@intel.com, dharmikjayesh.thakkar@arm.com,
	david.marchand@redhat.com, gakhil@marvell.com
Subject: Re: [PATCH v5 5/5] dts: add crypto test decorator
Date: Thu, 12 Mar 2026 21:29:15 +0100	[thread overview]
Message-ID: <1850904.VLH7GnMWUR@thomas> (raw)
In-Reply-To: <CAJvnSUDXGacdubwUaWWK3zZNx6zXPmoJLQm5_AdT7=u-mEqiWQ@mail.gmail.com>

12/03/2026 20:54, Patrick Robb:
> On Thu, Mar 12, 2026 at 2:08 PM Thomas Monjalon <thomas@monjalon.net> wrote:
> >
> > 06/03/2026 17:40, Andrew Bailey:
> > > Currently, a test case is decorated to signify whether to use Scapy or
> > > TREX. This change allows test suites that do not use a traffic generator
> > > to avoid the overhead of initializing either one.
> > [...]
> > >                      if (tt.test_type is TestCaseType.FUNCTIONAL and self.func)
> > >                      or (tt.test_type is TestCaseType.PERFORMANCE and self.perf)
> > > +                    or (tt.test_type is TestCaseType.CRYPTO and self.crypto)
> >
> > That's a bit strange to read,
> > because a crypto test can be functional or performance.
> > I suppose we can re-discuss the classification of the tests.
> > If the only need here is about the traffic generator,
> 
> In my opinion this is not quite true. There is another (and more
> important) need associated with the test categories, which is allowing
> users to run only a sub-category of tests according to their interest
> or hardware setup. I.e. we can expect some people to show up and
> desire only to run functional testcases (perhaps they have a minimal
> hardware setup which is not good for performance, or they are only
> working on resolving functional issues) and the test type categories
> allow the users this flexibility with regards to what kinds of DTS
> tests are run.
> 
> > we could make it "raw input" or something like that?
> >
> >
> 
> In any case I agree with Thomas and Andrew that the situation with
> regards to test type classification/organization could use a review
> and a tweak in the 26.07 release. Right now every single crypto_test
> is a performance test (i.e. it runs a crypto workload, compares the
> Gbps output against the Gbps baseline the user set in
> tests_config.yaml for each testcast). But, some open questions for the
> future:
> 
> 1. Is there a need for users to select only functional crypto cases vs
> only perf crypto cases? Or we can just leave all crypto cases in 1
> bucket?
> 2. If the above is true, should we switch the testcase decorators over to:
> 
>     a. ethdev_func
>     b. ethdev_perf
>     c. cryptodev_func
>     d. cryptodev_perf
> 
> and every testcase gets one of these decorators
> 
> OR
> 
> We apply multiple decorators to each testcase (i.e. add both
> crypto_test and func_test to a testcase) and have the framework code
> read the whole set of testcase type decorators and setup accordingly.
> 
> Thomas, is what we have right now in terms of testcase classification
> okay for the 26.03 release, and we can tweak it in 26.07, or do you
> want us to do something in the immediate term?

There is no urgency.
I'm just opening the discussion for future.



      reply	other threads:[~2026-03-12 20:29 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-10 19:34 [PATCH v2 0/5] dts: add cryptodev testing support Andrew Bailey
2026-02-10 19:34 ` [PATCH v2 1/5] dts: add find float method to text parser Andrew Bailey
2026-02-10 19:34 ` [PATCH v2 2/5] dts: add cryptodev package to DTS Andrew Bailey
2026-02-10 19:34 ` [PATCH v2 3/5] dts: add cryptodev throughput test suite Andrew Bailey
2026-02-10 19:34 ` [PATCH v2 4/5] dts: add crypto test decorator Andrew Bailey
2026-02-10 19:34 ` [PATCH v2 5/5] dts: automate VFIO-PCI modprobe in node setup Andrew Bailey
2026-02-13 19:35 ` [PATCH v3 0/5] dts: add cryptodev testing support Andrew Bailey
2026-02-13 19:35   ` [PATCH v3 1/5] dts: add find float method to text parser Andrew Bailey
2026-02-25 21:05     ` Patrick Robb
2026-02-13 19:35   ` [PATCH v3 2/5] dts: add cryptodev package to DTS Andrew Bailey
2026-02-25 21:06     ` Patrick Robb
2026-02-26 19:13       ` Andrew Bailey
2026-02-27 16:15     ` Patrick Robb
2026-02-13 19:35   ` [PATCH v3 3/5] dts: add cryptodev throughput test suite Andrew Bailey
2026-02-27 18:24     ` Patrick Robb
2026-02-27 19:43       ` Andrew Bailey
2026-02-13 19:35   ` [PATCH v3 4/5] dts: add crypto test decorator Andrew Bailey
2026-02-27 18:28     ` Patrick Robb
2026-02-27 19:18       ` Andrew Bailey
2026-02-13 19:35   ` [PATCH v3 5/5] dts: automate VFIO-PCI modprobe in node setup Andrew Bailey
2026-02-27 18:33     ` Patrick Robb
2026-03-02 18:54 ` [PATCH v4 0/5] dts: add cryptodev testing support Andrew Bailey
2026-03-02 18:54   ` [PATCH v4 1/5] dts: add find float method to text parser Andrew Bailey
2026-03-02 18:54   ` [PATCH v4 2/5] dts: automate VFIO-PCI modprobe in node setup Andrew Bailey
2026-03-02 18:54   ` [PATCH v4 3/5] dts: add cryptodev package to DTS Andrew Bailey
2026-03-02 18:54   ` [PATCH v4 4/5] dts: add cryptodev throughput test suite Andrew Bailey
2026-03-05 19:26     ` Patrick Robb
2026-03-05 20:20     ` Patrick Robb
2026-03-02 18:54   ` [PATCH v4 5/5] dts: add crypto test decorator Andrew Bailey
2026-03-06 16:40 ` [PATCH v5 0/5] dts: add cryptodev testing support Andrew Bailey
2026-03-06 16:40   ` [PATCH v5 1/5] dts: add find float method to text parser Andrew Bailey
2026-03-06 16:40   ` [PATCH v5 2/5] dts: automate VFIO-PCI modprobe in node setup Andrew Bailey
2026-03-06 16:40   ` [PATCH v5 3/5] dts: add cryptodev package to DTS Andrew Bailey
2026-03-09  1:26     ` Patrick Robb
2026-03-06 16:40   ` [PATCH v5 4/5] dts: add cryptodev throughput test suite Andrew Bailey
2026-03-06 16:40   ` [PATCH v5 5/5] dts: add crypto test decorator Andrew Bailey
2026-03-12 18:08     ` Thomas Monjalon
2026-03-12 18:48       ` Andrew Bailey
2026-03-12 18:55         ` Thomas Monjalon
2026-03-12 19:54       ` Patrick Robb
2026-03-12 20:29         ` Thomas Monjalon [this message]

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=1850904.VLH7GnMWUR@thomas \
    --to=thomas@monjalon.net \
    --cc=abailey@iol.unh.edu \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=dharmikjayesh.thakkar@arm.com \
    --cc=dmarx@iol.unh.edu \
    --cc=gakhil@marvell.com \
    --cc=kai.ji@intel.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.