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 12E4BA0093; Thu, 17 Mar 2022 10:26:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 02B604067B; Thu, 17 Mar 2022 10:26:35 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 5481A40151 for ; Thu, 17 Mar 2022 10:26:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647509192; x=1679045192; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Qwch2bu+ge6IoeMWP9dB5uvRr8BxS3Oos1dR2CQNSj4=; b=ATk7nPGzBWQKHKpCDjqfzfdRnE44xx54TUe+2Iz99lHDphh+psdEhb01 1dFqxXnDKt/wtO0FBSf5/73mCV5M93UMWetCVHMgDMUBMDkpU31IBroL/ M6gtDpiqyB62i5cYHS41CCIZnIvFEav++aCw9h9GvwleMCu9saXxLEYUk o++5oexVy51+CxBXAC6WgGcVoQ3XsYMZLDjbk9/w32o99XqPLss6PMkKD Pji7Kuwl361D9Yz3UZUi1NPGhXFz0Qi7JY0cXwS4j70TFRpr0IXO2SXag w0ZIfxquozuRj3KzIgajpZY1SnHqcDEtwN2EqSmKuK/Rd7oCjFrdnR69h Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10288"; a="343258652" X-IronPort-AV: E=Sophos;i="5.90,188,1643702400"; d="scan'208";a="343258652" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2022 02:26:31 -0700 X-IronPort-AV: E=Sophos;i="5.90,188,1643702400"; d="scan'208";a="541302115" Received: from unknown (HELO localhost.localdomain) ([10.239.251.226]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2022 02:26:29 -0700 From: Yu Jiang To: zhaoyan.chen@intel.com, lijuan.tu@intel.com, dts@dpdk.org Cc: Yu Jiang Subject: [dts][PATCH V1] test_plans/sw_hw_thash_consistence: remove test plan due to dpdk code(rte_hash) doesn't upstream Date: Thu, 17 Mar 2022 17:25:45 +0000 Message-Id: <20220317172545.2520892-1-yux.jiang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 rte_hash feature was requested by PAE before, but the patch is not suitable= for upstream into DPDK,=0D so remove test plan from dts.=0D =0D Signed-off-by: Yu Jiang =0D ---=0D test_plans/index.rst | 1 -=0D .../sw_hw_thash_consistence_test_plan.rst | 74 -------------------=0D 2 files changed, 75 deletions(-)=0D delete mode 100644 test_plans/sw_hw_thash_consistence_test_plan.rst=0D =0D diff --git a/test_plans/index.rst b/test_plans/index.rst=0D index a603b1af..054d682c 100644=0D --- a/test_plans/index.rst=0D +++ b/test_plans/index.rst=0D @@ -161,7 +161,6 @@ The following are the test plans for the DPDK DTS autom= ated test system.=0D short_live_test_plan=0D shutdown_api_test_plan=0D speed_capabilities_test_plan=0D - sw_hw_thash_consistence_test_plan=0D vhost_cbdma_test_plan=0D vhost_user_interrupt_test_plan=0D sriov_kvm_test_plan=0D diff --git a/test_plans/sw_hw_thash_consistence_test_plan.rst b/test_plans/= sw_hw_thash_consistence_test_plan.rst=0D deleted file mode 100644=0D index a263b3d2..00000000=0D --- a/test_plans/sw_hw_thash_consistence_test_plan.rst=0D +++ /dev/null=0D @@ -1,74 +0,0 @@=0D -.. Copyright (c) <2020>, Intel Corporation=0D - All rights reserved.=0D -=0D - Redistribution and use in source and binary forms, with or without=0D - modification, are permitted provided that the following conditions=0D - are met:=0D -=0D - - Redistributions of source code must retain the above copyright=0D - notice, this list of conditions and the following disclaimer.=0D -=0D - - Redistributions in binary form must reproduce the above copyright=0D - notice, this list of conditions and the following disclaimer in=0D - the documentation and/or other materials provided with the=0D - distribution.=0D -=0D - - Neither the name of Intel Corporation nor the names of its=0D - contributors may be used to endorse or promote products derived=0D - from this software without specific prior written permission.=0D -=0D - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS=0D - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT=0D - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS=0D - FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE=0D - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,=0D - INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES=0D - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR=0D - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)=0D - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,=0D - STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)=0D - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED=0D - OF THE POSSIBILITY OF SUCH DAMAGE.=0D -=0D -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=0D -Software/hardware Toeplitz hash consistence test suite=0D -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=0D -=0D -This test suite is to check if the Toeplitz hash by hardware (NIC) is cons= istence =0D -with by software (rte_hash)=0D -=0D -First apply a DPDK patch, which provide an example for calling rte_hash ::= =0D -=0D - cd =0D - git apply /dep/0001-Generate-an-example-for-calling-thash-lib.pat= ch=0D -=0D -Compile the example ::=0D -=0D - export RTE_SDK=3D=0D - cd /examples/thash=0D - make=0D -=0D -Run thash example, which supported format: thash_test TYPE(ipv4|ipv4-udp|i= pv4-tcp) IP_DST IP_SRC PORT_DST PORT_SRC ::=0D -=0D - ./build/thash_test ipv6 ::22 ::11 1234 4321=0D - # The output=0D - ipv6=0D - ::22=0D - ::11=0D - 1234=0D - 4321=0D -=0D - Hash value =3D 914e08e4=0D -=0D -Then, configure the NIC and send packets to the NIC, expect the hash value= by NIC is same to thash_test ::=0D -=0D - # Launch testpmd, and configure the hash key=0D - testpmd> set verbose 1=0D - testpmd> start=0D - testpmd> port config 0 rss-hash-key ipv6 1234abcd1234abcd1234abcd1234a= bcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd= =0D - # Send packet to testpmd's interface=0D - sendp(Ether(dst=3D"52:36:30:A0:73:69")/IPv6(dst=3D"::22",src=3D"::11")= ,iface=3D'ens801f1')=0D - # The RSS hash value is same to thash_test result=0D - port 0/queue 4: received 1 packets=0D - src=3D00:00:00:00:00:00 - dst=3D52:36:30:A0:73:69 - type=3D0x86dd - le= ngth=3D60 - nb_segs=3D1 - RSS hash=3D0x914e08e4 - RSS queue=3D0x4 - sw ptyp= e: L2_ETHER L3_IPV6 - l2_len=3D14 - l3_len=3D40 - Receive queue=3D0x4=0D - ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PK= T_RX_OUTER_L4_CKSUM_UNKNOWN =0D -- =0D 2.25.1=0D =0D