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 0E486A0588; Fri, 17 Apr 2020 05:00:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 06E721DE0B; Fri, 17 Apr 2020 05:00:51 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id E29A71DDC2 for ; Fri, 17 Apr 2020 05:00:48 +0200 (CEST) IronPort-SDR: eucS+BlgsEwIrV/jo8npGD9kaNx8TX2s8BXVivPYa/C4jYNtVhHPF4CyycpA0cZq89V9bPwVfW TQ+fBe+IJr8Q== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2020 20:00:48 -0700 IronPort-SDR: o8amQ8Os4omTZa6ktfEnalJT9FRuq2u+mGOElAhX1uAalhwrC0gR5rEa+BH3HK2wHWFN1FTC70 VciPFcCK5vFg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,393,1580803200"; d="scan'208";a="455490343" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 16 Apr 2020 20:00:48 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 16 Apr 2020 20:00:47 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by SHSMSX606.ccr.corp.intel.com (10.109.6.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 17 Apr 2020 11:00:45 +0800 Received: from shsmsx602.ccr.corp.intel.com ([10.109.6.142]) by SHSMSX602.ccr.corp.intel.com ([10.109.6.142]) with mapi id 15.01.1713.004; Fri, 17 Apr 2020 11:00:45 +0800 From: "Zhao, XinfengX" To: "dts@dpdk.org" CC: "Jiang, YuX" Thread-Topic: [dts] [PATCH V1] tests/TestSuite_fdir: add nic sagepond Thread-Index: AQHWE+Tpgr+NgmnbdUi1JdAynPHZ0qh8oOHA Date: Fri, 17 Apr 2020 03:00:45 +0000 Message-ID: <22ea18affa264864bc73a020686085ab@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: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] 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" Tested-by: Zhao, Xinfeng -----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 From: "Jiang,yu" Add nic sagepond to test Signed-off-by: Jiang,yu --- tests/TestSuite_fdir.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py index e13654= 5..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,0= x0,0x0,0x0,0x0,0x0,0x0,0x0' self.payload =3D b'\x11\x11\x22\x22\x33\x33\x44\x44\x55\x55\x6= 6\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\x6= 6\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 --port= mask=3D%s --disable-rss --rxq=3D4 --txq=3D4 --nb-cores=3D4 --nb-ports=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", "fortvill= e_spirit_single", "fortpark_TLV", "fortpark_BASE-T","fortville_25g", "carls= ville"]: @@ -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 --port= mask=3D%s --disable-rss --rxq=3D4 --txq=3D4 --nb-cores=3D4 --nb-ports=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", "fortvill= e_spirit_single", "fortpark_TLV","fortpark_BASE-T", "fortville_25g", "carls= ville"]: -- 2.17.2