test suite reviews and discussions
 help / color / mirror / Atom feed
From: Jiale Song <songx.jiale@intel.com>
To: dts@dpdk.org
Cc: Jiale Song <songx.jiale@intel.com>
Subject: [dts] [PATCH V1] tests/cvl_dcf_switch_filter_gtpu: modify the execution order of sub cases
Date: Fri,  3 Sep 2021 14:23:46 +0800	[thread overview]
Message-ID: <1630650226-212245-1-git-send-email-songx.jiale@intel.com> (raw)

Because creating rules of the same type will cause rule creation fail, 
adjusting the order of the sub cases can avoid this problem

Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
 tests/TestSuite_cvl_dcf_switch_filter_gtpu.py | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/tests/TestSuite_cvl_dcf_switch_filter_gtpu.py b/tests/TestSuite_cvl_dcf_switch_filter_gtpu.py
index 052e97b..830c996 100644
--- a/tests/TestSuite_cvl_dcf_switch_filter_gtpu.py
+++ b/tests/TestSuite_cvl_dcf_switch_filter_gtpu.py
@@ -691,15 +691,15 @@ sv_mac_ipv4_gtpu_eh_ipv4_udp_1 = [
     tv_mac_ipv4_gtpu_eh_ipv4_udp_teid_without_mask,
     tv_mac_ipv4_gtpu_eh_ipv4_udp_qfi,
     tv_mac_ipv4_gtpu_eh_ipv4_udp_l3dst,
-    tv_mac_ipv4_gtpu_eh_ipv4_udp_l3src,
-    tv_mac_ipv4_gtpu_eh_ipv4_udp_l3src_l4dst,
+    tv_mac_ipv4_gtpu_eh_ipv4_udp_l4dst,
+    tv_mac_ipv4_gtpu_eh_ipv4_udp_l3dst_l4dst,
+    tv_mac_ipv4_gtpu_eh_ipv4_udp_l3dst_l4src,
 ]
 
 sv_mac_ipv4_gtpu_eh_ipv4_udp_2 = [
-    tv_mac_ipv4_gtpu_eh_ipv4_udp_l3dst_l4dst,
+    tv_mac_ipv4_gtpu_eh_ipv4_udp_l3src,
+    tv_mac_ipv4_gtpu_eh_ipv4_udp_l3src_l4dst,
     tv_mac_ipv4_gtpu_eh_ipv4_udp_l3src_l4src,
-    tv_mac_ipv4_gtpu_eh_ipv4_udp_l3dst_l4src,
-    tv_mac_ipv4_gtpu_eh_ipv4_udp_l4dst,
     tv_mac_ipv4_gtpu_eh_ipv4_udp_l4src,
     tv_mac_ipv4_gtpu_eh_ipv4_udp_l4src_l4dst,
     tv_mac_ipv4_gtpu_eh_ipv4_udp_teid_l4src_l4dst,
@@ -711,6 +711,7 @@ sv_mac_ipv4_gtpu_eh_ipv4_udp_2 = [
     tv_mac_ipv4_gtpu_eh_ipv4_udp_all,
 ]
 
+
 sv_mac_ipv4_gtpu_eh_ipv4_udp = [sv_mac_ipv4_gtpu_eh_ipv4_udp_1, sv_mac_ipv4_gtpu_eh_ipv4_udp_2]
 
 sv_mac_ipv4_gtpu_eh_ipv6_udp_1 = [eval(str(sv).replace('tv_mac_ipv4_gtpu_eh_ipv4', 'tv_mac_ipv4_gtpu_eh_ipv6')
@@ -1062,15 +1063,15 @@ sv_mac_ipv4_gtpu_eh_ipv4_tcp_1 = [
     tv_mac_ipv4_gtpu_eh_ipv4_tcp_teid_without_mask,
     tv_mac_ipv4_gtpu_eh_ipv4_tcp_qfi,
     tv_mac_ipv4_gtpu_eh_ipv4_tcp_l3dst,
-    tv_mac_ipv4_gtpu_eh_ipv4_tcp_l3src,
-    tv_mac_ipv4_gtpu_eh_ipv4_tcp_l3src_l4src,
+    tv_mac_ipv4_gtpu_eh_ipv4_tcp_l4dst,
+    tv_mac_ipv4_gtpu_eh_ipv4_tcp_l3dst_l4dst,
+    tv_mac_ipv4_gtpu_eh_ipv4_tcp_l3dst_l4src,
 ]
 
 sv_mac_ipv4_gtpu_eh_ipv4_tcp_2 = [
+    tv_mac_ipv4_gtpu_eh_ipv4_tcp_l3src,
     tv_mac_ipv4_gtpu_eh_ipv4_tcp_l3src_l4dst,
-    tv_mac_ipv4_gtpu_eh_ipv4_tcp_l3dst_l4src,
-    tv_mac_ipv4_gtpu_eh_ipv4_tcp_l3dst_l4dst,
-    tv_mac_ipv4_gtpu_eh_ipv4_tcp_l4dst,
+    tv_mac_ipv4_gtpu_eh_ipv4_tcp_l3src_l4src,
     tv_mac_ipv4_gtpu_eh_ipv4_tcp_l4src,
     tv_mac_ipv4_gtpu_eh_ipv4_tcp_l4src_l4dst,
     tv_mac_ipv4_gtpu_eh_ipv4_tcp_teid_l4src_l4dst,
-- 
1.8.3.1


             reply	other threads:[~2021-09-03  6:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-03  6:23 Jiale Song [this message]
2021-09-29  3:34 ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1630650226-212245-1-git-send-email-songx.jiale@intel.com \
    --to=songx.jiale@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).