From patchwork Tue Jan 9 15:36:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jeremy Spewock X-Patchwork-Id: 546 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 9E27A43874; Tue, 9 Jan 2024 16:36:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 898674021F; Tue, 9 Jan 2024 16:36:47 +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 66E924013F for ; Tue, 9 Jan 2024 16:36:46 +0100 (CET) Received: by mail-pl1-f227.google.com with SMTP id d9443c01a7336-1d409bcb0e7so13829345ad.1 for ; Tue, 09 Jan 2024 07:36:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1704814605; x=1705419405; 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=nFxnL5oudj1OIzXM3AzwlKfnsc+L6GMrKai4nvplSDQ=; b=KypAGUv/IMcXnYBLqxnqvS8fpMqO/ZJ2ANB21wo3yl7s5eFZdFi8V4PXziYCd3nUdu ZvqiBLRv5qonxyGEr2dpual3cibbgihixftF+o+sXYODb36KsfIBVZDjy5GrhCSOC80v 4/fLNQog+ESHQWgdO+ZfzuQVd6ek/J7EUTM0s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704814605; x=1705419405; 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=nFxnL5oudj1OIzXM3AzwlKfnsc+L6GMrKai4nvplSDQ=; b=jaq9cyoxjM7h9XDardcSMqbWjO60OIEXQ24buqtHsU56u+ULR8+3WnC2lVFpb2qTd7 8Xm4o9HG6M5fekvxPE7+g0x3a+bDOAVoyfkX+8HV2BklNCIjmeo5EWBr7iXkTBeyG+3p J9LK7pEQJewFveYl1l2yeVOSAZ5viQr0PPXrXHLrR3axN8KUUiiX/FPhpWG7ROhvj4Cd 4/GRbE0HzGBuRSLxe8MXgicCpO8mY+hH/yNLow860IBUk4ZcdvW1FRP/z0TWFhCM+48L 5q8MkX9kzbwmXZt/sS0CliBHu7c1m2b1S9w90lcvl9j7KTUeSpDGzYNxBibKUZSnqjAu HOuQ== X-Gm-Message-State: AOJu0YzkxJULTQU2BbBJ1XUgTw/idCPdXkWPJ8XUzgdY43QNbwoGqSk6 oT7EZDZ5TrV1Dhrft//tpI+CjHTjXVh8cDPpWMQ0KyCixlAk9Qy5Gs7UOgfot56MmFkK27xHDA= = X-Google-Smtp-Source: AGHT+IGqjucA8ETigmeNSw+++0fKojx1rAIRr6q4necn0+Uv1P/f7QTPTbOT31QUQeN/G7uEQHPdP9mLUazC X-Received: by 2002:a17:902:e80d:b0:1d3:f33c:e2b6 with SMTP id u13-20020a170902e80d00b001d3f33ce2b6mr3239824plg.98.1704814605630; Tue, 09 Jan 2024 07:36:45 -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 h4-20020a170902704400b001d3f59f6883sm71921plt.110.2024.01.09.07.36.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jan 2024 07:36:45 -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 B695B6043300; Tue, 9 Jan 2024 10:36:44 -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 v7 0/7] dts: Port scatter suite over Date: Tue, 9 Jan 2024 10:36:26 -0500 Message-ID: <20240109153633.766-1-jspewock@iol.unh.edu> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240103223206.23129-1-jspewock@iol.unh.edu> References: <20240103223206.23129-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 v7: Addressed comments and made appropriate changes. Most changes had to do with grammatical/spelling errors and expanding upon documentation. Also fixed the typing of eal parameters when creating interactive shells through the SUT node. 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 Reviewed-by: Juraj Linkeš