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 087D1A046B; Thu, 9 Jan 2020 09:13:26 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BA8621DBD0; Thu, 9 Jan 2020 09:13:26 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 2820A1DBCD for ; Thu, 9 Jan 2020 09:13:23 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jan 2020 00:13:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,413,1571727600"; d="scan'208";a="217730032" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga007.fm.intel.com with ESMTP; 09 Jan 2020 00:13:22 -0800 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 9 Jan 2020 00:13:22 -0800 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 9 Jan 2020 00:13:21 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 9 Jan 2020 00:13:21 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.30]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.245]) with mapi id 14.03.0439.000; Thu, 9 Jan 2020 16:13:20 +0800 From: "Tu, Lijuan" To: "He, Zhiwei" , "dts@dpdk.org" CC: "He, Zhiwei" Thread-Topic: [dts] [PATCH V2] tests:add ipv4 ipv6 non pipline script for CVL switchfilter Thread-Index: AQHVxcgDWNhckVGVGkaLr/VcutHc8qfh/baw Date: Thu, 9 Jan 2020 08:13:19 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBA4C91@SHSMSX101.ccr.corp.intel.com> References: <1578449078-27685-1-git-send-email-zhiwei.he@intel.com> In-Reply-To: <1578449078-27685-1-git-send-email-zhiwei.he@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V2] tests:add ipv4 ipv6 non pipline script for CVL switchfilter 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" applied > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhiwei.he > Sent: Wednesday, January 8, 2020 10:05 AM > To: dts@dpdk.org > Cc: He, Zhiwei > Subject: [dts] [PATCH V2] tests:add ipv4 ipv6 non pipline script for CVL > switchfilter >=20 > From: "zhiwei.he" >=20 > Signed-off-by: zhiwei.he > --- > tests/TestSuite_cvl_switch_filter.py | 249 > ++++++++++++++++++++++++++++++++++- > 1 file changed, 248 insertions(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_cvl_switch_filter.py > b/tests/TestSuite_cvl_switch_filter.py > index 5233875..45df95f 100644 > --- a/tests/TestSuite_cvl_switch_filter.py > +++ b/tests/TestSuite_cvl_switch_filter.py > @@ -2233,6 +2233,224 @@ tvs_mac_ipv6_tcp_pipeline_mode =3D [ > tv_mac_ipv6_tcp_pipeline_mode_drop_03 > ] >=20 > +tv_mac_ipv4_in_queue_01 =3D { > + "name":"tv_mac_ipv4_in_queue_01", > + "rte_flow_pattern":"flow create 0 ingress pattern eth dst is > 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 t= tl is 2 / > end actions queue index 4 / end", > + > "matched":{"scapy_str":['Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.1= 68.0.1 > ",dst=3D"192.168.0.2",tos=3D4,ttl=3D2)/("X"*480)'], > + "check_func":{"func":rfc.check_output_log_in_queue, > + "param":{"expect_port":0, "expect_queues":4= }}, > + "expect_results":{"expect_pkts":1}}, > + > "mismatched":{"scapy_str":['Ether(dst=3D"68:05:ca:8d:ed:a9")/IP(src=3D"19= 2.168. > 9",dst=3D"192.168.6.12",tos=3D4,ttl=3D2)/("X"*480)'], > + > "check_func":{"func":rfc.check_output_log_in_queue_mismatched, > + "param":{"expect_port":0, "expect_queues= ":4}}, > + "expect_results":{"expect_pkts":1}} > +} > + > +tv_mac_ipv4_drop_queue_02 =3D { > + "name":"tv_mac_ipv4_drop_queue_02", > + "rte_flow_pattern":"flow create 0 ingress pattern eth dst is > 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.3 tos is 4 t= tl is 2 / > end actions drop / end", > + > "matched":{"scapy_str":['Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.1= 68.0.1 > ",dst=3D"192.168.0.3",tos=3D4,ttl=3D2)/("X"*480)'], > + "check_func":{"func":rfc.check_output_log_drop, > + "param":{"expect_port":0, "expect_queues":"= null"}}, > + "expect_results":{"expect_pkts":1}}, > + > "mismatched":{"scapy_str":['Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"19= 2.168. > 5.6",dst=3D"192.168.5.15",tos=3D2,ttl=3D5)/("X"*480)'], > + "check_func":{"func":rfc.check_output_log_drop_mismatc= hed, > + "param":{"expect_port":0, "expect_queues= ":"null"}}, > + "expect_results":{"expect_pkts":1}} > +} > + > +tv_mac_ipv4_udp_in_queue_01 =3D { > + "name":"tv_mac_ipv4_udp_in_queue_01", > + "rte_flow_pattern":"flow create 0 ingress pattern eth dst is > 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 t= tl is 3 / > udp src is 25 dst is 23 / end actions queue index 2 / end", > + > "matched":{"scapy_str":['Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.1= 68.0.1 > ",dst=3D"192.168.0.2",tos=3D4,ttl=3D3)/UDP(sport=3D25,dport=3D23)/("X"*48= 0)'], > + "check_func":{"func":rfc.check_output_log_in_queue, > + "param":{"expect_port":0, "expect_queues":2= }}, > + "expect_results":{"expect_pkts":1}}, > + > "mismatched":{"scapy_str":['Ether(dst=3D"68:05:ca:8d:ed:a9")/IP(src=3D"19= 2.168. > 6.56",dst=3D"192.168.5.83",tos=3D2,ttl=3D1)/UDP(sport=3D20,dport=3D33)/("= X"*480)'], > + > "check_func":{"func":rfc.check_output_log_in_queue_mismatched, > + "param":{"expect_port":0, "expect_queues= ":2}}, > + "expect_results":{"expect_pkts":1}} > +} > + > +tv_mac_ipv4_udp_drop_queue_02 =3D { > + "name":"tv_mac_ipv4_udp_drop_queue_02", > + "rte_flow_pattern":"flow create 0 ingress pattern eth dst is > 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.3 tos is 4 /= udp src > is 25 dst is 23 / end actions drop / end", > + > "matched":{"scapy_str":['Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.1= 68.0.1 > ",dst=3D"192.168.0.3",tos=3D4)/UDP(sport=3D25,dport=3D23)/("X"*480)'], > + "check_func":{"func":rfc.check_output_log_drop, > + "param":{"expect_port":0, "expect_queues":"= null"}}, > + "expect_results":{"expect_pkts":1}}, > + > "mismatched":{"scapy_str":['Ether(dst=3D"68:05:ca:8d:ed:98")/IP(src=3D"19= 2.168. > 6.3",dst=3D"192.168.8.5",tos=3D4)/UDP(sport=3D85,dport=3D62)/("X"*480)'], > + "check_func":{"func":rfc.check_output_log_drop_mismatc= hed, > + "param":{"expect_port":0, "expect_queues= ":"null"}}, > + "expect_results":{"expect_pkts":1}} > +} > + > +tv_mac_ipv4_tcp_in_queue_01 =3D { > + "name":"tv_mac_ipv4_tcp_in_queue_01", > + "rte_flow_pattern":"flow create 0 ingress pattern eth dst is > 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.32 tos is 4 = / tcp src > is 25 dst is 23 / end actions queue index 6 / end", > + > "matched":{"scapy_str":['Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.1= 68.0.1 > ",dst=3D"192.168.0.32",tos=3D4)/TCP(sport=3D25,dport=3D23)/("X"*480)'], > + "check_func":{"func":rfc.check_output_log_in_queue, > + "param":{"expect_port":0, "expect_queues":6= }}, > + "expect_results":{"expect_pkts":1}}, > + > "mismatched":{"scapy_str":['Ether(dst=3D"68:05:ca:8d:ed:a9")/IP(src=3D"19= 2.168. > 8.3",dst=3D"192.168.15.26",tos=3D3)/UDP(sport=3D62,dport=3D88)/("X"*480)'= ], > + > "check_func":{"func":rfc.check_output_log_in_queue_mismatched, > + "param":{"expect_port":0, "expect_queues= ":6}}, > + "expect_results":{"expect_pkts":1}} > +} > + > +tv_mac_ipv4_tcp_drop_queue_02 =3D { > + "name":"tv_mac_ipv4_tcp_drop_queue_02", > + "rte_flow_pattern":"flow create 0 ingress pattern eth dst is > 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.3 tos is 4 /= tcp src > is 25 dst is 23 / end actions drop / end", > + > "matched":{"scapy_str":['Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.1= 68.0.1 > ",dst=3D"192.168.0.3",tos=3D4)/TCP(sport=3D25,dport=3D23)/("X"*480)'], > + "check_func":{"func":rfc.check_output_log_drop, > + "param":{"expect_port":0, "expect_queues":"= null"}}, > + "expect_results":{"expect_pkts":1}}, > + > "mismatched":{"scapy_str":['Ether(dst=3D"68:05:ca:8d:ed:a9")/IP(src=3D"19= 2.168. > 5.6",dst=3D"192.168.5.5",tos=3D8)/UDP(sport=3D55,dport=3D36)/("X"*480)'], > + "check_func":{"func":rfc.check_output_log_drop_mismatc= hed, > + "param":{"expect_port":0, "expect_queues= ":"null"}}, > + "expect_results":{"expect_pkts":1}} > +} > + > +tv_mac_ipv6_in_queue_01 =3D { > + "name":"tv_mac_ipv6_in_queue_01", > + "rte_flow_pattern":"flow create 0 ingress pattern eth / ipv6 src is > CDCD:910A:2222:5498:8475:1111:3900:1536 dst is > CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions queue index 7 / > end", > + > "matched":{"scapy_str":['Ether()/IPv6(src=3D"CDCD:910A:2222:5498:8475:111= 1 > :3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)']= , > + "check_func":{"func":rfc.check_output_log_in_queue, > + "param":{"expect_port":0, "expect_queues":7= }}, > + "expect_results":{"expect_pkts":1}}, > + > "mismatched":{"scapy_str":['Ether()/IPv6(src=3D"BCBC:910A:2222:5498:8475:= 1 > 111:3900:8220", > dst=3D"ABAB:910A:2222:5498:8475:1111:3900:1520")/("X"*480)'], > + > "check_func":{"func":rfc.check_output_log_in_queue_mismatched, > + "param":{"expect_port":0, "expect_queues= ":7}}, > + "expect_results":{"expect_pkts":1}} > +} > + > +tv_mac_ipv6_drop_queue_02 =3D { > + "name":"tv_mac_ipv6_drop_queue_02", > + "rte_flow_pattern":"flow create 0 ingress pattern eth / ipv6 src is > CDCD:910A:2222:5498:8475:1111:3900:1536 dst is > CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions drop / end", > + > "matched":{"scapy_str":['Ether()/IPv6(src=3D"CDCD:910A:2222:5498:8475:111= 1 > :3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)']= , > + "check_func":{"func":rfc.check_output_log_drop, > + "param":{"expect_port":0, "expect_queues":"= null"}}, > + "expect_results":{"expect_pkts":1}}, > + > "mismatched":{"scapy_str":['Ether()/IPv6(src=3D"BCBC:910A:2222:5498:8475:= 1 > 111:3900:8220", > dst=3D"ABAB:910A:2222:5498:8475:1111:3900:1520")/("X"*480)'], > + "check_func":{"func":rfc.check_output_log_drop_mismatc= hed, > + "param":{"expect_port":0, "expect_queues= ":"null"}}, > + "expect_results":{"expect_pkts":1}} > +} > + > + > +tv_mac_ipv6_frag_in_queue_01 =3D { > + "name":"tv_mac_ipv6_frag_in_queue_01", > + "rte_flow_pattern":"flow create 0 ingress pattern eth / ipv6 src is > CDCD:910A:2222:5498:8475:1111:3900:1536 dst is > CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions queue index 7 / > end", > + > "matched":{"scapy_str":['Ether()/IPv6(src=3D"CDCD:910A:2222:5498:8475:111= 1 > :3900:1536", > dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/(" > X"*480)'], > + "check_func":{"func":rfc.check_output_log_in_queue, > + "param":{"expect_port":0, "expect_queues":7= }}, > + "expect_results":{"expect_pkts":1}}, > + > "mismatched":{"scapy_str":['Ether()/IPv6(src=3D"BCBC:910A:2222:5498:8475:= 1 > 111:3900:8220", > dst=3D"ABAB:910A:2222:5498:8475:1111:3900:1520")/("X"*480)'], > + > "check_func":{"func":rfc.check_output_log_in_queue_mismatched, > + "param":{"expect_port":0, "expect_queues= ":7}}, > + "expect_results":{"expect_pkts":1}} > +} > + > +tv_mac_ipv6_frag_drop_queue_02 =3D { > + "name":"tv_mac_ipv6_frag_drop_queue_02", > + "rte_flow_pattern":"flow create 0 ingress pattern eth / ipv6 src is > CDCD:910A:2222:5498:8475:1111:3900:1536 dst is > CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions drop / end", > + > "matched":{"scapy_str":['Ether()/IPv6(src=3D"CDCD:910A:2222:5498:8475:111= 1 > :3900:1536", > dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/(" > X"*480)'], > + "check_func":{"func":rfc.check_output_log_drop, > + "param":{"expect_port":0, "expect_queues":"= null"}}, > + "expect_results":{"expect_pkts":1}}, > + > "mismatched":{"scapy_str":['Ether()/IPv6(src=3D"BCBC:910A:2222:5498:8475:= 1 > 111:3900:8220", > dst=3D"ABAB:910A:2222:5498:8475:1111:3900:1520")/("X"*480)'], > + "check_func":{"func":rfc.check_output_log_drop_mismatc= hed, > + "param":{"expect_port":0, "expect_queues= ":"null"}}, > + "expect_results":{"expect_pkts":1}} > +} > + > +tv_mac_ipv6_udp_in_queue_01 =3D { > + "name":"tv_mac_ipv6_udp_in_queue_01", > + "rte_flow_pattern":"flow create 0 ingress pattern eth / ipv6 src is > CDCD:910A:2222:5498:8475:1111:3900:1518 / udp src is 25 dst is 23 / end > actions queue index 7 / end", > + > "matched":{"scapy_str":['Ether()/IPv6(src=3D"CDCD:910A:2222:5498:8475:111= 1 > :3900:1518")/UDP(sport=3D25,dport=3D23)/("X"*480)'], > + "check_func":{"func":rfc.check_output_log_in_queue, > + "param":{"expect_port":0, "expect_queues":7= }}, > + "expect_results":{"expect_pkts":1}}, > + > "mismatched":{"scapy_str":['Ether()/IPv6(src=3D"ABAB:910A:2222:5498:8475:= 1 > 111:3900:1520")/UDP(sport=3D22,dport=3D12)/("X"*480)'], > + > "check_func":{"func":rfc.check_output_log_in_queue_mismatched, > + "param":{"expect_port":0, "expect_queues= ":7}}, > + "expect_results":{"expect_pkts":1}} > +} > + > +tv_mac_ipv6_udp_drop_queue_02 =3D { > + "name":"tv_mac_ipv6_udp_drop_queue_02", > + "rte_flow_pattern":"flow create 0 ingress pattern eth / ipv6 src is > CDCD:910A:2222:5498:8475:1111:3900:1518 / udp src is 25 dst is 23 / end > actions drop / end", > + > "matched":{"scapy_str":['Ether()/IPv6(src=3D"CDCD:910A:2222:5498:8475:111= 1 > :3900:1518")/UDP(sport=3D25,dport=3D23)/("X"*480)'], > + "check_func":{"func":rfc.check_output_log_drop, > + "param":{"expect_port":0, "expect_queues":"= null"}}, > + "expect_results":{"expect_pkts":1}}, > + > "mismatched":{"scapy_str":['Ether()/IPv6(src=3D"BCBC:910A:2222:5498:8475:= 1 > 111:3900:8220")/UDP(sport=3D62,dport=3D11)/("X"*480)'], > + "check_func":{"func":rfc.check_output_log_drop_mismatc= hed, > + "param":{"expect_port":0, "expect_queues= ":"null"}}, > + "expect_results":{"expect_pkts":1}} > +} > + > +tv_mac_ipv6_tcp_in_queue_01 =3D { > + "name":"tv_mac_ipv6_tcp_in_queue_01", > + "rte_flow_pattern":"flow create 0 ingress pattern eth / ipv6 src is > CDCD:910A:2222:5498:8475:1111:3900:1518 / tcp src is 25 dst is 23 / end > actions queue index 7 / end", > + > "matched":{"scapy_str":['Ether()/IPv6(src=3D"CDCD:910A:2222:5498:8475:111= 1 > :3900:1518")/TCP(sport=3D25,dport=3D23)/("X"*480)'], > + "check_func":{"func":rfc.check_output_log_in_queue, > + "param":{"expect_port":0, "expect_queues":7= }}, > + "expect_results":{"expect_pkts":1}}, > + > "mismatched":{"scapy_str":['Ether()/IPv6(src=3D"ABAB:910A:2222:5498:8475:= 1 > 111:3900:1520")/UDP(sport=3D22,dport=3D12)/("X"*480)'], > + > "check_func":{"func":rfc.check_output_log_in_queue_mismatched, > + "param":{"expect_port":0, "expect_queues= ":7}}, > + "expect_results":{"expect_pkts":1}} > +} > + > +tv_mac_ipv6_tcp_drop_queue_02 =3D { > + "name":"tv_mac_ipv6_tcp_drop_queue_02", > + "rte_flow_pattern":"flow create 0 ingress pattern eth / ipv6 src is > CDCD:910A:2222:5498:8475:1111:3900:1518 / tcp src is 25 dst is 23 / end > actions drop / end", > + > "matched":{"scapy_str":['Ether()/IPv6(src=3D"CDCD:910A:2222:5498:8475:111= 1 > :3900:1518")/TCP(sport=3D25,dport=3D23)/("X"*480)'], > + "check_func":{"func":rfc.check_output_log_drop, > + "param":{"expect_port":0, "expect_queues":"= null"}}, > + "expect_results":{"expect_pkts":1}}, > + > "mismatched":{"scapy_str":['Ether()/IPv6(src=3D"BCBC:910A:2222:5498:8475:= 1 > 111:3900:8220")/TCP(sport=3D62,dport=3D11)/("X"*480)'], > + "check_func":{"func":rfc.check_output_log_drop_mismatc= hed, > + "param":{"expect_port":0, "expect_queues= ":"null"}}, > + "expect_results":{"expect_pkts":1}} > +} > + > +tvs_mac_ipv4_non_pipeline_mode =3D [ > + tv_mac_ipv4_in_queue_01, > + tv_mac_ipv4_drop_queue_02 > + ] > + > +tvs_mac_ipv4_udp_non_pipeline_mode =3D [ > + tv_mac_ipv4_udp_in_queue_01, > + tv_mac_ipv4_udp_drop_queue_02 > + ] > + > +tvs_mac_ipv4_tcp_non_pipeline_mode =3D [ > + tv_mac_ipv4_tcp_in_queue_01, > + tv_mac_ipv4_tcp_drop_queue_02 > + ] > + > +tvs_mac_ipv6_non_pipeline_mode =3D [ > + tv_mac_ipv6_in_queue_01, > + tv_mac_ipv6_drop_queue_02 > + ] > + > +tvs_mac_ipv6_frag_non_pipeline_mode =3D [ > + tv_mac_ipv6_frag_in_queue_01, > + tv_mac_ipv6_frag_drop_queue_02 > + ] > + > +tvs_mac_ipv6_udp_non_pipeline_mode =3D [ > + tv_mac_ipv6_udp_in_queue_01, > + tv_mac_ipv6_udp_drop_queue_02 > + ] > + > +tvs_mac_ipv6_tcp_non_pipeline_mode =3D [ > + tv_mac_ipv6_tcp_in_queue_01, > + tv_mac_ipv6_tcp_drop_queue_02 > + ] > + > test_results =3D OrderedDict() >=20 > class SwitchFilterTest(TestCase): > @@ -2337,7 +2555,7 @@ class SwitchFilterTest(TestCase): >=20 > global test_results >=20 > - out =3D self.dut.send_expect(command, "testpmd> ", 300) > + out =3D self.dut.send_expect(command, "testpmd> ", 350) > self.dut.send_expect("port config 0 rss-hash-key ipv4 > 1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd > 1234abcd1234abcd1234abcd1234abcd1234abcd", "testpmd> ", 15) > if is_vxlan: > self.dut.send_expect("rx_vxlan_port add 4789 0", "testpmd> "= , 15) > @@ -2615,3 +2833,32 @@ class SwitchFilterTest(TestCase): > def test_mac_ipv6_tcp_pipeline_mode(self): > command =3D self.create_testpmd_command_pipeline_mode() > self._rte_flow_validate_pattern(tvs_mac_ipv6_tcp_pipeline_mode, > command, is_vxlan =3D False) > + > + def test_mac_ipv4_non_pipeline_mode(self): > + command =3D self.create_testpmd_command() > + self._rte_flow_validate_pattern(tvs_mac_ipv4_non_pipeline_mode, > + command, is_vxlan =3D False) > + > + def test_mac_ipv4_udp_non_pipeline_mode(self): > + command =3D self.create_testpmd_command() > + > + self._rte_flow_validate_pattern(tvs_mac_ipv4_udp_non_pipeline_mode, > + command, is_vxlan =3D False) > + > + def test_mac_ipv4_tcp_non_pipeline_mode(self): > + command =3D self.create_testpmd_command() > + > + self._rte_flow_validate_pattern(tvs_mac_ipv4_tcp_non_pipeline_mode, > + command, is_vxlan =3D False) > + > + def test_mac_ipv6_non_pipeline_mode(self): > + command =3D self.create_testpmd_command() > + self._rte_flow_validate_pattern(tvs_mac_ipv6_non_pipeline_mode, > + command, is_vxlan =3D False) > + > + def test_mac_ipv6_frag_non_pipeline_mode(self): > + command =3D self.create_testpmd_command() > + > + self._rte_flow_validate_pattern(tvs_mac_ipv6_frag_non_pipeline_mode, > + command, is_vxlan =3D False) > + > + def test_mac_ipv6_udp_non_pipeline_mode(self): > + command =3D self.create_testpmd_command() > + > + self._rte_flow_validate_pattern(tvs_mac_ipv6_udp_non_pipeline_mode, > + command, is_vxlan =3D False) > + > + def test_mac_ipv6_tcp_non_pipeline_mode(self): > + command =3D self.create_testpmd_command() > + > + self._rte_flow_validate_pattern(tvs_mac_ipv6_tcp_non_pipeline_mode, > + command, is_vxlan =3D False) > + > -- > 1.8.3.1