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 E2C60A00C2; Thu, 23 Jun 2022 13:37:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 97B4240A87; Thu, 23 Jun 2022 13:37:31 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 5E77B4003F for ; Thu, 23 Jun 2022 13:37:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655984250; x=1687520250; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=DFKfGyJjynW8ohZvERSzSd2uQhZbxpFjoOo35bamWLA=; b=k0pf2uLLCzUyAwZ5WyFkMQOVHyebscdwgsZGcg7uBw2FByzeUL7AIUpx za7iX8cfAeEizAKulqVD6L4c5f48Y3br3t7oQXFm0LY529VSvt1yI59D1 6yqk1jZL4vQSBhm3JEBsziPhhRKx8SS1I9yvJmC/0iobZNjcjnNJzPe/9 rHsljvPnsYevBHel1/yTBTl+aCHzL40xH6ON6mxeozvkcVzzFP7klqY98 FKs4gdFxdZ1m+IIwYYSDjpnpc6pZpK9jqXY2o1ITtgvsX+AHcMKr3FQcy cm1vBgrOpOB5sfx7Rvyb/lmfILdQfV5u0TkKmXnNItaWeR6Olz8ArNREZ Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10386"; a="261125782" X-IronPort-AV: E=Sophos;i="5.92,215,1650956400"; d="scan'208";a="261125782" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2022 04:37:28 -0700 X-IronPort-AV: E=Sophos;i="5.92,215,1650956400"; d="scan'208";a="644696827" Received: from unknown (HELO localhost.localdomain) ([10.239.252.93]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2022 04:37:27 -0700 From: Zhimin Huang To: dts@dpdk.org Cc: Zhimin Huang Subject: [dts][PATCH V2] test_plans/ice_advanced_iavf_rss:add lost case in testplan Date: Fri, 24 Jun 2022 04:01:51 +0800 Message-Id: <20220623200153.6607-2-zhiminx.huang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220623200153.6607-1-zhiminx.huang@intel.com> References: <20220623200153.6607-1-zhiminx.huang@intel.com> 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 the test_64bit_ipv6_prefix only found in testcase. sync testcase into testplan. Signed-off-by: Zhimin Huang --- .../ice_advanced_iavf_rss_test_plan.rst | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/test_plans/ice_advanced_iavf_rss_test_plan.rst b/test_plans/ice_advanced_iavf_rss_test_plan.rst index 2d20d6c9..2400f01a 100644 --- a/test_plans/ice_advanced_iavf_rss_test_plan.rst +++ b/test_plans/ice_advanced_iavf_rss_test_plan.rst @@ -1093,6 +1093,79 @@ ipv6-udp packets:: sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=32,dport=33)/("X"*480)],iface="enp134s0f0") +Test case: MAC_IPV6_64BIT_PREFIX +================================= +basic hit pattern packets are the same in this test case: +ipv6-64bit-prefix packets:: + + sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="fe81:1:a6bf:1ff:fe1c::806", dst="fe82:1:a6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +Subcase: MAC_IPV6_64BIT_PREFIX_L3SRC +------------------------------------- +1. create rss rule:: + + flow create 0 ingress pattern eth / ipv6 / end actions rss types ipv6 l3-pre64 l3-src-only end key_len 0 queues end / end + +2. hit pattern/defined input set: +ipv6-64bit-prefix packets:: + + sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="fe83:1:a6bf:2ff:fe1c::806", dst="fe82:1:a6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +3. hit pattern/not defined input set: +ipv6-64bit-prefix packets:: + + sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="fe81:1:a6bf:1ff:ee1c::806", dst="fe82:1:a6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="fe81:1:a6bf:1ff:ee1c::806", dst="fe82:1:a6bf:2ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +4. not hit pattern/not defined input set: +ipv6-udp packets:: + + sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="fe81:1:a6bf:1ff:fe1c::806", dst="fe82:1:a6bf:1ff:fe1c::806")/UDP(sport=1234, dport=5678)/Raw("x"*64)],iface="enp134s0f0") + +Subcase: MAC_IPV6_64BIT_PREFIX_L3DST +------------------------------------- +1. create rss rule:: + + flow create 0 ingress pattern eth / ipv6 / end actions rss types ipv6 l3-pre64 l3-dst-only end key_len 0 queues end / end + +2. hit pattern/defined input set: +ipv6-64bit-prefix packets:: + + sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="fe81:1:a6bf:1ff:fe1c::806", dst="fe83:1:a6bf:2ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +3. hit pattern/not defined input set: +ipv6-64bit-prefix packets:: + + sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="fe81:1:a6bf:1ff:fe1c::806", dst="fe82:1:a6bf:1ff:ee1c::806")/Raw("x"*64)],iface="enp134s0f0") + sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="fe83:1:a6bf:1ff:fe1c::806", dst="fe82:1:a6bf:1ff:ee1c::806")/Raw("x"*64)],iface="enp134s0f0") + +4. not hit pattern/not defined input set: +ipv6-udp packets:: + + sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="fe81:1:a6bf:1ff:fe1c::806", dst="fe82:1:a6bf:1ff:fe1c::806")/UDP(sport=1234, dport=5678)/Raw("x"*64)],iface="enp134s0f0") + +Subcase: MAC_IPV6_64BIT_PREFIX_L3SRC_DST +----------------------------------------- +1. create rss rule:: + + flow create 0 ingress pattern eth / ipv6 / end actions rss types ipv6 l3-pre64 l3-src-only l3-dst-only end key_len 0 queues end / end + +2. hit pattern/defined input set: +ipv6-64bit-prefix packets:: + + sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="fe81:1:a6bf:2ff:fe1c::806", dst="fe82:1:a6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +3. hit pattern/not defined input set: +ipv6-64bit-prefix packets:: + + sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="fe81:1:a6bf:1ff:fe1c::806", dst="fe82:1:a6bf:2ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="fe81:1:a6bf:1ff:ee1c::806", dst="fe82:1:a6bf:1ff:ee1c::806")/Raw("x"*64)],iface="enp134s0f0") + +4. not hit pattern/not defined input set: +ipv6-udp packets:: + + sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="fe81:1:a6bf:1ff:fe1c::806", dst="fe82:1:a6bf:1ff:fe1c::806")/UDP(sport=1234, dport=5678)/Raw("x"*64)],iface="enp134s0f0") + Test case: MAC_IPV6_UDP ======================= basic hit pattern packets are the same in this test case: -- 2.17.1