From patchwork Wed Oct 21 15:30:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhao, HaiyangX" X-Patchwork-Id: 81668 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2F6E2A04DD; Wed, 21 Oct 2020 09:31:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 272E5ACC1; Wed, 21 Oct 2020 09:31:25 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id C4627ACBF for ; Wed, 21 Oct 2020 09:31:20 +0200 (CEST) IronPort-SDR: 0fYXKZCvSFwuQ/+m54ypxrP6mizsk1h6MJ5qYP6IhqClO4NRqmXyzX/5U/GhW+3rdmHsQ5RkHA 1S3XoEiWKEVA== X-IronPort-AV: E=McAfee;i="6000,8403,9780"; a="167418566" X-IronPort-AV: E=Sophos;i="5.77,400,1596524400"; d="scan'208";a="167418566" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2020 00:31:18 -0700 IronPort-SDR: vOrcOShofXurU9/JloQ6qdFFp0+YYZIsnu9ZkxHU/LNCC851fe5BWsS25cSr5cAgvOpgxcqume wfAV+xNRwUdg== X-IronPort-AV: E=Sophos;i="5.77,400,1596524400"; d="scan'208";a="533426745" Received: from unknown (HELO localhost.localdomain) ([10.240.183.55]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2020 00:31:16 -0700 From: Haiyang Zhao To: dts@dpdk.org Cc: Peng Yuan Date: Wed, 21 Oct 2020 15:30:01 +0000 Message-Id: <20201021153001.16590-2-haiyangx.zhao@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201021153001.16590-1-haiyangx.zhao@intel.com> References: <20201021153001.16590-1-haiyangx.zhao@intel.com> Subject: [dts] [PATCH V1]test_plans: clarify symmetric case pre steps X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" From: Peng Yuan clarify the pre-steps of symmetric cases of cvl rss test case. Signed-off-by: Peng Yuan diff --git a/test_plans/cvl_advanced_rss_test_plan.rst b/test_plans/cvl_advanced_rss_test_plan.rst index 9190d6af..729a6897 100644 --- a/test_plans/cvl_advanced_rss_test_plan.rst +++ b/test_plans/cvl_advanced_rss_test_plan.rst @@ -1773,20 +1773,26 @@ Launch testpmd without "--disable-rss" all the test cases run the same test steps as below: 1. validate rule. -2. send hit pattern packets with switched value of input set in the rule. +2. if the rule is MAC_IPV4_UDP/TCP/SCTP or MAC_IPV6_UDP/TCP/SCTP, + set "port config all rss all". +3. send hit pattern packets with switched value of input set in the rule. check the received packets have different hash value. check all the packets are distributed to queues by rss. -3. create rule and list rule. -4. send same packets with step 2. +4. create rule and list rule. +5. send same packets with step 2. check the received packets have the same hash value. check all the packets are distributed to queues by rss. -5. send not hit pattern packets with switched value of input set in the rule. +6. send not hit pattern packets with switched value of input set in the rule. check the received packets have different hash value. check all the packets are distributed to queues by rss. note: if there is not this type packet in the case, omit this step. -6. distroy the rule and list rule. -7. send same packets with step 2. - check the received packets have different hash value, or have not hash value. +7. distroy the rule and list rule. +8. send same packets with step 2. + if the rule is MAC_IPV4_UDP/TCP/SCTP or MAC_IPV6_UDP/TCP/SCTP, + check the received packets which switched ip address have different hash value, + which only switched L4 ports have same hash value. + if the rule is MAC_IPV4 or MAC_IPV6, + check the received packets have not hash value. Test case: symmetric MAC_IPV4 =============================