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 AA856456AC; Thu, 25 Jul 2024 18:23:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6659942E7A; Thu, 25 Jul 2024 18:23:58 +0200 (CEST) Received: from mail-qv1-f47.google.com (mail-qv1-f47.google.com [209.85.219.47]) by mails.dpdk.org (Postfix) with ESMTP id A7AFC427BA for ; Thu, 25 Jul 2024 18:23:33 +0200 (CEST) Received: by mail-qv1-f47.google.com with SMTP id 6a1803df08f44-6b7a3e4686eso7314376d6.1 for ; Thu, 25 Jul 2024 09:23:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1721924613; x=1722529413; 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=qXFOc+UiFLuXkhL3SZO0qX4Q/4KolyRiFDappKuIDjA=; b=HnyaNFP3NByaP+mWm8Ngo/WwLwyAIlLlnkVtHbRxbuHG0m13IEaJqsfblUlN1npjJI o70AZhhWG+koep1PWBvux0I8D89ERmL9Yq58sd7Zac14j5v1QKWBp4xODj54tWr8PfjS M9TgZ4GgkU6OYuuMWmo+jEIW/KTi4S9fTSF9U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721924613; x=1722529413; 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=qXFOc+UiFLuXkhL3SZO0qX4Q/4KolyRiFDappKuIDjA=; b=gJX7VS7qhseyO+DV7ao9UynmKfzqPyhUbnEF/gAbct0tXuSreXY4WJUqUV7fwQDJmR riOliI0UKtif3uPAwylyw4qZg20i6XyKdYfi9C0DbIEY2lxfoya8+2SBi2iCudbFXe6u UbcZdm5qvlj/lKKTCOPcsj+aoU5N2Ju2CVHXVbxE2KL/7hCGjoK9994XpMkKwSrz+92I 2bxwz3tQdnMX+aQkTNdjh1Dwja+5Stoit8xMeP/HuHKfIARvDCy6Ef18cDMpCpLHvoEb fJE9YPjeRrMkRWiWtO+acQ/oesTdoPpu1hTNpwb6xDFv7Zd+9TUzenuDvKsgtiJo3TQ7 kluA== X-Gm-Message-State: AOJu0YxdQ9ULIbKmgKn9Aeuu5WW4tKWoTZ3F6NTt2mb3eM19DjzeeU/4 N0NKzJ02nfj8Ak9rMF8tDt3734jyc/SjNv44j2owjtEotqv455Q64b8UEynhVz4= X-Google-Smtp-Source: AGHT+IHpOjeX5Bv/lICsrx2Aek63PohR9Np+3kuRdpiKT6yzuHDPPD4ixf0Q5+2zjFtedu4C+VRRiw== X-Received: by 2002:a05:6214:2602:b0:6b5:e58a:6397 with SMTP id 6a1803df08f44-6bb408624a6mr27636826d6.35.1721924612987; Thu, 25 Jul 2024 09:23:32 -0700 (PDT) Received: from dean-laptop.iol.unh.edu ([2606:4100:3880:1271:f9bd:24da:464d:6294]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6bb3f8d8269sm8683196d6.20.2024.07.25.09.23.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jul 2024 09:23:32 -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: [RFC v1 0/3] VXLAN-GPE test suite Date: Thu, 25 Jul 2024 12:23:22 -0400 Message-ID: <20240725162325.20933-1-dmarx@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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This test suite and the supporting testpmd shell changes originate from an old dts test plan called "vxlan_gpe_support_in_i40e", and the necessary testpmd commands to run the suite are only fully supported on the i40e NICs I have tested on (bnxt and mlx5 NICs don't support.) However, VXLAN-GPE tunnelling is technically supported in the ethdev API, so I decided to write it anyways. The suite consists originally consists of two test cases, but I compressed them into one where the udp_tunnel_port command is used to add VXLAN-GPE port 4790 to the filter list on testpmd. To my understanding, A UDP / VXLAN packet with dport 4790 is sent and captured to verify the VXLAN layer is still in the received packet. Then, the port 4790 tunnel is removed from the session and the same packet is sent, but when received should not have the VXLAN layer. I am unsure based on the test plan description whether the VXLAN layer is fully removed, or if the verbose output on testpmd just prints the VXLAN layer in stdout in the first case and not the second, but I decided to implement the former for now. Dean Marx (3): dts: add UDP tunnel command to testpmd shell dts: VXLAN gpe support test suite dts: conf schema VXLAN gpe support dts/framework/config/conf_yaml_schema.json | 3 +- dts/framework/remote_session/testpmd_shell.py | 51 +++++++++++- dts/tests/TestSuite_vxlan_gpe_support.py | 77 +++++++++++++++++++ 3 files changed, 129 insertions(+), 2 deletions(-) create mode 100644 dts/tests/TestSuite_vxlan_gpe_support.py -- 2.44.0