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 5D0F3A0C53; Fri, 3 Sep 2021 08:11:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 24E234013F; Fri, 3 Sep 2021 08:11:28 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id B070040041 for ; Fri, 3 Sep 2021 08:11:26 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10095"; a="206560030" X-IronPort-AV: E=Sophos;i="5.85,264,1624345200"; d="scan'208";a="206560030" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2021 23:11:25 -0700 X-IronPort-AV: E=Sophos;i="5.85,264,1624345200"; d="scan'208";a="533736352" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2021 23:11:23 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Fri, 3 Sep 2021 14:23:46 +0800 Message-Id: <1630650226-212245-1-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1] tests/cvl_dcf_switch_filter_gtpu: modify the execution order of sub cases 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 Sender: "dts" 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 --- 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