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 7AB30A04B0; Thu, 13 Aug 2020 09:36:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 69F851C021; Thu, 13 Aug 2020 09:36:24 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 334B91C00D for ; Thu, 13 Aug 2020 09:36:22 +0200 (CEST) IronPort-SDR: FnmK1x/8aiMD7BlKCT6ClDGUx3cS4Bam7YgmppOZQi+8VtmPixBYqI9ebr9KfNVbngSezDx9fO baqa1La+H9DQ== X-IronPort-AV: E=McAfee;i="6000,8403,9711"; a="239012274" X-IronPort-AV: E=Sophos;i="5.76,307,1592895600"; d="scan'208";a="239012274" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Aug 2020 00:36:21 -0700 IronPort-SDR: EPA6vw9+IAOe8cUw7wrOxq1/mpb1hL/zUiPeXXC7B1ZerTF2aycs4IZExJrwSi4no8XSFPi08z l1lij5ocZHfQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,307,1592895600"; d="scan'208";a="399086251" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga001.fm.intel.com with ESMTP; 13 Aug 2020 00:36:20 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Thu, 13 Aug 2020 15:37:49 +0800 Message-Id: <20200813073749.16134-1-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:modify gtpu 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" modify gtpu rule to fix the issue which rule created error. Signed-off-by: Xie wei --- tests/TestSuite_cvl_advanced_iavf_rss.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/TestSuite_cvl_advanced_iavf_rss.py b/tests/TestSuite_cvl_advanced_iavf_rss.py index 82f110c..2f6c1cf 100644 --- a/tests/TestSuite_cvl_advanced_iavf_rss.py +++ b/tests/TestSuite_cvl_advanced_iavf_rss.py @@ -296,7 +296,7 @@ tv_iavf_mac_ipv6_pfcp_session = { tv_iavf_gtpu_ipv4_up_match_dismatch = { "name": "iavf_gtpu_ipv4_up_match_dismatch", "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 1 / ipv4 / " - "end actions rss types l3-src-only end key_len 0 queues end / end", + "end actions rss types ipv4 l3-src-only end key_len 0 queues end / end", "match_str": ['Ether(src="00:00:00:00:01:01",dst="%s")/IP() / UDP(dport=2152) / GTP_U_Header(gtp_type=255,teid=0x123456)/' 'GTP_PDUSession_ExtensionHeader( pdu_type=1, qos_flow=0x34) / IP(src=RandIP()) /("X"*480)' % vf0_mac], @@ -314,7 +314,7 @@ tv_iavf_gtpu_ipv4_up_match_dismatch = { tv_iavf_gtpu_ipv4_down_match_dismatch = { "name": "iavf_gtpu_ipv4_down_match_dismatch", "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 0 / ipv4 / " - "end actions rss types l3-dst-only end key_len 0 queues end / end", + "end actions rss types ipv4 l3-dst-only end key_len 0 queues end / end", "match_str": ['Ether(src="00:00:00:00:01:01",dst="%s")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/' 'GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP(dst=RandIP())/("X"*480)' % vf0_mac], @@ -328,7 +328,7 @@ tv_iavf_gtpu_ipv4_down_match_dismatch = { tv_iavf_gtpu_ipv4_frag_up_match_dismatch = { "name": "iavf_gtpu_ipv4_frag_up_match_dismatch", - "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 1 / ipv4 / end actions rss types l3-src-only end " + "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 1 / ipv4 / end actions rss types ipv4 l3-src-only end " "key_len 0 queues end / end ", "match_str": ['Ether(src="00:00:00:00:01:01", dst="%s")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/' @@ -344,7 +344,7 @@ tv_iavf_gtpu_ipv4_frag_up_match_dismatch = { tv_iavf_gtpu_ipv4_frag_down_match_dismatch = { "name": "iavf_gtpu_ipv4_frag_down_match_dismatch", - "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 0 / ipv4 / end actions rss types l3-dst-only end " + "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 0 / ipv4 / end actions rss types ipv4 l3-dst-only end " "key_len 0 queues end / end ", "match_str": ['Ether(src="00:00:00:00:01:01", dst="%s") / IP() / UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/' @@ -359,7 +359,7 @@ tv_iavf_gtpu_ipv4_frag_down_match_dismatch = { tv_iavf_gtpu_ipv4_udp_up_match_dismatch = { "name": "iavf_gtpu_ipv4_udp_up_match_dismatch", - "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 1 / ipv4 / udp / end actions rss types " + "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 1 / ipv4 / udp / end actions rss types ipv4-udp " "l3-src-only end key_len 0 queues end / end", "match_str": ['Ether(src="00:00:00:00:01:01", dst="%s") / IP() / UDP(dport=2152) / GTP_U_Header(gtp_type=255, teid=0x123456)/' @@ -375,7 +375,7 @@ tv_iavf_gtpu_ipv4_udp_up_match_dismatch = { tv_iavf_gtpu_ipv4_udp_down_match_dismatch = { "name": "iavf_gtpu_ipv4_udp_down_match_dismatch", - "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 0 / ipv4 / end actions rss types l3-dst-only end " + "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 0 / ipv4 / end actions rss types ipv4 l3-dst-only end " "key_len 0 queues end / end ", "match_str": ['Ether(src="00:00:00:00:01:01", dst="%s") / IP() / UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/' @@ -390,7 +390,7 @@ tv_iavf_gtpu_ipv4_udp_down_match_dismatch = { tv_iavf_gtpu_ipv4_tcp_up_match_dismatch = { "name": "iavf_gtpu_ipv4_tcp_up_match_dismatch", "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 1 / ipv4 / tcp /" - " end actions rss types l3-src-only end key_len 0 queues end / end", + " end actions rss types ipv4-tcp l3-src-only end key_len 0 queues end / end", "match_str": ['Ether(dst="%s") / IP() / UDP(dport=2152) / GTP_U_Header(gtp_type=255, teid=0x123456)/' 'GTP_PDUSession_ExtensionHeader(pdu_type=1, qos_flow=0x34)/IP(src=RandIP())/TCP(dport=RandShort())/("X"*480)' % vf0_mac], @@ -406,7 +406,7 @@ tv_iavf_gtpu_ipv4_tcp_down_match_dismatch = { "name": "iavf_gtpu_ipv4_tcp_down_match_dismatch", "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 0 / ipv4 / tcp /" - " end actions rss types l3-dst-only end key_len 0 queues end / end", + " end actions rss types ipv4-tcp l3-dst-only end key_len 0 queues end / end", "match_str": ['Ether(src="00:00:00:00:01:01", dst="%s") / IP() / UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/' 'GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34) /IP(dst=RandIP())/TCP(dport=RandShort())/("X"*480)' % vf0_mac], @@ -419,7 +419,7 @@ tv_iavf_gtpu_ipv4_tcp_down_match_dismatch = { tv_iavf_gtpu_ipv4_icmp_up_match_dismatch = { "name": "iavf_gtpu_ipv4_icmp_up_match_dismatch", - "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 1 / ipv4 / end actions rss types l3-src-only end " + "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 1 / ipv4 / end actions rss types ipv4 l3-src-only end " "key_len 0 queues end / end", "match_str": ['Ether(src="00:00:00:00:01:01", dst="%s") / IP() / UDP(dport=2152) / GTP_U_Header(gtp_type=255, teid=0x123456)/' @@ -435,7 +435,7 @@ tv_iavf_gtpu_ipv4_icmp_up_match_dismatch = { tv_iavf_gtpu_ipv4_icmp_down_match_dismatch = { "name": "iavf_gtpu_ipv4_icmp_down_match_dismatch", - "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 0 / ipv4 / end actions rss types l3-dst-only end " + "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 0 / ipv4 / end actions rss types ipv4 l3-dst-only end " "key_len 0 queues end / end", "match_str": ['Ether(src="00:00:00:00:01:01", dst="%s") / IP() / UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/' -- 2.17.1