Message ID | 20240110144249.20719-1-jspewock@iol.unh.edu (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 59F5543883; Wed, 10 Jan 2024 15:43:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CD09540269; Wed, 10 Jan 2024 15:43:07 +0100 (CET) Received: from mail-yw1-f225.google.com (mail-yw1-f225.google.com [209.85.128.225]) by mails.dpdk.org (Postfix) with ESMTP id EBBF64021E for <dev@dpdk.org>; Wed, 10 Jan 2024 15:43:05 +0100 (CET) Received: by mail-yw1-f225.google.com with SMTP id 00721157ae682-5f68e2e1749so35582147b3.2 for <dev@dpdk.org>; Wed, 10 Jan 2024 06:43:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1704897785; x=1705502585; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cRTjupnKgd9UJbDt8V+1N+BSQ7Dp+bJ/bBVwClGq0qI=; b=HtQ6HJv9KzhHC1PGFAhn1hqt58EV016gGTI/hSGZjeRWhI8A9sYFSPdrL+QzPbuLiz myztGliSNPRrMCmdb3ZGYteINWpykV3McSRydCle+XwF7okxKYBCctUo78z5yx+tjkI+ Z+REd6TN1n81DNw8ZfTgMQr7IkhXwtCKnqLeQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704897785; x=1705502585; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cRTjupnKgd9UJbDt8V+1N+BSQ7Dp+bJ/bBVwClGq0qI=; b=IsNOkYDdTvvrKoU4k0Onawaa/0w4SnEmQ84ddAOKOBKljAUmIAS5ewddf3c3iE8CPu 6UracZ/Q/C+ZHYPDX/hKEywjRzF4PG/ePwijKUBK/lMdDbIBNnRRF6nW07N3jOun6ECv dFWqh5H6XW+t93nHXuxF0TDGC7bPm/XNSQ5c9mA1bM6kwZk/5uJmKjkHyGXNFPspqNvl rKcC8gtVnh0WHfRW8Rso+JOwhFU0srpk9CScmgbEUBPM4x8FgYiSxYLm8plxjcogVhO0 BghTempdxB5nMc9cMJeNmHWFewftNvosYPSilpgietLOw9qrmBYFm3sd7b9f6w7HEnc/ gGYw== X-Gm-Message-State: AOJu0YwOcI5WSZ+f5sN4NCcM3IOLpc/96FGLig0NARj7eaBhpw2rCNNz MXn6IClu4hO5kpz6vxxYMfdS3OIXkb5OnxmF6Xzqa3vNLUlh3o0SaWRMwWJVpm8bPYTEfiMw5A= = X-Google-Smtp-Source: AGHT+IHVZAYgniYGL4SNUge6Qf1zGsXFkZK+by6K7Skvuuda4ZPW/eGOlYw9JikfS4q0M5tFc9Dxn+Y9UojM X-Received: by 2002:a0d:ccc3:0:b0:5d8:87e0:878 with SMTP id o186-20020a0dccc3000000b005d887e00878mr1026660ywd.83.1704897784192; Wed, 10 Jan 2024 06:43:04 -0800 (PST) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [2606:4100:3880:1234::84]) by smtp-relay.gmail.com with ESMTPS id u135-20020a81798d000000b005e3f7399ddesm236296ywc.36.2024.01.10.06.43.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jan 2024 06:43:04 -0800 (PST) X-Relaying-Domain: iol.unh.edu Received: from iol.unh.edu (unknown [IPv6:2606:4100:3880:1257::1083]) by postal.iol.unh.edu (Postfix) with ESMTP id 610836043481; Wed, 10 Jan 2024 09:43:03 -0500 (EST) From: jspewock@iol.unh.edu To: Honnappa.Nagarahalli@arm.com, juraj.linkes@pantheon.tech, thomas@monjalon.net, wathsala.vithanage@arm.com, probb@iol.unh.edu, paul.szczepanek@arm.com, yoan.picchi@foss.arm.com, lylavoie@iol.unh.edu, ferruh.yigit@amd.com, andrew.rybchenko@oktetlabs.ru Cc: dev@dpdk.org, Jeremy Spewock <jspewock@iol.unh.edu> Subject: [PATCH v8 0/7] dts: Port scatter suite over Date: Wed, 10 Jan 2024 09:42:42 -0500 Message-ID: <20240110144249.20719-1-jspewock@iol.unh.edu> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240109153633.766-1-jspewock@iol.unh.edu> References: <20240109153633.766-1-jspewock@iol.unh.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 |
Series |
dts: Port scatter suite over
|
|
Message
Jeremy Spewock
Jan. 10, 2024, 2:42 p.m. UTC
From: Jeremy Spewock <jspewock@iol.unh.edu>
v8:
Address comments by making minor docstring adjustments.
Jeremy Spewock (7):
dts: add startup verification and forwarding modes to testpmd shell
dts: limit EAL parameters to DPDK apps and add parameters to all apps
dts: add optional packet filtering to scapy sniffer
dts: add pci addresses to EAL parameters
dts: allow configuring MTU of ports
dts: add scatter to the yaml schema
dts: add pmd_buffer_scatter test suite
dts/framework/config/conf_yaml_schema.json | 3 +-
dts/framework/exception.py | 7 +
dts/framework/remote_session/testpmd_shell.py | 149 +++++++++++++++++-
dts/framework/test_suite.py | 15 +-
dts/framework/testbed_model/linux_session.py | 8 +
dts/framework/testbed_model/os_session.py | 9 ++
dts/framework/testbed_model/sut_node.py | 28 +++-
dts/framework/testbed_model/tg_node.py | 14 +-
.../traffic_generator/__init__.py | 7 +-
.../capturing_traffic_generator.py | 22 ++-
.../testbed_model/traffic_generator/scapy.py | 27 ++++
dts/tests/TestSuite_pmd_buffer_scatter.py | 132 ++++++++++++++++
12 files changed, 407 insertions(+), 14 deletions(-)
create mode 100644 dts/tests/TestSuite_pmd_buffer_scatter.py
Comments
Luca, Yoan or Paul, could please have a look at this patch? I don't have any more comments, but I'd like to have someone else have a look at this. For the whole series: Reviewed-by: Juraj Linkeš <juraj.linkes@pantheon.tech> On Wed, Jan 10, 2024 at 3:43 PM <jspewock@iol.unh.edu> wrote: > > From: Jeremy Spewock <jspewock@iol.unh.edu> > > v8: > > Address comments by making minor docstring adjustments. > > Jeremy Spewock (7): > dts: add startup verification and forwarding modes to testpmd shell > dts: limit EAL parameters to DPDK apps and add parameters to all apps > dts: add optional packet filtering to scapy sniffer > dts: add pci addresses to EAL parameters > dts: allow configuring MTU of ports > dts: add scatter to the yaml schema > dts: add pmd_buffer_scatter test suite > > dts/framework/config/conf_yaml_schema.json | 3 +- > dts/framework/exception.py | 7 + > dts/framework/remote_session/testpmd_shell.py | 149 +++++++++++++++++- > dts/framework/test_suite.py | 15 +- > dts/framework/testbed_model/linux_session.py | 8 + > dts/framework/testbed_model/os_session.py | 9 ++ > dts/framework/testbed_model/sut_node.py | 28 +++- > dts/framework/testbed_model/tg_node.py | 14 +- > .../traffic_generator/__init__.py | 7 +- > .../capturing_traffic_generator.py | 22 ++- > .../testbed_model/traffic_generator/scapy.py | 27 ++++ > dts/tests/TestSuite_pmd_buffer_scatter.py | 132 ++++++++++++++++ > 12 files changed, 407 insertions(+), 14 deletions(-) > create mode 100644 dts/tests/TestSuite_pmd_buffer_scatter.py > > -- > 2.43.0 >
Tested-by: Patrick Robb <probb@iol.unh.edu> I ran this testsuite with a bnxt_en NIC at the Community Lab. I also spoke with Jeremy about the state of this patch today. He wants to add a second testcase to the suite for testing the scattered packets hardware offload (--enable-scatter flag in testpmd). But, he still has questions about querying ethdev for capabilities and writing the testcase around that, so that testcase cannot be submitted for this release. It will come in as a separate patch. So, from what I can tell Juraj has completed his review and this is the final v of this patchseries. On Wed, Jan 10, 2024 at 9:43 AM <jspewock@iol.unh.edu> wrote: > From: Jeremy Spewock <jspewock@iol.unh.edu> > > v8: > > Address comments by making minor docstring adjustments. > > Jeremy Spewock (7): > dts: add startup verification and forwarding modes to testpmd shell > dts: limit EAL parameters to DPDK apps and add parameters to all apps > dts: add optional packet filtering to scapy sniffer > dts: add pci addresses to EAL parameters > dts: allow configuring MTU of ports > dts: add scatter to the yaml schema > dts: add pmd_buffer_scatter test suite > > dts/framework/config/conf_yaml_schema.json | 3 +- > dts/framework/exception.py | 7 + > dts/framework/remote_session/testpmd_shell.py | 149 +++++++++++++++++- > dts/framework/test_suite.py | 15 +- > dts/framework/testbed_model/linux_session.py | 8 + > dts/framework/testbed_model/os_session.py | 9 ++ > dts/framework/testbed_model/sut_node.py | 28 +++- > dts/framework/testbed_model/tg_node.py | 14 +- > .../traffic_generator/__init__.py | 7 +- > .../capturing_traffic_generator.py | 22 ++- > .../testbed_model/traffic_generator/scapy.py | 27 ++++ > dts/tests/TestSuite_pmd_buffer_scatter.py | 132 ++++++++++++++++ > 12 files changed, 407 insertions(+), 14 deletions(-) > create mode 100644 dts/tests/TestSuite_pmd_buffer_scatter.py > > -- > 2.43.0 > >
10/01/2024 15:42, jspewock@iol.unh.edu: > dts/framework/config/conf_yaml_schema.json | 3 +- > dts/framework/exception.py | 7 + > dts/framework/remote_session/testpmd_shell.py | 149 +++++++++++++++++- > dts/framework/test_suite.py | 15 +- > dts/framework/testbed_model/linux_session.py | 8 + > dts/framework/testbed_model/os_session.py | 9 ++ > dts/framework/testbed_model/sut_node.py | 28 +++- > dts/framework/testbed_model/tg_node.py | 14 +- > .../traffic_generator/__init__.py | 7 +- > .../capturing_traffic_generator.py | 22 ++- > .../testbed_model/traffic_generator/scapy.py | 27 ++++ > dts/tests/TestSuite_pmd_buffer_scatter.py | 132 ++++++++++++++++ > 12 files changed, 407 insertions(+), 14 deletions(-) > create mode 100644 dts/tests/TestSuite_pmd_buffer_scatter.py Big refactoring was done in other patch series by Juraj. Please could you check whether a rebase is needed for this series?
On Thu, Mar 7, 2024 at 10:00 AM Thomas Monjalon <thomas@monjalon.net> wrote: > > 10/01/2024 15:42, jspewock@iol.unh.edu: > > dts/framework/config/conf_yaml_schema.json | 3 +- > > dts/framework/exception.py | 7 + > > dts/framework/remote_session/testpmd_shell.py | 149 +++++++++++++++++- > > dts/framework/test_suite.py | 15 +- > > dts/framework/testbed_model/linux_session.py | 8 + > > dts/framework/testbed_model/os_session.py | 9 ++ > > dts/framework/testbed_model/sut_node.py | 28 +++- > > dts/framework/testbed_model/tg_node.py | 14 +- > > .../traffic_generator/__init__.py | 7 +- > > .../capturing_traffic_generator.py | 22 ++- > > .../testbed_model/traffic_generator/scapy.py | 27 ++++ > > dts/tests/TestSuite_pmd_buffer_scatter.py | 132 ++++++++++++++++ > > 12 files changed, 407 insertions(+), 14 deletions(-) > > create mode 100644 dts/tests/TestSuite_pmd_buffer_scatter.py > > Big refactoring was done in other patch series by Juraj. > Please could you check whether a rebase is needed for this series? > This series does need a rebase but it looks like it was a clean one. I'll rebase and give it one more quick test run and then send out the new version.