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 356BBA0548; Wed, 8 Jun 2022 08:09:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 081DB4021F; Wed, 8 Jun 2022 08:09:24 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id D99104021D for ; Wed, 8 Jun 2022 08:09:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654668563; x=1686204563; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=9ddk49+LHgcHXyfgsf5Wepfcw32s5GofWXMseVisEcc=; b=CWCH01YeQO33DlSrf//AiH6zP2P+OPQjXH6EfLbjkEC4x9IXjHaK0bwg kcxHBu/3ZEfFw31Qu3iV/wSSwi/LFFpbiSJ1VHdXEa0vSh9MsMov0MZTy /LyGlyQSJYE4cdQ5uJkVM/tXS5nEhW6jszdOQ7cpTihuctkHNITspMOtW ESHPHHEsItMn7NJW1h6WUfE3aeUU9vpbaflYcHvMAOpQ8Jbw7nCUI+sJQ ggA8ykDLJ2JB+63XM/3T3ZOeb89x7pq8vSPItI7iVfA5aZ5tlLGNjvSWn kIU16wYgLrQDRADNbe7V/42xAfdD8HQVmWYPFLtYfvH7e56PbuCD9l9cO Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10371"; a="276831080" X-IronPort-AV: E=Sophos;i="5.91,285,1647327600"; d="scan'208";a="276831080" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2022 23:09:21 -0700 X-IronPort-AV: E=Sophos;i="5.91,285,1647327600"; d="scan'208";a="584667397" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2022 23:09:20 -0700 From: Zhimin Huang To: dts@dpdk.org Cc: Zhimin Huang Subject: [dts][PATCH V1] test_plans/ice_advanced_iavf_rss:add lost case in testplan Date: Wed, 8 Jun 2022 14:09:16 +0800 Message-Id: <20220608060916.462972-1-zhiminx.huang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 and add into testplan. Signed-off-by: Zhimin Huang --- .../ice_advanced_iavf_rss_test_plan.rst | 75 +++++++++++++++++++ 1 file changed, 75 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..d8cf31ae 100644 --- a/test_plans/ice_advanced_iavf_rss_test_plan.rst +++ b/test_plans/ice_advanced_iavf_rss_test_plan.rst @@ -51,6 +51,8 @@ Pattern and input set +-------------------------------+---------------------------+----------------------------------------------------------------------------------+ | | MAC_IPV6 | eth, l2-src-only, l2-dst-only, ipv6, l3-src-only, l3-dst-only | +-------------------------------+---------------------------+----------------------------------------------------------------------------------+ + | | MAC_IPV6_64BIT_PREFIX | ipv6, l3-src-only, l3-dst-only | + +-------------------------------+---------------------------+----------------------------------------------------------------------------------+ | | MAC_IPV6_UDP | eth, l2-src-only, l2-dst-only, ipv6-udp, l3-src-only, l3-dst-only, | | | | l4-src-only, l4-dst-only, ipv6 | +-------------------------------+---------------------------+----------------------------------------------------------------------------------+ @@ -1093,6 +1095,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