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 71D6DA00C2; Thu, 1 Dec 2022 02:30:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 42F6D40693; Thu, 1 Dec 2022 02:30:14 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 35EB84021D for ; Thu, 1 Dec 2022 02:30:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669858213; x=1701394213; h=from:to:cc:subject:date:message-id; bh=SL7DizrqRIVVk00PqBweL3NRM7V3sUWGaUkKa6DKCB8=; b=ngQUNUHbMmx4hqV29ZqERphhmhluQ1Ubcttm6y6Ja9MK3oMQ/X9YiyI8 ztBiegrBTb+kXmtiyeTNTriLoPt/FyfUhg5styzZz4zBGrcumvG+qZCKo xAvIqeZ2HyDVnwrCaAqS0nHYRbwz8+JKpkocQ4BOv4vHzj4rjMLTTF9kt q77wciq5s2rGFKNdHND6WX3hsrFjaOXGZfao5BdQQb8or1DFjWsczWPhh yAeLZDNpnA2ejyy4WRudIOCUz/K0BMvLrTWdhdj02FDrrIZ7IQgo8g5/7 uFvH0/37X7xBvL7OBCJq7JMMxA+SsV7JoIN+TvjpE7OTSvY9955PS9Vz9 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10547"; a="379834471" X-IronPort-AV: E=Sophos;i="5.96,207,1665471600"; d="scan'208";a="379834471" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2022 17:30:05 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10547"; a="644440144" X-IronPort-AV: E=Sophos;i="5.96,207,1665471600"; d="scan'208";a="644440144" Received: from unknown (HELO localhost.localdomain) ([10.239.252.63]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2022 17:30:03 -0800 From: hailinx xu To: dts@dpdk.org Cc: zhiminx.huang@intel.com, hailinx xu Subject: [dts][PATCH V1] tests/ice_advanced_rss:fix packets location error Date: Thu, 1 Dec 2022 09:26:31 +0800 Message-Id: <20221201012631.10099-1-hailinx.xu@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 fix packets location error Signed-off-by: hailinx xu --- tests/TestSuite_ice_advanced_rss.py | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/tests/TestSuite_ice_advanced_rss.py b/tests/TestSuite_ice_advanced_rss.py index e18e42f6..f199d668 100644 --- a/tests/TestSuite_ice_advanced_rss.py +++ b/tests/TestSuite_ice_advanced_rss.py @@ -3230,6 +3230,10 @@ mac_ipv6_udp_ipv6 = { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/UDP(sport=22,dport=23)/("X"*480)', "action": "check_hash_different", }, + { + "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=32,dport=33)/("X"*480)', + "action": "check_hash_same", + }, { "send_packet": mac_ipv6_udp_toeplitz_basic_pkt["ipv6-next-proto-udp"], "action": "save_hash", @@ -3242,10 +3246,7 @@ mac_ipv6_udp_ipv6 = { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrDestOpt(nh=17)/UDP(sport=22,dport=23)/("X"*480)', "action": "check_hash_different", }, - { - "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=32,dport=33)/("X"*480)', - "action": "check_hash_same", - }, + ], "post-test": [ { @@ -3965,6 +3966,10 @@ mac_ipv6_tcp_ipv6 = { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/TCP(sport=22,dport=23)/("X"*480)', "action": "check_hash_different", }, + { + "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=32,dport=33)/("X"*480)', + "action": "check_hash_same", + }, { "send_packet": eval( str(mac_ipv6_tcp_toeplitz_basic_pkt["ipv6-next-proto-tcp"]).replace( @@ -3981,10 +3986,7 @@ mac_ipv6_tcp_ipv6 = { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrSegmentRouting(nh=6)/TCP(sport=22,dport=23)/("X"*480)', "action": "check_hash_different", }, - { - "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=32,dport=33)/("X"*480)', - "action": "check_hash_same", - }, + ], "post-test": [ { @@ -4648,6 +4650,10 @@ mac_ipv6_sctp_ipv6 = { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/SCTP(sport=22,dport=23)/("X"*480)', "action": "check_hash_different", }, + { + "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/SCTP(sport=32,dport=33)/("X"*480)', + "action": "check_hash_same", + }, { "send_packet": eval( str(mac_ipv6_sctp_toeplitz_basic_pkt["ipv6-next-proto-sctp"]).replace( @@ -4664,10 +4670,6 @@ mac_ipv6_sctp_ipv6 = { "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrHopByHop()/IPv6ExtHdrRouting(nh=132)/SCTP(sport=22,dport=23)/("X"*480)', "action": "check_hash_different", }, - { - "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/SCTP(sport=32,dport=33)/("X"*480)', - "action": "check_hash_same", - }, ], "post-test": [ { @@ -5846,6 +5848,7 @@ class AdvancedRSSTest(TestCase): self.rssprocess.handle_rss_distribute_cases(cases_info=mac_ipv6) def test_mac_ipv6_udp(self): + self.switch_testpmd(symmetric=False) self.pmd_output.execute_cmd("rx_vxlan_port add 4789 0") self.rssprocess.handle_rss_distribute_cases(cases_info=mac_ipv6_udp) -- 2.17.1