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 4390E454F3; Tue, 25 Jun 2024 18:27:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3732F40677; Tue, 25 Jun 2024 18:27:31 +0200 (CEST) Received: from mail-pf1-f227.google.com (mail-pf1-f227.google.com [209.85.210.227]) by mails.dpdk.org (Postfix) with ESMTP id D4C5740274 for ; Tue, 25 Jun 2024 18:27:29 +0200 (CEST) Received: by mail-pf1-f227.google.com with SMTP id d2e1a72fcca58-706683e5249so2569142b3a.2 for ; Tue, 25 Jun 2024 09:27:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1719332849; x=1719937649; 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=VuXTC8SNT6OfjHwMwIaiumUlx3zAm/YygE6YdGzAjw8=; b=YS6u45b7/L3naGIJzyDhpWrGnd0pDrGqQ78cNzyhm6TdqX33833K5N1Qb1DSfDr5Di jMx4V0JrN+qW66TzoUeAyrUTIlPmpcSDKigaBysjzJZr6Hq7Vhty7H2qkj8S1W+7dL8G 6fYSnr1xdUDKGP02on03uoB3Nqk0I941ZUi+s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719332849; x=1719937649; 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=VuXTC8SNT6OfjHwMwIaiumUlx3zAm/YygE6YdGzAjw8=; b=n4gOdlsw57d0vJAG4doCZ6jrXskiqxq4Tu7vyFiR030h+jG3+Qvrh6tDaj7FYV7Fto KswW+w/UvpLg4JdSVbN9o9hF3Mdm34VFpQgiod5eaAKDxmsUsKlu0UB2ByOiMYSPeiOc R3UpDChVbeOiBttObdTr8BU3cfQ8N8V6bvwj2InUa6Bq0AKHRNy8xNixdn96aCm8Mxv3 w+mpaN1k28NCxiLl3EaFCsKBuUyazrXVDDbvxx0joWWQZA2UwYkN2UVw4hqSOa3HpoKt mzCax8/jlJJw3Lhuhv11XPDnZqnTYV0/8ZvWkdibguCPtOGqagknCZ2S96xGJJUn7vfk IcXA== X-Gm-Message-State: AOJu0Yy+32I3MQfakf98ZW+Ho4FoTPgWs1H0UWu+p6e3fWxwy6N6Xdwg /x9inUDlWPFPP1b4b4hHylYjSbJWqhc/9cPRpoj5F1feldjp42EOF7EJGSOpeM/7Swvyfhs8+1T m7mxerw6+kTIwG+GnyUHyOOagPLobyxpL X-Google-Smtp-Source: AGHT+IGLLQZ8JIJlOwE+kQouqudv6vvuNWQ8n/+GHikpBq0W4w4GH82hrL3uNzcDRG42tk+s2Gnx3lxLsqwU X-Received: by 2002:a05:6a21:1f07:b0:1b5:d063:3396 with SMTP id adf61e73a8af0-1bcf80260a0mr6224110637.59.1719332849005; Tue, 25 Jun 2024 09:27:29 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id 41be03b00d2f7-716c09805adsm459119a12.27.2024.06.25.09.27.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Jun 2024 09:27:28 -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 D2143605C380; Tue, 25 Jun 2024 12:27:27 -0400 (EDT) From: jspewock@iol.unh.edu To: Luca.Vizzarro@arm.com, Honnappa.Nagarahalli@arm.com, juraj.linkes@pantheon.tech, probb@iol.unh.edu, paul.szczepanek@arm.com, yoan.picchi@foss.arm.com, wathsala.vithanage@arm.com, npratte@iol.unh.edu, thomas@monjalon.net Cc: dev@dpdk.org, Jeremy Spewock Subject: [PATCH v5 0/4] Add second scatter test case Date: Tue, 25 Jun 2024 12:27:12 -0400 Message-ID: <20240625162716.2053-1-jspewock@iol.unh.edu> X-Mailer: git-send-email 2.45.2 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 v5: * Spelling corrections based on comments on previous version * Slight reformatting of interactive shells start_application * More documenttion about reasoning behind some requirements in testpmd shell and pmd_buffer_scatter * Allow for hard-coded verification with the testpmd stop_then_start_port decorator. 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 | 159 +++---------- .../single_active_interactive_shell.py | 218 ++++++++++++++++++ dts/framework/remote_session/testpmd_shell.py | 108 ++++++++- 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 | 101 +++++--- dts/tests/TestSuite_smoke_tests.py | 3 +- 9 files changed, 424 insertions(+), 180 deletions(-) create mode 100644 dts/framework/remote_session/single_active_interactive_shell.py -- 2.45.2