From patchwork Mon Dec 18 18:12:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Spewock X-Patchwork-Id: 495 Return-Path: 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 B24274373D; Mon, 18 Dec 2023 19:13:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 85AE54025E; Mon, 18 Dec 2023 19:13:01 +0100 (CET) Received: from mail-yw1-f227.google.com (mail-yw1-f227.google.com [209.85.128.227]) by mails.dpdk.org (Postfix) with ESMTP id 9EF234021D for ; Mon, 18 Dec 2023 19:12:59 +0100 (CET) Received: by mail-yw1-f227.google.com with SMTP id 00721157ae682-5d3758fdd2eso26778037b3.0 for ; Mon, 18 Dec 2023 10:12:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1702923179; x=1703527979; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=/OixFAkiklWlvQULwaXRtErGmwyzE1c5dEPlAgcbbbM=; b=ZPR8h57vROjVT/syje7l0uAMibTAmzKkLcAWG0FVDu3kBHxYbyEvAQSjHazT82mUUB ghgei3EbF5oiRLaVbnB44fzOyvPi7a7vixLlVDKlMJ864grgF0RnV3Lstpnu+5ZtaJW2 YbSNfQHvPlagydBrWKavWahYR7Y2fUKR6yMm4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702923179; x=1703527979; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/OixFAkiklWlvQULwaXRtErGmwyzE1c5dEPlAgcbbbM=; b=JtbSHJ8oex9ykoGIw/gfUlslXJLfIZIYzzl47SQThxuPEjQc/C2Ueohqa35VQKxY28 2nELnrc+GV8r68K4jkO8VMjuFiF6qF5M6OBXemeo8EVfrHsSuduoqRA7aP4ewjToelw+ 3KHetqOEnQByxf+IWPzivrI3YghPU6f9yFlAM1Er7AL0Wdvfm3EyP87TAybVFtzYbMWQ bCLyVbI/EEA05ndCEBeblABYzXrkPdEClnw1qJWfu4vFEVoYt36QZq2zPRF6r+lV0AE5 kMYGZu4TKZt8I5U26mrvNpUhcovZtnp8C8YcNiLYeyEVnhMzUIpxp/ux5rtUsWCqqKKo YGwQ== X-Gm-Message-State: AOJu0Yy6Kbcq4+Ui+via3Wr8sGsegCEIphZIiZSQpuEbZZYZqpWAX04R Rs2xLv/0lPw60QBfG8y5a4LSRddo3mnT8DAsbMJZwphpjXyb/3SbDpLaZDSJ6JRMXA== X-Google-Smtp-Source: AGHT+IGxPk3i1yKrf1zfJ8ASlKf97/IMBy5yZOoXeAUgVR0xgdqrxvAXfZkzuYfUdkbrWueuEJwY8z0Y+e3U X-Received: by 2002:a81:924a:0:b0:5e7:572c:c7a3 with SMTP id j71-20020a81924a000000b005e7572cc7a3mr606103ywg.105.1702923179032; Mon, 18 Dec 2023 10:12:59 -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 c128-20020a0dc186000000b005cc9af1da88sm2732000ywd.3.2023.12.18.10.12.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Dec 2023 10:12:59 -0800 (PST) X-Relaying-Domain: iol.unh.edu Received: from iol.unh.edu (unknown [IPv6:2606:4100:3880:1271:90f9:1b64:f6e6:867f]) by postal.iol.unh.edu (Postfix) with ESMTP id 7BD8E605C311; Mon, 18 Dec 2023 13:12:58 -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, ferruh.yigit@amd.com, andrew.rybchenko@oktetlabs.ru Cc: dev@dpdk.org, Jeremy Spewock Subject: [PATCH v4 0/7] dts: Port scatter suite over Date: Mon, 18 Dec 2023 13:12:14 -0500 Message-ID: <20231218181221.10057-1-jspewock@iol.unh.edu> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Jeremy Spewock v4: Addresses comments on the previous version. Main things which were added include specific methods within the testpmd shell to avoid the need of calling send_command directly, as well as docstring comment updates. This series had to get resubmitted so that it would show up as one series on patchwork. Previously each patch was given its own series by mistake. Seeing as there was no change otherwise, submitting this as v4 once again. I think this might be due to me trying to submit with --in-reply-to after having re-ordered/renamed commits from the previous version. Because of this, I am resubmitting v4 as a new thread. Apologies for the multiple emails and the slight inconvience of the lack of thread. Jeremy Spewock (7): dts: add required methods to testpmd_shell dts: allow passing parameters into interactive 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 scatter test suite dts/framework/config/conf_yaml_schema.json | 3 +- dts/framework/exception.py | 4 + dts/framework/remote_session/linux_session.py | 8 ++ dts/framework/remote_session/os_session.py | 9 ++ .../remote_session/remote/testpmd_shell.py | 94 +++++++++++++++- dts/framework/test_suite.py | 14 ++- .../capturing_traffic_generator.py | 22 +++- dts/framework/testbed_model/scapy.py | 28 ++++- dts/framework/testbed_model/sut_node.py | 27 ++++- dts/framework/testbed_model/tg_node.py | 12 +- dts/tests/TestSuite_pmd_buffer_scatter.py | 105 ++++++++++++++++++ 11 files changed, 312 insertions(+), 14 deletions(-) create mode 100644 dts/tests/TestSuite_pmd_buffer_scatter.py