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 DD0C4A0561; Mon, 20 Apr 2020 07:22:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D203E1D173; Mon, 20 Apr 2020 07:22:11 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 8BA071D17E for ; Mon, 20 Apr 2020 07:22:09 +0200 (CEST) IronPort-SDR: m8t+eocjT1wamR4Ub/JyoR6je0X2ZX9oLS892gAlZDPT1Zf3idn7MmzoOt890hLGAkuw+KWUBi I40ciRGCtLGg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2020 22:22:09 -0700 IronPort-SDR: BloKoAPli91ID4zPRVqGr4CS4TTCJKcYZ3CRWUHpIc43zgGDaCfKLwAuq3L4KjftBcLRKUDCc/ fY6d+tkdIkig== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,405,1580803200"; d="scan'208";a="428989780" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga005.jf.intel.com with ESMTP; 19 Apr 2020 22:22:08 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Apr 2020 22:22:08 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 19 Apr 2020 22:22:08 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Sun, 19 Apr 2020 22:22:07 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.22]) with mapi id 14.03.0439.000; Mon, 20 Apr 2020 13:22:05 +0800 From: "Tu, Lijuan" To: "Jiang, YuX" , "dts@dpdk.org" CC: "Jiang, YuX" Thread-Topic: [dts] [PATCH V1] tests/TestSuite_fdir: add nic sagepond Thread-Index: AQHWE+TpOuQe5+o3xE+E4PiVz2eNP6iBf3Qg Date: Mon, 20 Apr 2020 05:22:04 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0D2AF@SHSMSX101.ccr.corp.intel.com> References: <1587037216-3723-1-git-send-email-yux.jiang@intel.com> In-Reply-To: <1587037216-3723-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_fdir: add nic sagepond 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: Thursday, April 16, 2020 7:40 PM > To: dts@dpdk.org > Cc: Jiang, YuX > Subject: [dts] [PATCH V1] tests/TestSuite_fdir: add nic sagepond >=20 > From: "Jiang,yu" >=20 > Add nic sagepond to test >=20 > Signed-off-by: Jiang,yu > --- > 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 > e136545..ecda94d 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"]): > + elif (self.nic in ["niantic", "sagepond"]): > 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"]: > + if self.nic in ["niantic", "sagepond"]: > # 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"]: > + if self.nic in ["niantic", "sagepond"]: > # 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.17.2