From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id AB75212001 for ; Thu, 25 Jan 2018 09:51:49 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jan 2018 00:51:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,411,1511856000"; d="scan'208";a="13349466" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga006.jf.intel.com with ESMTP; 25 Jan 2018 00:51:47 -0800 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 25 Jan 2018 00:51:47 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 25 Jan 2018 00:51:47 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by shsmsx102.ccr.corp.intel.com ([169.254.2.189]) with mapi id 14.03.0319.002; Thu, 25 Jan 2018 16:51:45 +0800 From: "Liu, Yong" To: "Lu, PeipeiX" , "dts@dpdk.org" CC: "Lu, PeipeiX" Thread-Topic: [dts] [PATCH V1] tests/fdir: fix fdir case on sagepond Thread-Index: AQHTlbhyYonMIq60xkqkSoA63h0Yz6OER6xg Date: Thu, 25 Jan 2018 08:51:45 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E62F5A855@SHSMSX103.ccr.corp.intel.com> References: <1516869812-28973-1-git-send-email-peipeix.lu@intel.com> In-Reply-To: <1516869812-28973-1-git-send-email-peipeix.lu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTQ3M2NlNTktM2UwYy00Mzk1LTgyNjQtNDU2MjQxOGNhZGYxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJoMUhUb1pSaUJpZWxSYmFcL2ZabDFWU1NwSmJ4VWNOR3ZSOUEzUllnMU55N2xkNXBQQUZFMklYWkRhWTNLWGVsWSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 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: fix fdir case on 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: , X-List-Received-Date: Thu, 25 Jan 2018 08:51:50 -0000 Peipei, Please modify your commit log for make it clear. Like which case not suppor= t on sagepond and which case is supported. Thanks, Marvin > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lu,peipei > Sent: Thursday, January 25, 2018 4:44 PM > To: dts@dpdk.org > Cc: Lu, PeipeiX > Subject: [dts] [PATCH V1] tests/fdir: fix fdir case on sagepond >=20 > Add sagepond nic to test fdir, fix fdir case on sagepind. >=20 > Signed-off-by: lu,peipei > --- > conf/test_case_checklist.json | 9 ++++++--- > tests/TestSuite_fdir.py | 6 +++--- > 2 files changed, 9 insertions(+), 6 deletions(-) >=20 > diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.jso= n > index 38cca5a..860485f 100644 > --- a/conf/test_case_checklist.json > +++ b/conf/test_case_checklist.json > @@ -1754,7 +1754,8 @@ > "ALL" > ], > "NIC": [ > - "niantic" > + "niantic", > + "sagepond" > ], > "Target": [ > "ALL" > @@ -1769,7 +1770,8 @@ > "ALL" > ], > "NIC": [ > - "niantic" > + "niantic", > + "sagepond" > ], > "Target": [ > "ALL" > @@ -1784,7 +1786,8 @@ > "ALL" > ], > "NIC": [ > - "niantic" > + "niantic", > + "sagepond" > ], > "Target": [ > "ALL" > diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py > index 44f1e96..80593e3 100644 > --- a/tests/TestSuite_fdir.py > +++ b/tests/TestSuite_fdir.py > @@ -223,7 +223,7 @@ class TestFdir(TestCase, IxiaPacketGenerator): > Fdir get flexbytes and payload according NIC > """ >=20 > - if(self.nic in ["fortville_eagle", "fortville_spirit", > "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]): > + if(self.nic in ["fortville_eagle", "fortville_spirit", > "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "sagepond"]): > if not sctp: > self.flexbytes =3D > "0x11,0x11,0x22,0x22,0x33,0x33,0x44,0x44,0x55,0x55,0x66,0x66,0x77,0x77,0x= 8 > 8,0x88" > else: > @@ -318,7 +318,7 @@ class TestFdir(TestCase, IxiaPacketGenerator): > if self.nic in ["niantic"]: > # 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", > "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]: > + elif self.nic in ["fortville_eagle", "fortville_spirit", > "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "sagepond"]: > # Fortville ipv6 support perfect 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=3Dperfect" % (self.target, self.coreMask, > utils.create_mask([self.dut_ports[0]])), "testpmd>", 120) > self.dut.send_expect("set verbose 1", "testpmd>") > @@ -603,7 +603,7 @@ class TestFdir(TestCase, IxiaPacketGenerator): > if self.nic in ["niantic"]: > # 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", > "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]: > + elif self.nic in ["fortville_eagle", "fortville_spirit", > "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "sagepond"]: > # fortville ipv6 support perfect 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-ports= =3D1 --pkt- > filter-mode=3Dperfect" % (self.target, self.coreMask, > utils.create_mask([self.dut_ports[0]])), "testpmd>", 120) > self.dut.send_expect("set verbose 1", "testpmd>") > -- > 1.9.3