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 5CFAEA0352; Wed, 6 May 2020 05:16:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2EF841D5EB; Wed, 6 May 2020 05:16:18 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 3DAD21D5E5 for ; Wed, 6 May 2020 05:16:16 +0200 (CEST) IronPort-SDR: dwGs/ux03ZCZ+jH6IYRdJZaREhT29VbP4CwwZqJ9hDU92tQhKBsehCA8Dp2R+nTK9YUfpWTEHF fvlcXRK327Bg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2020 20:16:13 -0700 IronPort-SDR: 47NqlYbBHOeZ34BJXwrIZGktUT5ACEktCluC71A8XqWSBh3bPRb/HgwVGL5msotYT0K2yr9FXa G5N1SKEaBcNw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,357,1583222400"; d="scan'208";a="461277302" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga005.fm.intel.com with ESMTP; 05 May 2020 20:16:13 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 May 2020 20:16:13 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 May 2020 20:16:12 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.225]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.210]) with mapi id 14.03.0439.000; Wed, 6 May 2020 11:16:10 +0800 From: "Tu, Lijuan" To: "Mei, JianweiX" , "dts@dpdk.org" CC: "Mei, JianweiX" Thread-Topic: [dts] [PATCH V1] tests/generic_filter: add nic sageville Thread-Index: AQHWHWBepLm0Z6GnBkit6oZbkxk5EKiabpug Date: Wed, 6 May 2020 03:16:09 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC21E1C@SHSMSX101.ccr.corp.intel.com> References: <20200429162912.2424-1-jianweix.mei@intel.com> In-Reply-To: <20200429162912.2424-1-jianweix.mei@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/generic_filter: add nic sageville 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 Mei Jianwei > Sent: Thursday, April 30, 2020 12:29 AM > To: dts@dpdk.org > Cc: Mei, JianweiX > Subject: [dts] [PATCH V1] tests/generic_filter: add nic sageville >=20 > add nic sageville. >=20 > Signed-off-by: Mei Jianwei > --- > tests/TestSuite_generic_filter.py | 24 ++++++++++++------------ > 1 file changed, 12 insertions(+), 12 deletions(-) >=20 > diff --git a/tests/TestSuite_generic_filter.py > b/tests/TestSuite_generic_filter.py > index 2d61f5b..7806e11 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", > "sagepond", "foxville"], "%s nic not support syn filter" % self.nic) > + self.verify(self.nic in ["niantic", "kawela_4", "bartonhills", > + "powerville", "sagepond", "foxville", "sageville"], "%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 in ["niantic", "sagepond"]: > + if self.nic in ["niantic", "sagepond", "sageville"]: > 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", "sagepond", "foxville"]: > + if self.nic in ["niantic", "kawela_4", "sagepond", "foxville", "= sageville"]: > 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 in ["niantic", "sagepond"]: > + if self.nic in ["niantic", "sagepond", "sageville"]: > 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 in ["niantic", "sagepond"]: > + if self.nic in ["niantic", "sagepond", "sageville"]: > 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 in ["niantic", "sagepond"]: > + if self.nic in ["niantic", "sagepond", "sageville"]: > 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 in ["niantic", "sagepond"]: > + if self.nic in ["niantic", "sagepond", "sageville"]: > 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": > @@ -372,7 +372,7 @@ class TestGeneric_filter(TestCase): >=20 > 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", "foxville"], "%s nic not sup= port > syn filter" % self.nic) > + "fortville_spirit_single", > + "fortpark_TLV","fortpark_BASE-T", "fortville_25g","cavium_a063", > + "carlsville", "foxville", "sageville"], "%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() > @@ -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 in ["niantic", "sagepond"]: > + if self.nic in ["niantic", "sagepond", "sageville"]: > 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", "sag= epond", > "foxville"]: > + if self.nic in ["powerville", "bartonhills", "cavium_a063", "sag= epond", > "foxville", "sageville"]: > 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", > "sagepond", "foxville"], '%s not support flex filter' % self.nic) > + self.verify(self.nic in ["powerville", "bartonhills", > + "cavium_a063", "sagepond", "foxville", "sageville"], '%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", "sagepo= nd", > "foxville"]: > + if self.nic in ["powerville", "kawela_4", "bartonhills", "sagepo= nd", > "foxville", "sageville"]: > 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.18.2