From patchwork Mon Aug 1 09:58:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 114467 Return-Path: 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 1D2E6A0540; Mon, 1 Aug 2022 03:38:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9C78042C72; Mon, 1 Aug 2022 03:38:41 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 5BDE54021E for ; Mon, 1 Aug 2022 03:38:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659317920; x=1690853920; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Jom7rKXuXIi8p/pAh9KB+2UBPPsUGscAIQbeMgJDoCQ=; b=DXl6P7dqd1XQJ3s2LIy6NTTTgNZSP+KzO2nmfWzyOci96qC+J9uBXjii KJBoTST3xGO1wz64y+1bv09xfgS/k3Gnl+VTovokNM0w6T0k0NZiZfepI 13lsg49yYEH4wnaXng1ELN/XbPbckh1xzDYyE9OnkLotbYhV6KXB9lzJj HXCMYuC97HRAZN6xrTdd5dXKAD0pX/5ie/m4erN6QVTu3QQMG9mlnxh7V TY+m87F/WThDJati+okkI8qISL5Oz9v1fc8oEahLplU0L4gD8shB40To+ c78TJ9nU0ZdplEq0nE5hieT8elu1TvFlS1oomW9XXYGmgcPomrWRHp0ry Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10425"; a="275941832" X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="275941832" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2022 18:38:40 -0700 X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="630051105" Received: from unknown (HELO localhost.localdomain) ([10.239.252.94]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2022 18:38:38 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V2 2/2] test_plans/ice_dcf_data_path: rename suite Date: Mon, 1 Aug 2022 09:58:04 +0000 Message-Id: <20220801095804.11475-2-songx.jiale@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220801095804.11475-1-songx.jiale@intel.com> References: <20220801095804.11475-1-songx.jiale@intel.com> MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org rename the name of ice_dcf_date_path to ice_dcf_data_path and modify the format of testplan. Signed-off-by: Jiale Song Acked-by: Peng, Yuan Signed-off-by: Jiale Song --- ...an.rst => ice_dcf_data_path_test_plan.rst} | 24 ++++++++++++++++--- test_plans/index.rst | 2 +- 2 files changed, 22 insertions(+), 4 deletions(-) rename test_plans/{ice_dcf_date_path_test_plan.rst => ice_dcf_data_path_test_plan.rst} (94%) diff --git a/test_plans/ice_dcf_date_path_test_plan.rst b/test_plans/ice_dcf_data_path_test_plan.rst similarity index 94% rename from test_plans/ice_dcf_date_path_test_plan.rst rename to test_plans/ice_dcf_data_path_test_plan.rst index 1a0df884..e530c438 100644 --- a/test_plans/ice_dcf_date_path_test_plan.rst +++ b/test_plans/ice_dcf_data_path_test_plan.rst @@ -1,3 +1,15 @@ +.. SPDX-License-Identifier: BSD-3-Clause + Copyright(c) 2019 Intel Corporation + + +======================= +ICE DCF Data Path Tests +======================= + +Description +=========== + +This document provides the plan for testing DCF data path function of IntelĀ® Ethernet 800 Series. Common steps for launching DCF ============================== @@ -17,7 +29,7 @@ Set a VF as trust :: Launch dpdk on the VF, request DCF mode :: ./usertools/dpdk-devbind.py -b vfio-pci 18:01.0 - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-10 -n 4 -a 18:01.0,cap=dcf --file-prefix=vf -- -i + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 6-10 -n 4 -a 18:01.0,cap=dcf --file-prefix=vf -- -i --rxq=4 --txq=4 --txd=384 --rxd=384 Test Case: Launch DCF and do macfwd @@ -65,6 +77,7 @@ Send a series packets to check if DCF RSS is correct for IPv4 :: sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="00:11:22:33:44:55")/IP(src="192.168.1.1", dst="192.168.1.2")/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3, and should be same to p4. +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for IPv6 :: @@ -74,6 +87,7 @@ Send a series packets to check if DCF RSS is correct for IPv6 :: sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="00:11:22:33:44:55")/IPv6(src="::22", dst="::11")/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3, and should be same to p4. +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for tunnelling packet (inner IPv4) :: @@ -85,7 +99,7 @@ Send a series packets to check if DCF RSS is correct for tunnelling packet (inne Expected: p1 hash value is not equal to p2 or p3. p1 hash value is equal to p4 and p5. - +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for tunnelling packet (inner IPv6) :: @@ -96,6 +110,7 @@ Send a series packets to check if DCF RSS is correct for tunnelling packet (inne sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="11:22:33:44:55:77")/IPv6(src="::33", dst="::44")/GRE()/IPv6(src="::22", dst="::11")/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3. p1 hash value is equal to p4 and p5. +p1/p2/p3 should be devided into different queues. Test Case: Check default rss for L4 @@ -122,6 +137,7 @@ Send a series packets to check if DCF RSS is correct for IPv4 :: sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="00:22:33:44:55:77")/IP(src="192.168.1.1", dst="192.168.1.2")/TCP(sport=1234, dport=5678)/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3 or p4 or p5, and should be equal to p6. +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for IPv6 :: @@ -133,6 +149,7 @@ Send a series packets to check if DCF RSS is correct for IPv6 :: sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="11:22:33:44:55:77")/IPv6(src="::22", dst="::11")/TCP(sport=1234, dport=5678)/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3 or p4 or p5, and should be equal to p6. +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for tunnelling packet (inner IPv4) :: @@ -145,7 +162,7 @@ Send a series packets to check if DCF RSS is correct for tunnelling packet (inne sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="00:22:33:44:55:77")/IPv6(src="::11", dst="::22")/GRE()/IP(src="192.168.1.1", dst="192.168.1.2")/TCP(sport=1234, dport=5678)/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3 or p4 or p5, and should be equal to p6 and p7. - +check the packets are distributed to queues by rss. Send a series packets to check if DCF RSS is correct for tunnelling packet (inner IPv6) :: @@ -158,6 +175,7 @@ Send a series packets to check if DCF RSS is correct for tunnelling packet (inne sendp(Ether(dst="D2:6B:4C:EB:1C:26", src="00:22:33:44:55:77")/IPv6(src="::33", dst="::44")/GRE()/IPv6(src="::22", dst="::11")/UDP(sport=1234, dport=5678)/Raw('x'*64), iface=intf) Expected: p1 hash value is not equal to p2 or p3 or p4 or p5, and should be equal to p6 and p7. +check the packets are distributed to queues by rss. Test Case: Create rule with to original VF action diff --git a/test_plans/index.rst b/test_plans/index.rst index a78dd0f5..5c1744cb 100644 --- a/test_plans/index.rst +++ b/test_plans/index.rst @@ -28,7 +28,7 @@ The following are the test plans for the DPDK DTS automated test system. ice_advanced_iavf_rss_pppol2tpoudp_test_plan ice_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan ice_dcf_acl_filter_test_plan - ice_dcf_date_path_test_plan + ice_dcf_data_path_test_plan ice_dcf_switch_filter_test_plan ice_dcf_switch_filter_pppoe_test_plan ice_dcf_switch_filter_gtpu_test_plan