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 C661FA0093; Thu, 23 Jun 2022 13:37:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C1A0440A82; Thu, 23 Jun 2022 13:37:33 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id BC99C40042 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=h2UTv7Uq2htxObvplzlGfGZQvA+q9CfoqlxmpFdu4o4=; b=ZI8Rrd/V1+JOk4WEJN25lq2zny7Xpe6uqQ5+pHekdBrJvnGFaOl20nUF /JoBTfLrmu2VD17TA4jUB5btjLL2m1Rjli6ugOokbK+PeqaVtLSEO7lFx Eq4hdoRjiz/M+Mm5QlzyKUqdue3+DvaBTTFe+QcozA8CdBM3hRBWRjm87 0yYmdSzR+bFVPV8lbTNgBiWVMNliQLnY4Frjxn7vjuJxMuM+Vx6bdn+YD JpfBg7L8IctsxCxeYt3tMsrDFlfanJXIajVN4Sgo0GwlQ+Wc2ZYTea7rL ShiVCDrSrESFnVYf3WyqQl/J3pm4IwuAgNtnErqBemydeZClJRjPFBsuJ A==; X-IronPort-AV: E=McAfee;i="6400,9594,10386"; a="261125784" X-IronPort-AV: E=Sophos;i="5.92,215,1650956400"; d="scan'208";a="261125784" 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:30 -0700 X-IronPort-AV: E=Sophos;i="5.92,215,1650956400"; d="scan'208";a="644696863" 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:29 -0700 From: Zhimin Huang To: dts@dpdk.org Cc: Zhimin Huang Subject: [dts][PATCH V1] test_plans/ice_advanced_rss:add lost case in testplan Date: Fri, 24 Jun 2022 04:01:52 +0800 Message-Id: <20220623200153.6607-3-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 32bit_ipv6_prefix/48bit_ipv6_prefix/64bit_ipv6_prefix only found in testcase. sync testcase to testplan. Signed-off-by: Zhimin Huang --- test_plans/ice_advanced_rss_test_plan.rst | 212 ++++++++++++++++++++++ 1 file changed, 212 insertions(+) diff --git a/test_plans/ice_advanced_rss_test_plan.rst b/test_plans/ice_advanced_rss_test_plan.rst index 5ef2c52f..48dcc545 100644 --- a/test_plans/ice_advanced_rss_test_plan.rst +++ b/test_plans/ice_advanced_rss_test_plan.rst @@ -1484,6 +1484,218 @@ Subcase: MAC_IPV6_SCTP_L4DST Subcase: MAC_IPV6_SCTP_ALL -------------------------- +Test case: MAC_IPV6_32BIT_PREFIX +================================= +basic hit pattern packets are the same in this test case: +ipv6-udp packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:a6bf:1ff:fe1c::806", dst="fe82:1:a6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +Subcase: MAC_IPV6_32BIT_PREFIX_L3SRC +------------------------------------- +1. create rss rule:: + + flow create 0 ingress pattern eth / ipv6 / end actions rss types ipv6 l3-pre32 l3-src-only end key_len 0 queues end / end + +2. hit pattern/defined input set: +ipv6-64bit-prefix packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/IPv6(src="fe83:1:a6bf:1ff: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="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:b6bf:1ff:fe1c::806", dst="fe82:1:a6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +4. not hit pattern/not defined input set: +ipv6-udp packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/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_32BIT_PREFIX_L3DST +------------------------------------- +1. create rss rule:: + + flow create 0 ingress pattern eth / ipv6 / end actions rss types ipv6 l3-pre32 l3-dst-only end key_len 0 queues end / end + +2. hit pattern/defined input set: +ipv6-64bit-prefix packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:a6bf:1ff:fe1c::806", dst="fe83:1:a6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +3. hit pattern/not defined input set: +ipv6-64bit-prefix packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:a6bf:1ff:fe1c::806", dst="fe82:1:b6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +4. not hit pattern/not defined input set: +ipv6-udp packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/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_32BIT_PREFIX_L3SRC_DST +----------------------------------------- +1. create rss rule:: + + flow create 0 ingress pattern eth / ipv6 / end actions rss types ipv6 l3-pre32 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="68:05:CA:BB:26:E0")/IPv6(src="fe83:1:a6bf:1ff:fe1c::806", dst="fe82:1:a6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + sendp([Ether(dst="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:a6bf:1ff:fe1c::806", dst="fe83:1:a6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +3. hit pattern/not defined input set: +ipv6-64bit-prefix packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:b6bf:1ff:fe1c::806", dst="fe82:1:b6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +4. not hit pattern/not defined input set: +ipv6-udp packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/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_48BIT_PREFIX +================================= +basic hit pattern packets are the same in this test case: +ipv6-udp packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:a6bf:1ff:fe1c::806", dst="fe82:1:a6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +Subcase: MAC_IPV6_48BIT_PREFIX_L3SRC +------------------------------------- +1. create rss rule:: + + flow create 0 ingress pattern eth / ipv6 / end actions rss types ipv6 l3-pre48 l3-src-only end key_len 0 queues end / end + +2. hit pattern/defined input set: +ipv6-64bit-prefix packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:b6bf:1ff: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="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:a6bf:2ff:fe1c::806", dst="fe82:1:a6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +4. not hit pattern/not defined input set: +ipv6-udp packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/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_48BIT_PREFIX_L3DST +------------------------------------- +1. create rss rule:: + + flow create 0 ingress pattern eth / ipv6 / end actions rss types ipv6 l3-pre48 l3-dst-only end key_len 0 queues end / end + +2. hit pattern/defined input set: +ipv6-64bit-prefix packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:a6bf:1ff:fe1c::806", dst="fe83:1:b6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +3. hit pattern/not defined input set: +ipv6-64bit-prefix packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:a6bf:1ff:fe1c::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="68:05:CA:BB:26:E0")/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_48BIT_PREFIX_L3SRC_DST +----------------------------------------- +1. create rss rule:: + + flow create 0 ingress pattern eth / ipv6 / end actions rss types ipv6 l3-pre48 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="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:b6bf:1ff:fe1c::806", dst="fe82:1:a6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + sendp([Ether(dst="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:a6bf:1ff:fe1c::806", dst="fe82:1:b6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +3. hit pattern/not defined input set: +ipv6-64bit-prefix packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:a6bf:2ff:fe1c::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="68:05:CA:BB:26:E0")/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_64BIT_PREFIX +================================= +basic hit pattern packets are the same in this test case: +ipv6-udp packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/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="68:05:CA:BB:26:E0")/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="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:a6bf:1ff:ee1c::806", dst="fe82:1:a6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +4. not hit pattern/not defined input set: +ipv6-udp packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/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="68:05:CA:BB:26:E0")/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="68:05:CA:BB:26:E0")/IPv6(src="fe81: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="68:05:CA:BB:26:E0")/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="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:a6bf:2ff:fe1c::806", dst="fe82:1:a6bf:1ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + sendp([Ether(dst="68:05:CA:BB:26:E0")/IPv6(src="fe81:1:a6bf:1ff:fe1c::806", dst="fe82:1:a6bf:2ff:fe1c::806")/Raw("x"*64)],iface="enp134s0f0") + +3. hit pattern/not defined input set: +ipv6-64bit-prefix packets:: + + sendp([Ether(dst="68:05:CA:BB:26:E0")/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="68:05:CA:BB:26:E0")/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") symmetric-toeplitz Test steps ============================= -- 2.17.1