From patchwork Wed Jan 3 22:12:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Spewock X-Patchwork-Id: 532 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 88EDE4380D; Wed, 3 Jan 2024 23:13:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 07C5C402BC; Wed, 3 Jan 2024 23:13:00 +0100 (CET) Received: from mail-pj1-f97.google.com (mail-pj1-f97.google.com [209.85.216.97]) by mails.dpdk.org (Postfix) with ESMTP id D242D4013F for ; Wed, 3 Jan 2024 23:12:58 +0100 (CET) Received: by mail-pj1-f97.google.com with SMTP id 98e67ed59e1d1-28bf1410e37so8675905a91.2 for ; Wed, 03 Jan 2024 14:12:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1704319978; x=1704924778; 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=ctCUS+wIhJcaSDMjiwC60vrwqMiA6ceb9V4xCMsjZRM=; b=ZP7wU/H6t5vYZgAnLrq+5UKEqQYS+m/S97xqdRJIe1IlxCWo55y4xBubf5UAovI4+t puZm7YOnN+n2NLv9MotCu7BImQHFZ6cEupGt9EsNC3W20acYdJm5qegROwNRqYx63XYg TtrE1YuGYXAISFTvHpgreBqV2mB6tF/dYeXyo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704319978; x=1704924778; 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=ctCUS+wIhJcaSDMjiwC60vrwqMiA6ceb9V4xCMsjZRM=; b=QnyLmT3pejA7BUz5hQYXixga8j8PNRpeXK+UV0MHpPHe+zmSKhicmbX1LM9ClOm7lp HBEUhLrlmTonwrKvVb2JNvoeKxFeqWaXfTIGtpMe0ZGr+byoMqVjFU+V9bzY8zmCe7Mn oWg/+/ppTsYi+NBOl/jsmKBoIJv1fRlHeyAcVuc/xnsiJgC+vuXNTIRVla9n4Mgk5iip 0agCEKB87MjUF19sgs7ECtubBuavfw7h6XKzOJgQ+t3NJB2h6RcNS9nytyIr8JEX6IzK HMqU3j/Lh0qJEciICPJILX1vWU7xe4/fs999TwzN/3i0b82ueG7xR0ZpmdI9PYe2mDWr 0wnw== X-Gm-Message-State: AOJu0Ywk61VEFKd7G4/wHjp+QSe8MDZ7dXkHSIF9gt7936SbImhfD9Bp OPmNSraPe7aaaKRFlnXv6i1MduDsphch+Cr7Aj+u5qSYry/yHoGG58VIDQ== X-Google-Smtp-Source: AGHT+IFDcpu6xwCW7lObM7FIY1i+gfsRx4tc82n2tmB7n8GlsrKUEXyURoyw3UTexOhH6jora7Cv74sjJ7NF X-Received: by 2002:a17:90a:9f0b:b0:28c:42a7:e2c0 with SMTP id n11-20020a17090a9f0b00b0028c42a7e2c0mr9039671pjp.48.1704319977861; Wed, 03 Jan 2024 14:12:57 -0800 (PST) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id sk17-20020a17090b2dd100b0028cab749058sm149277pjb.7.2024.01.03.14.12.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jan 2024 14:12:57 -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 B9DC5605C311; Wed, 3 Jan 2024 17:12:56 -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 Subject: [PATCH v5 0/7] dts: Port scatter suite over Date: Wed, 3 Jan 2024 17:12:10 -0500 Message-ID: <20240103221217.18954-1-jspewock@iol.unh.edu> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231218181221.10057-1-jspewock@iol.unh.edu> References: <20231218181221.10057-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 v5: Addressed comments and made changes to files where appropriate. Notably, added things such as verification to testpmd methods and a flag which hides messages about "link state change events" in testpmd as such messages changed the expected format of the terminal and cause collecting output to be unreliable. Link statuses however are verified manually to account for this. Most other changes surrounded modification of commit message descriptions and documentation in docstrings. 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 | 4 + dts/framework/remote_session/testpmd_shell.py | 148 +++++++++++++++++- 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 | 5 +- .../capturing_traffic_generator.py | 22 ++- .../testbed_model/traffic_generator/scapy.py | 28 +++- dts/tests/TestSuite_pmd_buffer_scatter.py | 115 ++++++++++++++ 12 files changed, 384 insertions(+), 15 deletions(-) create mode 100644 dts/tests/TestSuite_pmd_buffer_scatter.py