From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 66DF745825;
	Fri, 23 Aug 2024 23:16:19 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 3D1B543385;
	Fri, 23 Aug 2024 23:16:19 +0200 (CEST)
Received: from mail-oo1-f46.google.com (mail-oo1-f46.google.com
 [209.85.161.46]) by mails.dpdk.org (Postfix) with ESMTP id 40B5B4337F
 for <dev@dpdk.org>; Fri, 23 Aug 2024 23:16:18 +0200 (CEST)
Received: by mail-oo1-f46.google.com with SMTP id
 006d021491bc7-5d5f24d9df8so1887047eaf.2
 for <dev@dpdk.org>; Fri, 23 Aug 2024 14:16:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=iol.unh.edu; s=unh-iol; t=1724447777; x=1725052577; 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=w59mvSakKOC7magjiPbIijp/sgTn3CZ0AuRNr4g2eKs=;
 b=grQqFxntF1B1a4grRyY2kgUM3rRuB5PD2DLvyZSmoA/d5mxo1q4HazpGaY26E1gBKW
 r0TPApM4i2Eq3i/Z9WjMz46VYjUIZAQESWL+TZsAtY4/ZvhRnJFOPBQkuUj6WBhba4Bb
 lZvOmCvh1/EtH8/gOn4ZFLPvCT3Ab/ybiqVJE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1724447777; x=1725052577;
 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=w59mvSakKOC7magjiPbIijp/sgTn3CZ0AuRNr4g2eKs=;
 b=iV8schx4IoWdDp6N5ZUqXtoq3+CRb9E46j4dAF7QkJ6gtMSX1eOGX5PMMxzvmGwpU8
 Y5J/ThPyEfym9LSk8yBweK0jqyMJC3m2ibww+pxeO7wxEp56hElVDa0oQNxPEgdQrFTB
 xSVIce+iJD7+RE1F+z69pd9jx0c0LnKQFY702vqejMiDQ+ESo11v4UTREunaaiOjtb1R
 rDEDVkX8ewPH1SZ1PgOYkQKl0hS2AgwyzieSK+0FQxwqEAYz/gBeCE/SV3ZEPPff+WGD
 4Y+D/0OZNdzoCOI1ioWFRyt+Ph8Z+CIyQ3hsuMWatdlLYAZiC2L/m84jMEuhXY08Owxb
 sdIg==
X-Gm-Message-State: AOJu0Yw4LWynrlOX2ngLCIpM0pb9dpKwySHsej/3itjskQiYwgmpCU9Q
 DnCdVjq00Ws2di4Jnpyy485nUxSmKOsxifUXAOfA76h92xcR2uUOo5260SmQQvc=
X-Google-Smtp-Source: AGHT+IH6646B5eO02cpJDSnd5UUysGeN4h2GISmd4aRs9en9Gslw7aYgYS7NYGJz+8ELJfHHfolypw==
X-Received: by 2002:a05:6808:1901:b0:3dd:1e60:37ef with SMTP id
 5614622812f47-3de2a8f59c9mr4014572b6e.35.1724447777329; 
 Fri, 23 Aug 2024 14:16:17 -0700 (PDT)
Received: from dean-laptop.iol.unh.edu
 ([2606:4100:3880:1271:f9bd:24da:464d:6294])
 by smtp.gmail.com with ESMTPSA id
 d75a77b69052e-454fe0f75b5sm21177671cf.58.2024.08.23.14.16.16
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 23 Aug 2024 14:16:16 -0700 (PDT)
From: Dean Marx <dmarx@iol.unh.edu>
To: probb@iol.unh.edu, npratte@iol.unh.edu, jspewock@iol.unh.edu,
 luca.vizzarro@arm.com, yoan.picchi@foss.arm.com,
 Honnappa.Nagarahalli@arm.com, paul.szczepanek@arm.com,
 juraj.linkes@pantheon.tech
Cc: dev@dpdk.org,
	Dean Marx <dmarx@iol.unh.edu>
Subject: [PATCH v14 0/2] dts: port over VLAN test suite
Date: Fri, 23 Aug 2024 17:16:35 -0400
Message-ID: <20240823211637.30046-1-dmarx@iol.unh.edu>
X-Mailer: git-send-email 2.44.0
In-Reply-To: <20240807194341.26102-1-dmarx@iol.unh.edu>
References: <20240807194341.26102-1-dmarx@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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

Port over VLAN capabilities test suite from old DTS. This test
suite verifies that VLAN filtering, stripping, and header
insertion all function as expected. When a VLAN ID is in the
filter list, all packets with that ID should be forwarded
and all others should be dropped. While stripping is enabled,
packets sent with a VLAN ID should have the ID removed
and then be forwarded. Additionally, when header insertion
is enabled packets without a VLAN ID should have a specified
ID inserted and then be forwarded.

-----------
v13:
* Combined conf schema and test suite patches

v14:
* Reworded docstrings in suite
* Added flag checking to shell methods
* Fixed tx_vlan_reset method bug

Dean Marx (2):
  dts: add VLAN methods to testpmd shell
  dts: VLAN test suite implementation

 dts/framework/config/conf_yaml_schema.json    |   3 +-
 dts/framework/remote_session/testpmd_shell.py | 245 +++++++++++++++++-
 dts/tests/TestSuite_vlan.py                   | 167 ++++++++++++
 3 files changed, 413 insertions(+), 2 deletions(-)
 create mode 100644 dts/tests/TestSuite_vlan.py

-- 
2.44.0