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 CF91FA0561; Tue, 21 Apr 2020 05:31:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BFC7B1D5FB; Tue, 21 Apr 2020 05:31:58 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id D16251D5B4 for ; Tue, 21 Apr 2020 05:31:56 +0200 (CEST) IronPort-SDR: xPm6M4Cu8bOGJ6dw9Ibh/rqyYGgu4WQU0Psig3LIenZhKbw1ZbOxufrKIShiB4WjlllQYydvSZ 6o8n3NOpUCeg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2020 20:31:56 -0700 IronPort-SDR: bRn9nw4qZuUDy83nkmFf1HTW5H5z9LYkEh6rLXA86gjxf3UUkr8vkKfXdKS44MrHjzurbqBuqw EfYKAtSuQZzQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,408,1580803200"; d="scan'208";a="455931514" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga005.fm.intel.com with ESMTP; 20 Apr 2020 20:31:56 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Apr 2020 20:31:55 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.225]) with mapi id 14.03.0439.000; Tue, 21 Apr 2020 11:31:52 +0800 From: "Tu, Lijuan" To: "Jiang, YuX" , "dts@dpdk.org" CC: "Jiang, YuX" Thread-Topic: [dts] [PATCH V1] tests/TestSuite_generic_filter: add sagepond nic Thread-Index: AQHWFvXyLZyJzlOj3ke6J3W3GoLdEKiC7NtQ Date: Tue, 21 Apr 2020 03:31:51 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0DB44@SHSMSX101.ccr.corp.intel.com> References: <1587374360-120870-1-git-send-email-yux.jiang@intel.com> In-Reply-To: <1587374360-120870-1-git-send-email-yux.jiang@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 V1] tests/TestSuite_generic_filter: add sagepond nic 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, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Jiang, YuX > Sent: Monday, April 20, 2020 5:19 PM > To: dts@dpdk.org > Cc: Jiang, YuX > Subject: [dts] [PATCH V1] tests/TestSuite_generic_filter: add sagepond ni= c >=20 > From: "Jiang,yu" >=20 > Add support sagepond nic, and sagepond does not support test_128_queues >=20 > Signed-off-by: Jiang,yu > --- > conf/test_case_checklist.json | 1 + > tests/TestSuite_generic_filter.py | 26 +++++++++++++------------- > 2 files changed, 14 insertions(+), 13 deletions(-) >=20 > diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.jso= n > index 44bf8af..f1c3ac0 100644 > --- a/conf/test_case_checklist.json > +++ b/conf/test_case_checklist.json > @@ -15,6 +15,7 @@ > "ironpond", > "springfountain", > "twinpond", > + "sagepond", > "kawela_4", > "cavium_a034", > "cavium_a011", > diff --git a/tests/TestSuite_generic_filter.py > b/tests/TestSuite_generic_filter.py > index ddc5eb8..59d7372 100644 > --- a/tests/TestSuite_generic_filter.py > +++ b/tests/TestSuite_generic_filter.py > @@ -204,7 +204,7 @@ class TestGeneric_filter(TestCase): > """ > Enable receipt of SYN packets > """ > - self.verify(self.nic in ["niantic", "kawela_4", "bartonhills", "= powerville"], > "%s nic not support syn filter" % self.nic) > + self.verify(self.nic in ["niantic", "kawela_4", "bartonhills", > + "powerville", "sagepond"], "%s nic not support syn filter" % self.nic) > self.pmdout.start_testpmd( > "%s" % self.cores, "--disable-rss --rxq=3D4 --txq=3D4 --port= mask=3D%s --nb- > cores=3D4 --nb-ports=3D1" % portMask) > self.port_config() > @@ -247,7 +247,7 @@ class TestGeneric_filter(TestCase): > "%s" % self.cores, "--disable-rss --rxq=3D4 --txq=3D4 --port= mask=3D%s --nb- > cores=3D4 --nb-ports=3D1" % portMask) > self.port_config() >=20 > - if self.nic =3D=3D "niantic": > + if self.nic in ["niantic", "sagepond"]: > cmd =3D "5tuple_filter %s add dst_ip 2.2.2.5 src_ip 2.2.2.4 = dst_port 1 > src_port 1 protocol 0x06 mask 0x1f tcp_flags 0x0 priority 3 queue 3 " % ( > valports[0]) > self.dut.send_expect("%s" % cmd, "testpmd> ") @@ -307,7 +307= ,7 > @@ class TestGeneric_filter(TestCase): > """ > five tuple filter > """ > - if self.nic in ["niantic", "kawela_4"]: > + if self.nic in ["niantic", "kawela_4", "sagepond"]: > self.pmdout.start_testpmd( > "%s" % self.cores, "--disable-rss --rxq=3D4 --txq=3D4 --= portmask=3D%s -- > nb-cores=3D4 --nb-ports=3D1" % portMask) > self.port_config() > @@ -315,14 +315,14 @@ class TestGeneric_filter(TestCase): > mask =3D ['0x1f', '0x0'] > for case in mask: > if case =3D=3D "0x1f": > - if self.nic =3D=3D "niantic": > + if self.nic in ["niantic", "sagepond"]: > cmd =3D "5tuple_filter %s add dst_ip 2.2.2.5 src= _ip 2.2.2.4 > dst_port 1 src_port 1 protocol 0x06 mask %s tcp_flags 0x0 priority 3 queu= e > 3" % ( > valports[0], case) > if self.nic =3D=3D "kawela_4": > cmd =3D "5tuple_filter %s add dst_ip 2.2.2.5 src= _ip 2.2.2.4 > dst_port 1 src_port 1 protocol 0x06 mask %s tcp_flags 0x02 priority 3 que= ue > 3" % ( > valports[0], case) > else: > - if self.nic =3D=3D "niantic": > + if self.nic in ["niantic", "sagepond"]: > cmd =3D "5tuple_filter %s add dst_ip 2.2.2.5 src= _ip 2.2.2.4 > dst_port 1 src_port 1 protocol 0x06 mask %s tcp_flags 0x0 priority 3 queu= e > 3" % ( > valports[0], case) > if self.nic =3D=3D "kawela_4": > @@ -345,14 +345,14 @@ class TestGeneric_filter(TestCase): > out =3D self.dut.send_expect("stop", "testpmd> ") > self.verify_result(out, tx_pkts=3D"1", expect_queue=3D"0= ") > if case =3D=3D "0x1f": > - if self.nic =3D=3D "niantic": > + if self.nic in ["niantic", "sagepond"]: > cmd =3D "5tuple_filter %s del dst_ip 2.2.2.5 src= _ip 2.2.2.4 > dst_port 1 src_port 1 protocol 0x06 mask %s tcp_flags 0x0 priority 3 queu= e > 3" % ( > valports[0], case) > if self.nic =3D=3D "kawela_4": > cmd =3D "5tuple_filter %s del dst_ip 2.2.2.5 src= _ip 2.2.2.4 > dst_port 1 src_port 1 protocol 0x06 mask %s tcp_flags 0x02 priority 3 que= ue > 3" % ( > valports[0], case) > else: > - if self.nic =3D=3D "niantic": > + if self.nic in ["niantic", "sagepond"]: > cmd =3D "5tuple_filter %s del dst_ip 2.2.2.5 src= _ip 2.2.2.4 > dst_port 1 src_port 1 protocol 0x06 mask %s tcp_flags 0x0 priority 3 queu= e > 3" % ( > valports[0], case) > if self.nic =3D=3D "kawela_4": > @@ -370,7 +370,7 @@ class TestGeneric_filter(TestCase): >=20 > def test_ethertype_filter(self): >=20 > - self.verify(self.nic in ["niantic", "kawela_4", "bartonhills", > + self.verify(self.nic in ["niantic", "kawela_4", "bartonhills", > + "sagepond", > "powerville", "fortville_eagle", "fortville_s= pirit", > "fortville_spirit_single", "fortpark_TLV","fo= rtpark_BASE-T", > "fortville_25g","cavium_a063", "carlsville"], "%s nic not support syn fil= ter" % > self.nic) > self.pmdout.start_testpmd( > @@ -395,7 +395,7 @@ class TestGeneric_filter(TestCase): > self.dut.send_expect("clear port stats all", "testpmd> ") >=20 > self.verify_result(out, tx_pkts=3D"1", expect_queue=3D"2") > - if self.nic =3D=3D "niantic": > + if self.nic in ["niantic", "sagepond"]: > self.dut.send_expect("start", "testpmd> ") > self.filter_send_packet("arp_prio") > time.sleep(2) > @@ -417,7 +417,7 @@ class TestGeneric_filter(TestCase): > self.verify_result(out, tx_pkts=3D"1", expect_queue=3D"0") >=20 > def test_multiple_filters_10GB(self): > - if self.nic =3D=3D "niantic": > + if self.nic in ["niantic", "sagepond"]: > self.pmdout.start_testpmd( > "%s" % self.cores, "--disable-rss --rxq=3D4 --txq=3D4 --= portmask=3D%s -- > nb-cores=3D4 --nb-ports=3D1" % portMask) > self.port_config() > @@ -501,7 +501,7 @@ class TestGeneric_filter(TestCase): >=20 > def test_twotuple_filter(self): >=20 > - if self.nic in ["powerville", "bartonhills", "cavium_a063"]: > + if self.nic in ["powerville", "bartonhills", "cavium_a063", "sag= epond"]: > self.pmdout.start_testpmd( > "%s" % self.cores, "--disable-rss --rxq=3D4 --txq=3D4 --= portmask=3D%s -- > nb-cores=3D4 --nb-ports=3D1" % portMask) > self.port_config() > @@ -534,7 +534,7 @@ class TestGeneric_filter(TestCase): > self.verify(False, "%s nic not support two tuple filter" % s= elf.nic) >=20 > def test_flex_filter(self): > - self.verify(self.nic in ["powerville", "bartonhills", "cavium_a0= 63"], '%s > not support flex filter' % self.nic) > + self.verify(self.nic in ["powerville", "bartonhills", > + "cavium_a063", "sagepond"], '%s not support flex filter' % self.nic) >=20 > masks =3D ['000C', '000C'] > self.pmdout.start_testpmd( > @@ -589,7 +589,7 @@ class TestGeneric_filter(TestCase): >=20 > def test_multiple_filters_1GB(self): >=20 > - if self.nic in ["powerville", "kawela_4", "bartonhills"]: > + if self.nic in ["powerville", "kawela_4", "bartonhills", "sagepo= nd"]: > self.pmdout.start_testpmd( > "%s" % self.cores, "--disable-rss --rxq=3D4 --txq=3D4 --= portmask=3D%s -- > nb-cores=3D4 --nb-ports=3D1" % portMask) > self.port_config() > -- > 2.17.2