[PATCH net-next v4 0/9] Create common DPLL configuration API

Kubalewski, Arkadiusz arkadiusz.kubalewski at intel.com
Fri Aug 18 03:15:34 PDT 2023


>From: Jakub Kicinski <kuba at kernel.org>
>Sent: Tuesday, August 15, 2023 7:02 PM
>
>On Tue, 15 Aug 2023 13:52:10 +0200 Jiri Pirko wrote:
>> >> Feels like we're lacking tests here. Is there a common subset of
>> >> stuff we can expect reasonable devices to support?
>> >> Anything you used in development that can be turned into tests?
>> >
>> >Well, we were playing with the tool ynl/cli.py and it's stated in
>> >the cover letter. But needs proper hardware to run. I'm not sure
>> >we can easily create emulation device to run tests.
>>
>> Well, something like "dpllsim", similar to netdevsim would be certainly
>> possible, then you can use it to write selftests for the uapi testing.
>> But why don't we do that as a follow-up patchset?
>
>I was thinking about a test that can be run against real HW.
>Something that a new vendor implementing DPLL can run and
>validate that their implementation behaves as expected.
>And something that distributors and stable kernels could
>potentially use to validate the code still works.
>
>We don't have any well established user space to make use of this
>new functionality, there's high risk that drivers will invent their
>own ways of interpreting the API.
>
>Perhaps something that Red Hat could help with? I'm guessing you'd
>be writing test to validate this for RHEL, anyway?

RH is doing some manual tests on their own, but also works with Intel's
Validation. Usually our Validation team works with end-user point of view,
but here we had to engage them to work with cli.py and confirm that
control over dpll works as expected.

HW agnostic tests were submitted by Michal as RFC for test framework
with fake modules implemented here:
https://lore.kernel.org/netdev/20230817152209.23868-1-michal.michalik@intel.com/#t
We had an agreement on latest dpll-meeting that we will follow up with
patches that would test dpll over fake modules, and we have started it.
As there was no requests to add HW-aware tests yet, we are not ready for
such submission yet. We could probably extended Michal's framework to
make it possible test real HW, but Michal's patches were just submitted,
we do expect some review/changes there, thus we could think of adding
something simpler for now..

Is simple bash script wrapping around cli.py and talking to ice dpll
while verifying the outputs, an acceptable solution?

Thank you!
Arkadiusz



More information about the linux-arm-kernel mailing list