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 660AEA00C2; Thu, 23 Apr 2020 08:37:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5DA9F1BF70; Thu, 23 Apr 2020 08:37:55 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 52C661C43F for ; Thu, 23 Apr 2020 08:37:53 +0200 (CEST) IronPort-SDR: 4iZqVyVy/OlzlEaPyi5G8gbUFyRrtRkiF8VP4CFjp9DFLFDvEHD/iV5y4N1VcROZdFolKzdxNp QKiZP2MtxEsg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2020 23:37:52 -0700 IronPort-SDR: /Rtcmcmaecqrot77Jzswti0xzEQVLE1n5+wz3w2OGI0fPFsp0SyP7FQz/h22mii/sq7XpVXviD tLhKTqIdxYWA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,305,1583222400"; d="scan'208";a="244765965" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga007.jf.intel.com with ESMTP; 22 Apr 2020 23:37:51 -0700 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 23:37:24 -0700 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by FMSMSX157.amr.corp.intel.com (10.18.116.73) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 23:37:24 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.213]) with mapi id 14.03.0439.000; Thu, 23 Apr 2020 14:37:22 +0800 From: "Tu, Lijuan" To: "Mei, JianweiX" , "dts@dpdk.org" CC: "Mei, JianweiX" Thread-Topic: [dts] [PATCH V1] tests/fdir:add NIC sageville Thread-Index: AQHWF9tZoouLJ/9VhkqLySoGXtxkoqiGQ46g Date: Thu, 23 Apr 2020 06:37:21 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0F2B4@SHSMSX101.ccr.corp.intel.com> References: <20200422155429.6651-1-jianweix.mei@intel.com> In-Reply-To: <20200422155429.6651-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/fdir: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: Wednesday, April 22, 2020 11:54 PM > To: dts@dpdk.org > Cc: Mei, JianweiX > Subject: [dts] [PATCH V1] tests/fdir:add NIC sageville >=20 > add nic sageville. >=20 > Signed-off-by: Mei Jianwei > --- > tests/TestSuite_fdir.py | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py index > a7c98bd..2b34776 100644 > --- a/tests/TestSuite_fdir.py > +++ b/tests/TestSuite_fdir.py > @@ -242,7 +242,7 @@ class TestFdir(TestCase, IxiaPacketGenerator): > self.flexbytes =3D > '0x0,0x0,0x0,0x20,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0' > self.payload =3D > b'\x11\x11\x22\x22\x33\x33\x44\x44\x55\x55\x66\x66\x77\x77\x77\x77' > self.flexlength =3D 16 > - elif (self.nic in ["niantic", "sagepond"]): > + elif (self.nic in ["niantic", "sagepond", "sageville"]): > self.flexbytes =3D "0x00,0x00" > self.payload =3D > b'\x11\x11\x22\x22\x33\x33\x44\x44\x55\x55\x66\x66\x77\x77\x77\x77' > self.flexlength =3D 2 > @@ -329,7 +329,7 @@ class TestFdir(TestCase, IxiaPacketGenerator): > """ >=20 > self.dut.kill_all() > - if self.nic in ["niantic", "sagepond"]: > + if self.nic in ["niantic", "sagepond", "sageville"]: > # Niantic ipv6 only support signature mode > self.dut.send_expect("./%s/app/testpmd -c %s -n 4 -- -i -- > portmask=3D%s --disable-rss --rxq=3D4 --txq=3D4 --nb-cores=3D4 --nb-por= ts=3D1 --pkt- > filter-mode=3Dsignature" % (self.target, self.coreMask, > utils.create_mask([self.dut_ports[0]])), "testpmd>", 120) > elif self.nic in ["fortville_eagle", "fortville_spirit", "fortvi= lle_spirit_single", > "fortpark_TLV", "fortpark_BASE-T","fortville_25g", "carlsville"]: > @@ -614,7 +614,7 @@ class TestFdir(TestCase, IxiaPacketGenerator): >=20 > self.dut.kill_all() > # fwd testing with flexword > - if self.nic in ["niantic", "sagepond"]: > + if self.nic in ["niantic", "sagepond", "sageville"]: > # Niantic ipv6 only support signature mode > self.dut.send_expect("./%s/app/testpmd -c %s -n 4 -- -i -- > portmask=3D%s --disable-rss --rxq=3D4 --txq=3D4 --nb-cores=3D4 --nb-por= ts=3D1 --pkt- > filter-mode=3Dsignature" % (self.target, self.coreMask, > utils.create_mask([self.dut_ports[0]])), "testpmd>", 120) > elif self.nic in ["fortville_eagle", "fortville_spirit", "fortvi= lle_spirit_single", > "fortpark_TLV","fortpark_BASE-T", "fortville_25g", "carlsville"]: > -- > 2.18.2