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 ACD97A0547; Tue, 31 May 2022 12:17:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A50FF400EF; Tue, 31 May 2022 12:17:48 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 5DDA9400D6 for ; Tue, 31 May 2022 12:17:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653992267; x=1685528267; h=from:to:cc:subject:date:message-id; bh=X+weUv3YRacxxtC1lZbkUj9rehMVNvAKIgK4PV0csLo=; b=kPGH2C1CdJqR1TT0TgPOUaJKz4YAyNcU+lXYjLURkeoAE5vp2WsyGJJR mgqO/K1w9/onBdb2VRirS/aPwbYpIc6QWwoTzj7SoJKD/8lMLmzPryfsD G6rYSLP3WWJuht7XmKbi6mMjaC8aGl4MzEMREJKHIqX7DOjnuNMbp/bqa QRfl00CFFHi1Ssy1zDt0OJvmBwSVA2uxEdMfYXnZ+ZGcwVb1d6ZwAN+lo 9R3xlIqZvCdZhIdeN4YEw+hLWJjfUvs+46G5/eEnzS/fqgN6SsS1D2N5H qA8gj//4oMXn66anSUxn7v1u0GeVgYiagJx+pmxihndJGZdYUUZ0mbALw A==; X-IronPort-AV: E=McAfee;i="6400,9594,10363"; a="338252716" X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="338252716" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2022 03:17:46 -0700 X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="720247937" Received: from unknown (HELO localhost.localdomain) ([10.239.251.99]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2022 03:17:44 -0700 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Subject: [dts][PATCH V1 1/2] tests/pmdrss_hash: remove case test_simple_symmetric Date: Tue, 31 May 2022 05:44:20 -0400 Message-Id: <20220531094421.7119-1-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 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 remove not support case test_simple_symmetric Signed-off-by: Lingli Chen --- test_plans/pmdrss_hash_test_plan.rst | 5 ---- tests/TestSuite_pmdrss_hash.py | 43 ---------------------------- 2 files changed, 48 deletions(-) diff --git a/test_plans/pmdrss_hash_test_plan.rst b/test_plans/pmdrss_hash_test_plan.rst index 30bf3f99..9d9ecd30 100644 --- a/test_plans/pmdrss_hash_test_plan.rst +++ b/test_plans/pmdrss_hash_test_plan.rst @@ -150,8 +150,3 @@ The same as the above test case "test_toeplitz". Just pay attention to set the h flow create ingress pattern eth / ipv6 / tcp / end actions rss types ipv6-tcp end queues end func simple_xor queues end / end flow create ingress pattern eth / ipv6 / end actions rss types ipv6-frag end queues end func simple_xor queues end / end -Test Case: test_simple_symmetric -================================= - -The same as the above test case "test_toeplitz_symmetric". Just pay attention to set the hash function to "simple xor" - diff --git a/tests/TestSuite_pmdrss_hash.py b/tests/TestSuite_pmdrss_hash.py index ff8d042f..befb9bce 100644 --- a/tests/TestSuite_pmdrss_hash.py +++ b/tests/TestSuite_pmdrss_hash.py @@ -681,49 +681,6 @@ class TestPmdrssHash(TestCase): self.dut.send_expect("quit", "# ", 30) - def test_simple_symmetric(self): - - dutPorts = self.dut.get_ports(self.nic) - localPort = self.tester.get_local_port(dutPorts[0]) - itf = self.tester.get_interface(localPort) - global reta_num - global iptypes - self.dut.kill_all() - - # test with different rss queues - self.dut.send_expect( - "%s %s -- -i --rxq=%d --txq=%d" % (self.path, self.eal_para, queue, queue), - "testpmd> ", - 120, - ) - - for iptype, rsstype in list(iptypes.items()): - self.dut.send_expect("set verbose 8", "testpmd> ") - self.dut.send_expect("set fwd rxonly", "testpmd> ") - self.dut.send_expect("set promisc all off", "testpmd> ") - self.dut.send_expect("set nbcore %d" % (queue + 1), "testpmd> ") - - self.dut.send_expect("port stop all", "testpmd> ") - self.dut.send_expect( - "set_hash_global_config 0 simple_xor %s enable" % iptype, "testpmd> " - ) - self.dut.send_expect("set_sym_hash_ena_per_port 0 enable", "testpmd> ") - self.dut.send_expect("port start all", "testpmd> ") - - out = self.dut.send_expect("port config all rss %s" % rsstype, "testpmd> ") - self.verify( - "error" not in out, "Configuration of RSS hash failed: Invalid argument" - ) - # configure the reta with specific mappings. - for i in range(reta_num): - reta_entries.insert(i, random.randint(0, queue - 1)) - self.dut.send_expect( - "port config 0 rss reta (%d,%d)" % (i, reta_entries[i]), "testpmd> " - ) - self.send_packet_symmetric(itf, iptype) - - self.dut.send_expect("quit", "# ", 30) - def tear_down(self): """ Run after each test case. -- 2.17.1