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 01048457C6; Wed, 14 Aug 2024 20:20:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9524B402C4; Wed, 14 Aug 2024 20:20:21 +0200 (CEST) Received: from mail-yb1-f227.google.com (mail-yb1-f227.google.com [209.85.219.227]) by mails.dpdk.org (Postfix) with ESMTP id E29634025F for ; Wed, 14 Aug 2024 20:20:19 +0200 (CEST) Received: by mail-yb1-f227.google.com with SMTP id 3f1490d57ef6-e115ef5740dso232867276.3 for ; Wed, 14 Aug 2024 11:20:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1723659619; x=1724264419; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ZFIw+ajnk/KRnpAy3WpFbl92PfleEOe9LNtIpLNOgHg=; b=DtR+PWLSRb90HQJD45Oxv4DxIK2MKzjGLZAb87ji1A4VvzsDyHOKiQQVPqTTPlHhJg 9pzYSV5VAv2bwHfyxfns5VIcQj3dF3jTPY8Fg4j4JCsiD7OW7FNQtmn1sM/f0j+bE80O HLHE4L2TF58dgP3z/gNKCpr2umexz6uDpU7IQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723659619; x=1724264419; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZFIw+ajnk/KRnpAy3WpFbl92PfleEOe9LNtIpLNOgHg=; b=ovE0bjlFs0lX7SecxMQ3sNadrZtq8AaOdrmOm5j4Ba2BEqNr98Iq+iFvndekMpAlQY uOITe9vwK1vu3+aeFrjJfT1hzJkHO/Cb7ZGXP3O/8Jubl9yVHYqGLsI8clMANSGQR5R8 iK1CDzlYmILXGCYCUx1ZA7eTcZA0bnlckdXOZPTG0OQMwxrVDB+mUt5HwxJCzT7GvP2t s4anoQY9ynz7F5YiuzS/CmSZbRTg1QNoeEm5cplGVZRQQdJ1GPSE4wb45Ii+mfXy7g2h IX4Azu/piNha32XWrFDvDLhEwMgXqfWQEKGuw+t2N7wCyn//py8hkBEZBlxj8t305woM CRUQ== X-Gm-Message-State: AOJu0YyG9WSSNNDQTU1SKX3SCDQX9xg5uLzft2ss0n0nDsH/JrWzIgG/ r8uEAxSmCYEQMP+ecQZy1zfb0JrgHm9P5dxgJ5snWeIAXocokKYL0kA0z0NSB9S5xURTCL5AoXH CHEwWwiCBig7eX30KQ6jqsSNOgbxeQZSRgLvLaEHeeFISApHw X-Google-Smtp-Source: AGHT+IH/DXQoVQ4T60zDTvmEL4JF6TI/iv8zPYkaS0lPiFjNRImsSJKX1KUj50ObRBUEiSuTCIs+YPjiBb5U X-Received: by 2002:a05:6902:2608:b0:e0b:ea37:9c1e with SMTP id 3f1490d57ef6-e1155aae783mr3506424276.21.1723659619217; Wed, 14 Aug 2024 11:20:19 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [2606:4100:3880:1234::84]) by smtp-relay.gmail.com with ESMTPS id 00721157ae682-6a0a3c75cbcsm8239517b3.56.2024.08.14.11.20.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Aug 2024 11:20:19 -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 1F997605C351; Wed, 14 Aug 2024 14:20:18 -0400 (EDT) From: jspewock@iol.unh.edu To: wathsala.vithanage@arm.com, thomas@monjalon.net, probb@iol.unh.edu, juraj.linkes@pantheon.tech, paul.szczepanek@arm.com, yoan.picchi@foss.arm.com, Honnappa.Nagarahalli@arm.com, npratte@iol.unh.edu, alex.chapman@arm.com, Luca.Vizzarro@arm.com Cc: dev@dpdk.org, Jeremy Spewock Subject: [PATCH v1 0/2] dts: port over port_control testing suite Date: Wed, 14 Aug 2024 14:20:03 -0400 Message-ID: <20240814182005.12251-1-jspewock@iol.unh.edu> X-Mailer: git-send-email 2.45.2 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 This series ports over most of the test coverage provided from the port_control testing suite in the Old DTS framework. The only functionality that is missing is testing port functions in a VM through QEMU and testing the support of resetting ports. Since we have no method of handling virtual machines in the new framework and have yet to express interest in adding it, these test cases were omitted from this suite. Additionally the ability to reset a port is not something that is supported by all devices and devices do not seem to expose information regarding whether they support resetting ports through testpmd. Jeremy Spewock (2): dts: add methods for closing and restarting ports to testpmd dts: add port control testing suite dts/framework/config/conf_yaml_schema.json | 3 +- dts/framework/remote_session/testpmd_shell.py | 21 +++++ dts/tests/TestSuite_port_control.py | 80 +++++++++++++++++++ 3 files changed, 103 insertions(+), 1 deletion(-) create mode 100644 dts/tests/TestSuite_port_control.py -- 2.45.2