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 4D1FE45626; Mon, 15 Jul 2024 21:59:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 35BF741156; Mon, 15 Jul 2024 21:59:47 +0200 (CEST) Received: from mail-ua1-f99.google.com (mail-ua1-f99.google.com [209.85.222.99]) by mails.dpdk.org (Postfix) with ESMTP id 9215C402AF for ; Mon, 15 Jul 2024 21:59:45 +0200 (CEST) Received: by mail-ua1-f99.google.com with SMTP id a1e0cc1a2514c-8102c9a5badso1718003241.0 for ; Mon, 15 Jul 2024 12:59:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1721073585; x=1721678385; 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=CTE14feg5YxHfda14a2gouE+WMnd5MhqkWaXRpibhjo=; b=NipzoN8tyMN1QITZub6ppoWOqi6zIhRCezU+MO/dxOiRxmXADLyQkD6WusSiaGLOnM TCz+3JGlDkkTYfvCZJnxYKO7CvtPNWDaSF6iKiRUEcwXF6MKKr3jvCTVhQL0pQE+hpzW zotn1LH3pA6TyCR7UMX8I+Lo3ZDvhZqfXsqbo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721073585; x=1721678385; 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=CTE14feg5YxHfda14a2gouE+WMnd5MhqkWaXRpibhjo=; b=rXJS3iiA3E5Bl5ldbF8dlVlbZ2fI6A2dPhuOH3Gi/zdPCSvPQijkRnOch1UVZisIBX 6vDCaGRqyPxbIaZW+4DFV+c3227TRPh2YsJmiXxuwlJ/kT7T3y57z8syXm23GF/ZFMGW DdK4djy7UGc/Ey06ypVozQFzSLG5BdIVXSUqRRzjrqB9F6YVddeR4tzpdl0CcfAvmAb5 NWGmp2d67M2az8qj3ac3kU8UK8SPlXOiNsHKR9kdT7IJja/lKVHHaA73sXFeD9jBif5+ yEtMtRsNbjudEsiIsNuykaaxPJ3fldwX9tTBvVFemZS7rMAuCWmddm9xEc1Yk+CkI6vU RI+g== X-Gm-Message-State: AOJu0YyCJNZNcEvsaRZiKLsEfhba5z42nDjOjxiRDyFQrLy58kflyRZW DCTg0VNE9f84VIktCsNPtXCzGYJRBcKaYsN+0E7W+cA8lPrUhrm7wbpyymbnyxTdTaGkAGBUVvO /Gd0uwZiGVpXOSx1yFojRwde8grrV4eZhOzqr+kRlYaxcY69s X-Google-Smtp-Source: AGHT+IErFNX91nYIyJzo9xRyu6L/KqU/O177TMIKcV2cweGcuEuZymswt6OZHykEg0ys01PQKPW7oT9JdlI2 X-Received: by 2002:a05:6102:3c8d:b0:48f:b592:bb2b with SMTP id ada2fe7eead31-4914c4d8119mr70951137.10.1721073584812; Mon, 15 Jul 2024 12:59:44 -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 d75a77b69052e-44f5b7f9ff1sm4724811cf.14.2024.07.15.12.59.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jul 2024 12:59:44 -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 C3C21605C380; Mon, 15 Jul 2024 15:59:43 -0400 (EDT) From: jspewock@iol.unh.edu To: probb@iol.unh.edu, juraj.linkes@pantheon.tech, thomas@monjalon.net, wathsala.vithanage@arm.com, paul.szczepanek@arm.com, npratte@iol.unh.edu, yoan.picchi@foss.arm.com, Honnappa.Nagarahalli@arm.com, Luca.Vizzarro@arm.com Cc: dev@dpdk.org, Jeremy Spewock , dmarx@iol.unh.edu Subject: [PATCH v1 1/3] dts: fix Testpmd function for resetting VLAN insertion Date: Mon, 15 Jul 2024 15:58:50 -0400 Message-ID: <20240715195852.254033-2-jspewock@iol.unh.edu> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240715195852.254033-1-jspewock@iol.unh.edu> References: <20240715195852.254033-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 The previous method would send the command `tx_vlan set ` when the correct command is `tx_vlan reset `. Fixes: a49d9da1e9a5 ("dts: add VLAN methods to testpmd shell") Cc: dmarx@iol.unh.edu depends-on: patch-142103 ("dts: add VLAN methods to testpmd shell") Signed-off-by: Jeremy Spewock --- dts/framework/remote_session/testpmd_shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/framework/remote_session/testpmd_shell.py b/dts/framework/remote_session/testpmd_shell.py index 09d3bda5d6..a8b6a054b5 100644 --- a/dts/framework/remote_session/testpmd_shell.py +++ b/dts/framework/remote_session/testpmd_shell.py @@ -994,7 +994,7 @@ def tx_vlan_reset(self, port: int, verify: bool = True): InteractiveCommandExecutionError: If `verify` is :data:`True` and the insertion tag is not reset. """ - vlan_insert_output = self.send_command(f"tx_vlan set {port}") + vlan_insert_output = self.send_command(f"tx_vlan reset {port}") if verify: if "Please stop port" in vlan_insert_output or "Invalid port" in vlan_insert_output: self._logger.debug( -- 2.45.2