diff mbox series

[v1] tests/ice_advanced_rss:fix packets location error

Message ID 20221207073416.1756-1-hailinx.xu@intel.com (mailing list archive)
State Accepted
Headers show
Series [v1] tests/ice_advanced_rss:fix packets location error | expand

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK

Commit Message

hailinx xu Dec. 7, 2022, 7:34 a.m. UTC
fix packets location error

Signed-off-by: hailinx xu <hailinx.xu@intel.com>
---
 tests/TestSuite_ice_advanced_rss.py | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

Comments

Hongbo Li Dec. 7, 2022, 9:23 a.m. UTC | #1
> -----Original Message-----
> From: hailinx xu <hailinx.xu@intel.com>
> Sent: 2022年12月7日 15:34
> To: dts@dpdk.org; Huang, ZhiminX <zhiminx.huang@intel.com>
> Cc: Xu, HailinX <hailinx.xu@intel.com>
> Subject: [dts][PATCH v1] tests/ice_advanced_rss:fix packets location error
> 
> fix packets location error
> 
> Signed-off-by: hailinx xu <hailinx.xu@intel.com>
> ---
Tested-by: Hongbo Li < hongbox.li@intel.com>
Lijuan Tu Dec. 22, 2022, 8:53 a.m. UTC | #2
On Wed,  7 Dec 2022 15:34:16 +0800, hailinx xu <hailinx.xu@intel.com> wrote:
> fix packets location error
> 
> Signed-off-by: hailinx xu <hailinx.xu@intel.com>

Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Applied, thanks
diff mbox series

Patch

diff --git a/tests/TestSuite_ice_advanced_rss.py b/tests/TestSuite_ice_advanced_rss.py
index e18e42f6..d40e5dbf 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,6 @@  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 +3965,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 +3985,6 @@  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 +4648,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 +4668,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 +5846,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)