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 360F64545E; Fri, 14 Jun 2024 17:03:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2653042798; Fri, 14 Jun 2024 17:03:51 +0200 (CEST) Received: from mail-qt1-f181.google.com (mail-qt1-f181.google.com [209.85.160.181]) by mails.dpdk.org (Postfix) with ESMTP id A66254042C for ; Fri, 14 Jun 2024 17:03:45 +0200 (CEST) Received: by mail-qt1-f181.google.com with SMTP id d75a77b69052e-440952018fbso12081461cf.0 for ; Fri, 14 Jun 2024 08:03:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1718377425; x=1718982225; 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=pa4F7aKBUhWXC1AxPa1ZNydL5i8PQxocdwENJDOH/sM=; b=Q7wD78YtJPySgS0KiiwpbwHTmYkExzEBaZSO3DfT5e6nmgwBxUz5YegS6pXrRKw/Si /lesvSFX2tp7b8GXwjIBqo+sedG6M6ituw2bVOqKoyJp2BRtYoBwmBNkEnnuvBr4aE8/ 1XDxjBadMrdCtsjOChzZqkzloIz7SIYdBM9vM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718377425; x=1718982225; 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=pa4F7aKBUhWXC1AxPa1ZNydL5i8PQxocdwENJDOH/sM=; b=NH53QnJOqmy1lGeThA55Br8JGYhH/Vacr629B9FibFs7XKe7ZOIFeT18sYUNuwaAVx ew8p1/W6T2ryIGvoRfRs+JWFwow1zCEehS3KzE1cKGjhv/gRFzbr3I/fUWe9f0fMZTy0 T+SRK0zFiM9Ze+b9a08yks77y87r/V9vWbl36Y7zM8BNulS78npMtl+QwfSg4qSWBOyj uNKPmTwqdIWVzVEbiDI8tylK4SFAwFzcaphOnUz/s/cpZhQJF8idYOoahfjBQ7R1TgWh Ax3M8QEAttKmTMDedbJRmMwEbM3RH8GeKhMO2a1lmfo5ajE9usIiwwfFuaer6hKCAJR6 Bucw== X-Gm-Message-State: AOJu0YzUaT6zXSVQUzxby2XDYHfnS7OPv28oJotldX13QANoqDbPGlho uMc/stpEFCqxKPlp6XVOE9GbG6pOHlfIE5XGjXtvQ8pNPKdd5v0zKW5dQ0QQZiFI4TkJhXVNu9t O X-Google-Smtp-Source: AGHT+IEFa7QyFrNJGHFVYJN6XuGFlGgZerEPs+0TMMR45ZCgbzO2DZbJgCqO6Wojb8YfmgU0zLRTPQ== X-Received: by 2002:a05:622a:153:b0:43a:f8d3:f4c4 with SMTP id d75a77b69052e-4421687becfmr24722541cf.21.1718377424836; Fri, 14 Jun 2024 08:03:44 -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-44212efe609sm12966671cf.52.2024.06.14.08.03.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 08:03:44 -0700 (PDT) From: Dean Marx To: Honnappa.Nagarahalli@arm.com, juraj.linkes@pantheon.tech, probb@iol.unh.edu, paul.szczepanek@arm.com, yoan.picchi@foss.arm.com, jspewock@iol.unh.edu, bruce.richardson@intel.com, luca.vizzarro@arm.com Cc: dev@dpdk.org, Dean Marx Subject: [PATCH v3 0/3] VLAN Test Suite Date: Fri, 14 Jun 2024 11:02:35 -0400 Message-ID: <20240614150238.26374-1-dmarx@iol.unh.edu> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240611161606.23881-2-dmarx@iol.unh.edu> References: <20240611161606.23881-2-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 VLAN test suite for ensuring VLAN filtering, stripping, and header insertion is functional on DPDK Poll Mode Drivers. The suite contains four test cases: 1. Enable VLAN filtering and disable stripping - verifies that packets with a VLAN tag found in the filter list are received with the tag when stripping is disabled. 2. Enable VLAN filtering and stripping - verifies that packets with a VLAN tag found in the filter list are received without the tag when stripping is enabled. 3. Disable VLAN packet receipt - verifies that packets with a VLAN tag not found in the filter list are dropped. 4. Enable VLAN header insertion in transmitted packets - verifies that packets without a VLAN tag are received with a VLAN tag when header insertion is enabled. VLAN functions are offloaded by the DPDK driver and use the Ethernet Device API (rte_ethdev.) Dean Marx (3): Added VLAN commands to testpmd_shell class Initial implementation for VLAN test suite Config schema dts/framework/config/conf_yaml_schema.json | 3 +- dts/framework/remote_session/testpmd_shell.py | 164 +++++++++++++++++ dts/tests/TestSuite_vlan.py | 172 ++++++++++++++++++ 3 files changed, 338 insertions(+), 1 deletion(-) create mode 100644 dts/tests/TestSuite_vlan.py -- 2.44.0