From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 94D3E4541F; Thu, 13 Jun 2024 20:15:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2141A402E4; Thu, 13 Jun 2024 20:15:41 +0200 (CEST) Received: from mail-io1-f97.google.com (mail-io1-f97.google.com [209.85.166.97]) by mails.dpdk.org (Postfix) with ESMTP id 555674027C for ; Thu, 13 Jun 2024 20:15:40 +0200 (CEST) Received: by mail-io1-f97.google.com with SMTP id ca18e2360f4ac-7eba53f2a30so57021039f.2 for ; Thu, 13 Jun 2024 11:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1718302539; x=1718907339; 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=PnlDKfkzeEQmUjJLF+2+DnUltIbf4JcQa/u53XUWcfE=; b=C/JU2o/XAE0yR9mnueBtZcAH+jSnjrzofn0+kfLPxUjoCHPLOxKoKFByMISzhlzYh2 A8xeeAZPyPzkomFbQqH7UOmk8TFY6qg4w0fpOmpLi22WJosW5qVcN5iz2UTAoNRLYS/5 0fU+WgLMqocFauDY6CHzqJ/HoyDMqBHMOTeSQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718302539; x=1718907339; 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=PnlDKfkzeEQmUjJLF+2+DnUltIbf4JcQa/u53XUWcfE=; b=Kn1fiZBkcT/v6wuHX1ax/HB3c6j26+kZrbuQcK0XVa0O8LPNSNse64gS3FdYxKIuTV cief0MaWyqNWXluzgdCv0iHZzsjm1tVR1JOwr4XZ11QGa2365DRj7sbE7GI54QtluAdp YZ4l4faHGujUt66nwx2WvM3j1mmdiC5SW8HdY2WtF7kWmFVfhqoCy+psXN4Dolji/lOi agJY4bRo9zix7k3fwk25m73i547RS8YZGgEy5Y4uVWHdMMFHZ8sN2Y+8lHqifxHuVCFP jm1dNRATDYFaV4N2iivIlW7urfIJx92jBvwRd/T5/aJHzFw42ERw1LvUF9yZyEWvRLpL SwAg== X-Gm-Message-State: AOJu0Yw6+kB4rcnAFL57djLt5gIh9B9ajwT2njRsLQvFs8n/dtO4WTkS OXU6rsSg/gupXWAqLTyLgM81LAARU/JbOOsmGa50sL7EGZ8paAUj490hbWKa+BmMMCvGQrdOPrv avz/qBGzrwYqkq/Zf8fTam0gSg5JKowtf X-Google-Smtp-Source: AGHT+IEcuYZqbvsZBTblm08oL8I9Xw8w0Tsuacv/8oFMoXTNVWN2CE1Pl9lLbYpHQ5pGZ8OsLaEXVfUYzQSY X-Received: by 2002:a05:6602:13c4:b0:7eb:cbef:1731 with SMTP id ca18e2360f4ac-7ebeb658fd8mr27713139f.21.1718302539632; Thu, 13 Jun 2024 11:15:39 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id 8926c6da1cb9f-4b956a4e929sm39279173.54.2024.06.13.11.15.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jun 2024 11:15:39 -0700 (PDT) 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 92DDA605C380; Thu, 13 Jun 2024 14:15:38 -0400 (EDT) From: jspewock@iol.unh.edu To: juraj.linkes@pantheon.tech, probb@iol.unh.edu, yoan.picchi@foss.arm.com, npratte@iol.unh.edu, Honnappa.Nagarahalli@arm.com, wathsala.vithanage@arm.com, paul.szczepanek@arm.com, Luca.Vizzarro@arm.com, thomas@monjalon.net Cc: dev@dpdk.org, Jeremy Spewock Subject: [PATCH v4 0/4] Add second scatter test case Date: Thu, 13 Jun 2024 14:15:06 -0400 Message-ID: <20240613181510.30135-1-jspewock@iol.unh.edu> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240514201436.2496-1-jspewock@iol.unh.edu> References: <20240514201436.2496-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Jeremy Spewock v4: * comment and formatting adjustments based on feedback on previous version * switch class inheritance order for interactive shells and singe active interactive shells * method decorator for starting and stopping ports in testpmd shell that gets used for the update MTU method. Jeremy Spewock (4): dts: add context manager for interactive shells dts: improve starting and stopping interactive shells dts: add methods for modifying MTU to testpmd shell dts: add test case that utilizes offload to pmd_buffer_scatter dts/framework/remote_session/__init__.py | 1 + .../remote_session/interactive_shell.py | 153 +++--------- .../single_active_interactive_shell.py | 218 ++++++++++++++++++ dts/framework/remote_session/testpmd_shell.py | 113 ++++++++- dts/framework/testbed_model/os_session.py | 4 +- dts/framework/testbed_model/sut_node.py | 8 +- .../testbed_model/traffic_generator/scapy.py | 2 + dts/tests/TestSuite_pmd_buffer_scatter.py | 94 +++++--- dts/tests/TestSuite_smoke_tests.py | 3 +- 9 files changed, 427 insertions(+), 169 deletions(-) create mode 100644 dts/framework/remote_session/single_active_interactive_shell.py -- 2.45.1