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 43D0245962; Wed, 11 Sep 2024 19:42:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C87D842EF2; Wed, 11 Sep 2024 19:42:53 +0200 (CEST) Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) by mails.dpdk.org (Postfix) with ESMTP id 2D7E442EDB for ; Wed, 11 Sep 2024 19:42:53 +0200 (CEST) Received: by mail-qk1-f171.google.com with SMTP id af79cd13be357-7a4df9dc885so5031485a.0 for ; Wed, 11 Sep 2024 10:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1726076572; x=1726681372; 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=fvrc7pmzX19v9y7NiIa+ZY3Tg+AyCfTvzZWWJ+75jDM=; b=DSjqJVXOaUhaS6ZDMmt0W/4O8tRTAoEgDn+Q6ZD8Ld75w/EELeoUDvseYNVWyyg7NF z5REOcAda0xdEEepYXb8TvjZoW25yszzdoyua9VMNqbgX8IzkzfCrB+DWujoDpknOD90 aNPYAeBwuVhq4ibLe9AMWoNn3QrtyWkQuAfR0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726076572; x=1726681372; 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=fvrc7pmzX19v9y7NiIa+ZY3Tg+AyCfTvzZWWJ+75jDM=; b=YyGSlSAqH5PlmfceoDp2MMcfz8Oe+PJLs5q7loX17qQjz5fOMX4MAktQevYuH9Qi/z HsGk7yrQ3xwqMi24yn0RV9x+uwAgr69hsTg03iM8cLT0iChT66pM4MkBFHpBsRrIgfZr o49R4tshkvHLoKGmsYctML47l+RUgO3e3idi7/LLrvfSs4qZdFCNCwUOT5zrnSK46DKX mFjWjqCP8ul96WAtawT9dW1PNBKz4gdGB21omjaWLUQcmtOuirO8SOJkkxhodXGwLoLA l5yu0Ups5d8AQjmfoL6wXOiq1rM351jyREWTP4JaV0LkFEdyjhJo80BRByQIIjDGqte4 vcCA== X-Gm-Message-State: AOJu0YyhH4HzS1NTII8zhrsQdoC70M6qlarWQqVD4JGWGzPTuhNB94FZ EMebJb958cIn2e1oX7+hCkCfqI+2IuGseAGXOnWgQ7HaUYdNndknqpZqtHdQFjU= X-Google-Smtp-Source: AGHT+IElH/hUfnoDfF575c9t3TvWhVVvNX+ZihdcXC2IPMrMxbdjf87EKViegidD1RCinuFitxr1TQ== X-Received: by 2002:a05:620a:4045:b0:7a9:ba35:1863 with SMTP id af79cd13be357-7a9e609b42fmr26182285a.13.1726076572284; Wed, 11 Sep 2024 10:42:52 -0700 (PDT) Received: from dean-laptop.iol.unh.edu ([2606:4100:3880:1271:f9bd:24da:464d:6294]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7a9a798e3a6sm442568585a.56.2024.09.11.10.42.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 10:42:51 -0700 (PDT) From: Dean Marx 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 Subject: [PATCH v14 0/1] dts: port over VLAN test suite Date: Wed, 11 Sep 2024 13:43:09 -0400 Message-ID: <20240911174310.19973-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 (1): dts: VLAN test suite implementation dts/framework/config/conf_yaml_schema.json | 3 +- dts/tests/TestSuite_vlan.py | 167 +++++++++++++++++++++ 2 files changed, 169 insertions(+), 1 deletion(-) create mode 100644 dts/tests/TestSuite_vlan.py -- 2.44.0