From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id B3AFD4399C;
	Mon, 22 Jan 2024 18:32:05 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id A4EDB402C3;
	Mon, 22 Jan 2024 18:32:05 +0100 (CET)
Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com
 [64.147.123.25])
 by mails.dpdk.org (Postfix) with ESMTP id 5C3B440298;
 Mon, 22 Jan 2024 18:32:04 +0100 (CET)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.47])
 by mailout.west.internal (Postfix) with ESMTP id E09CE3200A24;
 Mon, 22 Jan 2024 12:31:59 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute6.internal (MEProxy); Mon, 22 Jan 2024 12:32:00 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to; s=fm3; t=1705944719;
 x=1706031119; bh=EVfnM6X3lo64QuuR0R3oy3JGglrqteYI52MSJW01GLE=; b=
 Kq1obW0UIhHqhM7b5DtXCLDCOBhucoAcwcleya7y4LpR+LGQjdN2NnH5dI/74NhZ
 A8EfAoLeuZAIYB8fdy7ITxAiX7Es80kNFu/ZlqwvVN4uiZsMAFYG3CN32VOr7c1B
 B2VdXLMpVNmMpak20mJJ+IJ7SQUSgBn6Bnlp0+IWHIxAOhXfdql/EFGfy/rgDcIB
 WtDp+txw1OlxNbUbUFwFOuJRFUJiNdJ2z+kPz0510zfmblpLQTDXBIKf5+cpMaxN
 WdizjbUElFf6S+z0YosU08ZLXTnkHBEc6y+6+v8nn7uXu0mODSK1qskiUMMLghbE
 3MzvAp4qfVotyHizIa6lrg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1705944719; x=
 1706031119; bh=EVfnM6X3lo64QuuR0R3oy3JGglrqteYI52MSJW01GLE=; b=c
 4wQqSZ5JCLUme7r0erIcHQEyn71VIIlhMK+KTs3lcWBfadJ/fLKRFJdhTB6UX0tw
 VsOPGxHoChxFfsLQIV5x4ZCnYKVDiQ1lvB9qPpJWUjpec+ghV3RRcUguJ/NWcTlW
 aWVc5gowDO/p98VH3uSW3TTpyEFve1oY6j5MdbxqDRqs+8TbH31oolQyWiZJ5WHa
 oJY1qAAjZ3v/Oj7fX4UXCaXc8zk+c1EZ1fwoVSQVxwzL9TTY1LsP9UafNIvh7ZIw
 2lDUJC3Ux5qhycKic2jHv54UZoxPNcc2ilqOiVQkpOo1aLVrSMtGklb53SsPqPjc
 YRXglODmppKhghWDddiaA==
X-ME-Sender: <xms:jqauZUFDXx7oLMaM_ckyyGt3Y9He5Zl-aiSUmA_37wkdItAIDw5CUQ>
 <xme:jqauZdUk3ips1HYKlDW4NaOunGZPav-_VtWBpP0AMp5XtFIQ23ltw2VkDzsuRMgix
 7ed5ljCebFb4LN1og>
X-ME-Received: <xmr:jqauZeJkaXdCv2auTyomM3IR749YlWBgv8spRF7N06qkvGt2RlZGIY9vXnhJIOoQmKQp9VbTsIuVwJL4TMwxzBCvOA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdekiedguddttdcutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefhvfevufffkfgjfhgggfgtsehtqhertddttdejnecuhfhrohhmpefvhhho
 mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne
 cuggftrfgrthhtvghrnhepgedttdeljeejgeffkeekkedtjeevtdehvedtkeeivdeuuedv
 ieduvdelveejueejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh
 hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth
X-ME-Proxy: <xmx:jqauZWFsvsmkPEgITmAu4lgdIQMdWHaF-8I9YsZ9HRdD9O4dem1JSg>
 <xmx:jqauZaUPIz8bN88wMqflUxaedgDXlcAgkumUAmC6tBvaCFRmHfT8wA>
 <xmx:jqauZZOD_mRqkD9Xt_nVwbDJcAtuO8Z9F0i_AbZaUi1J4EuszMxDig>
 <xmx:j6auZepJo9LsADWOMAE9XkGpTBprHuxo8ThS7c0X1keFNFj2UxVlIQ>
Feedback-ID: i47234305:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
 22 Jan 2024 12:31:56 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: "Etelson, Gregory" <getelson@nvidia.com>,
 Juraj =?utf-8?B?TGlua2XFoQ==?= <juraj.linkes@pantheon.tech>,
 Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,
 Paul Szczepanek <Paul.Szczepanek@arm.com>,
 Yoan Picchi <yoan.picchi@foss.arm.com>,
 Jeremy Spewock <jspewock@iol.unh.edu>, Patrick Robb <probb@iol.unh.edu>,
 Luca Vizzarro <Luca.Vizzarro@arm.com>
Cc: "ci@dpdk.org" <ci@dpdk.org>, dev@dpdk.org
Subject: Re: DTS testpmd and SCAPY integration
Date: Mon, 22 Jan 2024 18:31:55 +0100
Message-ID: <2127794.bB369e8A3T@thomas>
In-Reply-To: <8dc41944-3ee6-48d0-b1e6-ff086e97aa12@arm.com>
References: <2a287ee7-cda4-f2ab-a4e6-a47021f8573f@nvidia.com>
 <8dc41944-3ee6-48d0-b1e6-ff086e97aa12@arm.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

08/01/2024 13:10, Luca Vizzarro:
> Your proposal sounds rather interesting. Certainly enabling DTS to=20
> accept YAML-written tests sounds more developer-friendly and should=20
> enable quicker test-writing. As this is an extra feature though =E2=80=93=
 and a=20
> nice-to-have, it should definitely be discussed in the DTS meetings as=20
> Honnappa suggested already.

I would not classify this idea as "nice-to-have".
I would split this proposal in 2 parts:
	1/ YAML is an implementation alternative.
	2/ Being able to write a test with a small number of lines,
	reusing some commands from existing tools,
	should be our "must-have" common goal.

Others have mentioned that YAML may not be suitable in complex cases,
and that it would be an additional language for test writing.
I personnaly think we should focus on a single path which is easy to read a=
nd maintain.
=46or the configuration side, YAML is already used in DTS.
=46or the test suite logic, do you think we can achieve the same simplicity
with some Python code?

We discussed how to progress with this proposal during the CI meeting last =
week.
We need to check how it could look and what we can improve to reach this go=
al.
Patrick proposes a meeting this Wednesday at 2pm UTC.