Message ID | 20240805171246.18580-1-npratte@iol.unh.edu (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1F9D545743; Mon, 5 Aug 2024 19:13:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A3560402A1; Mon, 5 Aug 2024 19:13:02 +0200 (CEST) Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) by mails.dpdk.org (Postfix) with ESMTP id 50A0940295 for <dev@dpdk.org>; Mon, 5 Aug 2024 19:13:01 +0200 (CEST) Received: by mail-qk1-f172.google.com with SMTP id af79cd13be357-7a1e23baecbso13385a.1 for <dev@dpdk.org>; Mon, 05 Aug 2024 10:13:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1722877980; x=1723482780; 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=1WzdiIuQA/lE+UxUPdagJ10VMymsnwi7/vheE5oAOqQ=; b=U1aGdVIFtLLU8y1fmL82IFOvIf43EeHU/5sRiRxa0HfmxTnmWabVTDhK5lmd8DnRjc zwlrfoaHKd9vSPKaDQuh4/e9lIvHfdryviuyFvuXzkF1epCbKvmea1VAh1xV7JLx62BJ 0dhKRO4SYIzJICGzPhm0SmMGtJ1vaLGfLRLCc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722877980; x=1723482780; 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=1WzdiIuQA/lE+UxUPdagJ10VMymsnwi7/vheE5oAOqQ=; b=jrJ6m7I2AGTnUP212np0RKBSjrEeAm73FBTLvz9+lG3lT7StjAWUn/hTjFCFCP9+S2 VNgAe5lUy2VXZ0kJ5EIvmprDRG9e0uWwxNTvq/XQKSCp9gcokKJFA5eEe7rrmDkSc5Mr MXvTazA4vqRJF04dbg49GVYZuHZnwCd7/o2ua+BkrypLXWYmuHi0Ucz77uaicogEQmM4 a1qH0enS+/Cwfc3UKQIiQf73kxYy/WgQHINQbamxuuTLiiFSO5PNNwlNKWTm2hfifAX6 8+8kzUasAPk8FocLQWrPsMl6oOZQQHIWyyHfA04SKymOR6gKB4gOzIW9x+K/8QdrMa01 yvfw== X-Gm-Message-State: AOJu0YwwJ1qbI81+y//PimGuwV98w/NGpvEVpm8EeAxvDxpltjmPghXH OMxK0MPrU6pdRqiPw6YGXcLDIeOD1lARSw8YJoHBzqL00y0rNWOIeSQuhSadoqQ= X-Google-Smtp-Source: AGHT+IHjC5R1RPYkHctIC9F/OthkpDfpPHsubWP3zXvlZzQUQ95BpHxJmxlnVo0P5d6O/PDzofMBWQ== X-Received: by 2002:ac8:4f54:0:b0:451:9e79:a100 with SMTP id d75a77b69052e-4519e7a10a6mr46411681cf.3.1722877980121; Mon, 05 Aug 2024 10:13:00 -0700 (PDT) Received: from localhost.unh.edu ([2606:4100:3880:1271:e2f8:4ec3:8bf3:864c]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4519ed14bf8sm19517331cf.3.2024.08.05.10.12.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 10:12:59 -0700 (PDT) From: Nicholas Pratte <npratte@iol.unh.edu> To: Honnappa.Nagarahalli@arm.com, yoan.picchi@foss.arm.com, paul.szczepanek@arm.com, juraj.linkes@pantheon.tech, luca.vizzarro@arm.com, probb@iol.unh.edu, dmarx@iol.unh.edu, jspewock@iol.unh.edu Cc: dev@dpdk.org, Nicholas Pratte <npratte@iol.unh.edu> Subject: [RFC v1 0/2] dts: Ethertype ethdev api test suite Date: Mon, 5 Aug 2024 13:12:44 -0400 Message-ID: <20240805171246.18580-1-npratte@iol.unh.edu> X-Mailer: git-send-email 2.44.0 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 |
Series |
dts: Ethertype ethdev api test suite
|
|
Message
Nicholas Pratte
Aug. 5, 2024, 5:12 p.m. UTC
Some general input would be helpful in understanding the validity of certain test cases within this suite. Each test case is based on the old DTS test plan. As it currently exists, none of the NICs available for testing (Intel, Broadcom, Mellanox) properly interface with ethdev api functions related to tpid changes; some may not support it these features. There is a comment on the old DTS test plan related to extended vlans that needs extra clarification: "Due to the kernel enables Qinq and cannot be closed, the DPDK only add `extend on` to make the VLAN filter work normally. Therefore, if the i40e firmware version >= 8.4 the DPDK can only add `extend on` to make the VLAN filter work normally" Capabilities needed related to certain VLAN offloading functionalities, and these are implemented within the test suite currently. Some interesting points to highlight in writing this test suite is the need to modify the tpid at the 'Ether' layer within Scapy, as doing so modifies the correct tpid needed for testing; this might seem counter-intuitive at first glance. Nicholas Pratte (2): dts: add additional vlan configuration to testpmd shell class dts: port ethertype ethdev api test suite to new dts framework dts/framework/config/conf_yaml_schema.json | 3 +- dts/framework/remote_session/testpmd_shell.py | 55 +++ dts/tests/TestSuite_ethertype_config.py | 381 ++++++++++++++++++ 3 files changed, 438 insertions(+), 1 deletion(-) create mode 100644 dts/tests/TestSuite_ethertype_config.py