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 2308E45626; Mon, 15 Jul 2024 21:59:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE29C4065F; Mon, 15 Jul 2024 21:59:38 +0200 (CEST) Received: from mail-oa1-f98.google.com (mail-oa1-f98.google.com [209.85.160.98]) by mails.dpdk.org (Postfix) with ESMTP id 44A3F402AF for ; Mon, 15 Jul 2024 21:59:37 +0200 (CEST) Received: by mail-oa1-f98.google.com with SMTP id 586e51a60fabf-2598001aae7so2510833fac.2 for ; Mon, 15 Jul 2024 12:59:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1721073576; x=1721678376; 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=5N4rL/7qWWxs1ePTlO+JNTp1uKdWvbmVUPMDBj/xbjs=; b=Q7eUWeDGt8aIWhw9lIWTOZIOwdkOY3VZ4LaA62W7X/+UZfAp7KHY8L1VcOyaMTbA5y xMNP6T1k7u8SueCif64Uy1fIiUfowsEXN8AK4G2hlYhA7UfpUS7pCrWkXDhrVF5Te/HW SgCMA0XiH/jhxuaFaAapMvcH0C81G1nRZ/7AQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721073576; x=1721678376; 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=5N4rL/7qWWxs1ePTlO+JNTp1uKdWvbmVUPMDBj/xbjs=; b=thpL8w6Gg8op0H2nXoBgpjKuQJUIjUJ4xLMKzTpJyA5hupoltPJiaTxuvUrKn8LuTL QOeW+nZjtgPO5AlfeTbQypNrvy5Gn0JtayAzwaYfJ/CAUyyaJxpzELsnEfqzD7xpiyWT RhbHzoHPW7FLIAc60F5wrMnhOQHMDuyenF7blUv+Xl88YA0v8+OXB4kUeCwpF8jAiY/z Jh8nDzCjVe/O/vFZ76M0nuklxi90nRIt+VDEUYnLB6A5z+Kiweyj2NEWenJOexWhyukz vZ3u3PDxu+SmQVeCBNbBhvf9/a2w4pSO/wrKw+RO6K2TYJnFmD+YBJNZOp0USRT5XG6P 7B1g== X-Gm-Message-State: AOJu0YzqU8ki5GIHLdkSsErzlVAqF/MalHZ6CLoqqD+KJrC5hdKkPyDy Wwh7GA09wyIZAzggRMrr27BjlQHUQifKuVCH85aOLZ9VFog9njQMvF4Pz/gCSiSlGPlu2uz71aM ncOj7//khd/64cfue99cn7LkJbnf/lKlg X-Google-Smtp-Source: AGHT+IEz5n7gZm3vbQzWSr8qI7HYdZd3Vb1FkZ7RTDi5SNOb9ZaxR5riO6mlTNKJybewnMlSgXORk0EuP+fg X-Received: by 2002:a05:6870:96a7:b0:254:77f7:7bdd with SMTP id 586e51a60fabf-25eaec8ddecmr18131972fac.50.1721073576415; Mon, 15 Jul 2024 12:59:36 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id 586e51a60fabf-260750f80fdsm91629fac.2.2024.07.15.12.59.36 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jul 2024 12:59:36 -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 6E373605C380; Mon, 15 Jul 2024 15:59:35 -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 Subject: [PATCH v1 0/3] dts: add test suite for dual VLANs Date: Mon, 15 Jul 2024 15:58:49 -0400 Message-ID: <20240715195852.254033-1-jspewock@iol.unh.edu> X-Mailer: git-send-email 2.45.2 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 This series ports over the implementation of the dual_vlan test suite in old DTS and refactors it, dropping some duplicated functionality as well as some features that are specific to certain NICs. One thing to note about this series is that it is tested and fully working on a Mellanox NIC running the mlx5_core driver, but in testing I did notice some stranger behavior on a NIC running the bnxt_en driver. The broadcom NIC worked for all test cases except for those involving VLAN insertion. In the presence of 2 VLAN headers it seems that the bnxt_en NIC drops the packet completely if you attempt to insert a 3rd. I originally thought this might be an MTU issue, but with MTUs of 2000 on the DUT and 9000 on the traffic generator the packet was still dropped. I believe VLAN insertion in the presence of no other VLAN headers works on this same NIC was tested by Dean Marx. Jeremy Spewock (3): dts: fix Testpmd function for resetting VLAN insertion dts: add dual_vlan testing suite dts: add dual_vlan test suite to the yaml schema dts/framework/config/conf_yaml_schema.json | 3 +- dts/framework/remote_session/testpmd_shell.py | 2 +- dts/tests/TestSuite_dual_vlan.py | 281 ++++++++++++++++++ 3 files changed, 284 insertions(+), 2 deletions(-) create mode 100644 dts/tests/TestSuite_dual_vlan.py -- 2.45.2