From patchwork Thu Dec 14 22:10:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Spewock X-Patchwork-Id: 490 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 2BAE1436F4; Thu, 14 Dec 2023 23:11:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B80A343291; Thu, 14 Dec 2023 23:11:17 +0100 (CET) Received: from mail-pl1-f227.google.com (mail-pl1-f227.google.com [209.85.214.227]) by mails.dpdk.org (Postfix) with ESMTP id 04E2142DDB for ; Thu, 14 Dec 2023 23:11:15 +0100 (CET) Received: by mail-pl1-f227.google.com with SMTP id d9443c01a7336-1d35a721340so13612935ad.2 for ; Thu, 14 Dec 2023 14:11:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1702591875; x=1703196675; 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=RG8Lmzq3N//TbPyqHkOs/3mE6XRcGKJ7RJRF0Qgnz9Y=; b=VwI+NKDfIS3StGNYJ9jVcs9gkC4l+nJFHtyipK06bgba+LknwhSwGIEsQjsvD4if+b EnUq6dAo6VnWH6Du9NtZiQmYt5/fAS9RobfKp1jauVvv1c7t0Ofpg9S/jQX+jIrd9SlS iSjRNydBpIQZM2Atls6GhJQCzVn441Zy+fB+Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702591875; x=1703196675; 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=RG8Lmzq3N//TbPyqHkOs/3mE6XRcGKJ7RJRF0Qgnz9Y=; b=FzyxSpipMtaGFaOXvhgfZPNiqjM97bVKuUPcotfxerteTrX59bPL/ker8oIwxULL9h 2HBFEKMVvjZNcqfIsdQ4aEmnrNlLXak2Yvlmi5/pxT3p88E1TZuVKyf+qA2kBurf2qSl MajO6/UzxZrUNqmnoBPgItVKvKfY75sXPY+tCx4vkbUSE178w8/vUtLAB5o06tOEwR5h CH671fJd2suii3NpJDDnrRuh88zgs58UtrDhi9AKkwia8glRpTfTirz5aeBdZnyvaNvz zM4fKDIdHU5RZLyK8ldvjbdc60YiIZmQ4xm38WQ09k/vleHF9ei+Z/IpQdj6mR/9kNME DiNA== X-Gm-Message-State: AOJu0YyjRnBC/yRlcNQc4UunVNY7HlQpVdo4ohk+xur/tAs4u2Cs2Jr/ kSX17NGDIUIP/xQqzXz4eWuRW8CBCRwcYpDPMINFuY8ZZc0ACWJ7Ur8OYOPqVLIwoA== X-Google-Smtp-Source: AGHT+IHu28HdQ96QArx9kTexKXyv1weGIqGQOpWje0NNIMA4GjxmC1NAk/EBf7EHfdlSeRJgOtELRGaBuEK9 X-Received: by 2002:a17:902:ea06:b0:1d0:9b2d:566b with SMTP id s6-20020a170902ea0600b001d09b2d566bmr6547675plg.6.1702591875039; Thu, 14 Dec 2023 14:11:15 -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 iz19-20020a170902ef9300b001d37c1b648dsm55060plb.64.2023.12.14.14.11.14 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Dec 2023 14:11:15 -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 C8024605C311; Thu, 14 Dec 2023 17:11:13 -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: Thu, 14 Dec 2023 17:10:06 -0500 Message-ID: <20231214221012.9598-2-jspewock@iol.unh.edu> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231113202833.12900-1-jspewock@iol.unh.edu> References: <20231113202833.12900-1-jspewock@iol.unh.edu> 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 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. 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