From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B030DA0540; Thu, 16 Jul 2020 03:23:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 66F731BE95; Thu, 16 Jul 2020 03:23:19 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id A95CB4C7B for ; Thu, 16 Jul 2020 03:23:17 +0200 (CEST) IronPort-SDR: ch2px17EoF918DPxdIf0wVI0rosY04ag3HjoKAnDO0lFEY6lLP9OwM89E9+ZsYoo6f73DVA74s cthRqHdidBxA== X-IronPort-AV: E=McAfee;i="6000,8403,9683"; a="214040051" X-IronPort-AV: E=Sophos;i="5.75,357,1589266800"; d="scan'208";a="214040051" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2020 18:23:15 -0700 IronPort-SDR: cch5GcqwUASyNoLF6ETerjjE8g2Yu0LU2BPOYjRhrXLAwIUHAMnAP0LuIKTuh5HAGhCyxdyV/D OJ+dJzyX61wQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,357,1589266800"; d="scan'208";a="318258672" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.182.150]) by fmsmga002.fm.intel.com with ESMTP; 15 Jul 2020 18:23:13 -0700 From: xizhan4x To: dts@dpdk.org Cc: xizhan4x Date: Thu, 16 Jul 2020 09:24:12 +0800 Message-Id: <1594862652-29054-1-git-send-email-xix.zhang@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1] tests/TestSuite_rss_to_rte_flow:Modify the TCP type packet corresponding to the corresponding flow rule 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" Create ivp6 TCP flow rules, but send IPv4 TCP packets, modify to send IPv6 TCP packets Signed-off-by: xizhan4x --- tests/TestSuite_rss_to_rte_flow.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/TestSuite_rss_to_rte_flow.py b/tests/TestSuite_rss_to_rte_flow.py index 21ba8dc..888f154 100644 --- a/tests/TestSuite_rss_to_rte_flow.py +++ b/tests/TestSuite_rss_to_rte_flow.py @@ -632,10 +632,10 @@ class TestRSS_to_Rteflow(TestCase): self.dut.send_expect( "flow create 0 ingress pattern eth / ipv6 / tcp / end actions rss types ipv6-tcp end queues end / end", "created") rss_queue = ["0", "1", "2", "3", "4", "5", "6", "7"] - pkts = [self.pkt2, self.pkt3] + pkts = [self.pkt2, self.pkt7] self.send_and_check(pkts, rss_queue, port_id=0) rss_queue = ["0"] - pkts = [self.pkt1, self.pkt4, self.pkt5, self.pkt6, self.pkt7, self.pkt8, self.pkt9, self.pkt10] + pkts = [self.pkt1, self.pkt3, self.pkt4, self.pkt5, self.pkt6, self.pkt8, self.pkt9, self.pkt10] self.send_and_check(pkts, rss_queue, port_id=0) rss_queue = ["0"] pkts = [self.pkt1, self.pkt2, self.pkt3, self.pkt4, self.pkt5, self.pkt6, self.pkt7, self.pkt8, self.pkt9, self.pkt10] @@ -645,10 +645,10 @@ class TestRSS_to_Rteflow(TestCase): self.dut.send_expect( "flow create 0 ingress pattern end actions rss types end queues 1 4 7 end / end", "created") rss_queue = ["1", "4", "7"] - pkts = [self.pkt2, self.pkt3] + pkts = [self.pkt2, self.pkt7] self.send_and_check(pkts, rss_queue, port_id=0) rss_queue = ["0"] - pkts = [self.pkt1, self.pkt4, self.pkt5, self.pkt6, self.pkt7, self.pkt8, self.pkt9, self.pkt10] + pkts = [self.pkt1, self.pkt3, self.pkt4, self.pkt5, self.pkt6, self.pkt8, self.pkt9, self.pkt10] self.send_and_check(pkts, rss_queue, port_id=0) rss_queue = ["0"] pkts = [self.pkt1, self.pkt2, self.pkt3, self.pkt4, self.pkt5, self.pkt6, self.pkt7, self.pkt8, self.pkt9, self.pkt10] @@ -660,10 +660,10 @@ class TestRSS_to_Rteflow(TestCase): self.dut.send_expect( "flow create 1 ingress pattern eth / ipv6 / end actions rss types ipv6-other end queues end / end", "created") rss_queue = ["1", "4", "7"] - pkts = [self.pkt2, self.pkt3] + pkts = [self.pkt2, self.pkt7] self.send_and_check(pkts, rss_queue, port_id=0) rss_queue = ["0"] - pkts = [self.pkt1, self.pkt4, self.pkt5, self.pkt6, self.pkt7, self.pkt8, self.pkt9, self.pkt10] + pkts = [self.pkt1, self.pkt3, self.pkt4, self.pkt5, self.pkt6, self.pkt8, self.pkt9, self.pkt10] self.send_and_check(pkts, rss_queue, port_id=0) rss_queue = ["0", "1", "2", "3", "4", "5", "6", "7"] @@ -689,7 +689,7 @@ class TestRSS_to_Rteflow(TestCase): pkts = [self.pkt1, self.pkt2, self.pkt3, self.pkt4, self.pkt5, self.pkt6, self.pkt7, self.pkt8, self.pkt9, self.pkt10] self.send_and_check(pkts, rss_queue, port_id=0) self.send_and_check(pkts, rss_queue, port_id=1) - + def test_flow_director_rss_rule_combination(self): """ Set RSS queue rule and flow director rule in meantime. -- 1.8.3.1