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 8ED4AA0561; Mon, 20 Apr 2020 07:22:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 801AC1D178; Mon, 20 Apr 2020 07:22:09 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id E58181D147 for ; Mon, 20 Apr 2020 07:22:07 +0200 (CEST) IronPort-SDR: Lf42ztGJzOwdGzA403vvlztF7Yen3LhSZ8afUMH0/wASSk9aJnsETWKQiq3eHXHYdYgjGmVbke U1fLNz6X0CJw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2020 22:22:07 -0700 IronPort-SDR: TpENMrpArnYU+1luKeW+GI1cwWrCEFKGd6NrQX87IuYJSbg1n5huVNM3tfdjpvWhKk1L+H8nXQ MXU8YJfDk+rQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,405,1580803200"; d="scan'208";a="243696568" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga007.jf.intel.com with ESMTP; 19 Apr 2020 22:22:07 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Apr 2020 22:22:06 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Apr 2020 22:22:06 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.7]) with mapi id 14.03.0439.000; Mon, 20 Apr 2020 13:21:44 +0800 From: "Tu, Lijuan" To: "Xu, HailinX" , "dts@dpdk.org" CC: "Xu, HailinX" Thread-Topic: [dts] [PATCH v1]tests/TestSuite_generic_flow_api:add support nic carlsville. Thread-Index: AQHWEVbDAOdpCulLlES8DoUNgYSMPaiBhGkg Date: Mon, 20 Apr 2020 05:21:42 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0D285@SHSMSX101.ccr.corp.intel.com> References: <1586756269-125434-1-git-send-email-hailinx.xu@intel.com> In-Reply-To: <1586756269-125434-1-git-send-email-hailinx.xu@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_generic_flow_api:add support nic carlsville. 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 failed, please rework, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xu Hailin > Sent: Monday, April 13, 2020 1:38 PM > To: dts@dpdk.org > Cc: Xu, HailinX > Subject: [dts] [PATCH v1]tests/TestSuite_generic_flow_api:add support nic > carlsville. >=20 > From: xuhailin >=20 > carlsville driver is i40e, so the nic support the suite. >=20 > Signed-off-by: xuhailin > --- > tests/TestSuite_generic_flow_api.py | 20 ++++++++++---------- > 1 file changed, 10 insertions(+), 10 deletions(-) >=20 > diff --git a/tests/TestSuite_generic_flow_api.py > b/tests/TestSuite_generic_flow_api.py > index bb42bf7..560d907 100644 > --- a/tests/TestSuite_generic_flow_api.py > +++ b/tests/TestSuite_generic_flow_api.py > @@ -868,7 +868,7 @@ class TestGeneric_flow_api(TestCase): > only supported by i40e > """ > self.verify(self.nic in ["fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TL= V"], "%s nic not > support fdir L2 payload filter" % self.nic) > + "fortville_spirit_single", > + "fortpark_TLV", "carlsville"], "%s nic not support fdir L2 payload > + filter" % self.nic) >=20 > self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter- > mode=3Dperfect --rxq=3D%d --txq=3D%d" % (MAX_QUEUE+1, MAX_QUEUE+1), "- > w %s --file-prefix=3Dtest1" % self.pf_pci) > self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) @@ -889= ,7 > +889,7 @@ class TestGeneric_flow_api(TestCase): > only supported by i40e > """ > self.verify(self.nic in ["fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TL= V"], "%s nic not > support fdir vlan filter" % self.nic) > + "fortville_spirit_single", > + "fortpark_TLV", "carlsville"], "%s nic not support fdir vlan filter" % > + self.nic) > self.setup_env() > # start testpmd on pf > self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filter- > mode=3Dperfect --disable-rss --rxq=3D%d --txq=3D%d" % (MAX_QUEUE+1, > MAX_QUEUE+1), "-w %s --file-prefix=3Dpf --socket-mem 1024,1024 --legacy- > mem" % self.pf_pci) @@ -981,11 +981,11 @@ class > TestGeneric_flow_api(TestCase): > """ > self.verify(self.nic in ["niantic", > "columbiaville_25g","columbiaville_100g","twinville", "sagepond", "sagevi= lle", > "fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TL= V"], > + "fortville_spirit_single", > + "fortpark_TLV", "carlsville"], > "%s nic not support fdir ipv4 filter" % self.nic) > # i40e > if (self.nic in ["fortville_eagle", > "fortville_spirit","columbiaville_25g","columbiaville_100g", > - "fortville_spirit_single", "fortpark_TLV"]): > + "fortville_spirit_single", "fortpark_TLV", "car= lsville"]): > self.setup_env() > # start testpmd on pf > self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filte= r- > mode=3Dperfect --disable-rss --rxq=3D%d --txq=3D%d" % (MAX_QUEUE+1, > MAX_QUEUE+1), "-w %s --file-prefix=3Dpf --socket-mem 1024,1024 --legacy- > mem" % self.pf_pci) @@ -1090,11 +1090,11 @@ class > TestGeneric_flow_api(TestCase): > """ > self.verify(self.nic in ["niantic", "twinville", "sagepond", > "sageville","columbiaville_25g","columbiaville_100g", > "fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TL= V"], > + "fortville_spirit_single", > + "fortpark_TLV", "carlsville"], > "%s nic not support fdir ipv6 filter" % self.nic) > # i40e > if (self.nic in ["fortville_eagle", > "fortville_spirit","columbiaville_25g","columbiaville_100g", > - "fortville_spirit_single", "fortpark_TLV"]): > + "fortville_spirit_single", "fortpark_TLV", "car= lsville"]): > self.setup_env() > self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filte= r- > mode=3Dperfect --disable-rss --rxq=3D%d --txq=3D%d" % (MAX_QUEUE+1, > MAX_QUEUE+1), "-w %s --file-prefix=3Dpf --socket-mem 1024,1024 --legacy- > mem" % self.pf_pci) > self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) @@ = - > 1210,11 +1210,11 @@ class TestGeneric_flow_api(TestCase): > """ > self.verify(self.nic in ["niantic", "twinville", "sagepond", "sa= geville", > "fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TL= V"], > + "fortville_spirit_single", > + "fortpark_TLV", "carlsville"], > "%s nic not support fdir flexbytes filter" % self.ni= c) > # i40e > if (self.nic in ["fortville_eagle", "fortville_spirit", > - "fortville_spirit_single", "fortpark_TLV"]): > + "fortville_spirit_single", "fortpark_TLV", "car= lsville"]): > self.pmdout.start_testpmd("%s" % self.pf_cores, "--pkt-filte= r- > mode=3Dperfect --disable-rss --rxq=3D%d --txq=3D%d" % (MAX_QUEUE+1, > MAX_QUEUE+1), "-w %s --file-prefix=3Dpf" % self.pf_pci) > self.dut.send_expect("set fwd rxonly", "testpmd> ", 120) > self.dut.send_expect("set verbose 1", "testpmd> ", 120) @@ -= 1538,7 > +1538,7 @@ class TestGeneric_flow_api(TestCase): > only supported by i40e > """ > self.verify(self.nic in ["fortville_eagle", > "fortville_spirit","columbiaville_25g","columbiaville_100g", > - "fortville_spirit_single", "fortpark_TL= V"], > + "fortville_spirit_single", > + "fortpark_TLV", "carlsville"], > "%s nic not support tunnel vxlan filter" % self.nic) >=20 > self.setup_env() > @@ -1602,7 +1602,7 @@ class TestGeneric_flow_api(TestCase): > only supported by i40e > """ > self.verify(self.nic in ["fortville_eagle", > "fortville_spirit","columbiaville_25g","columbiaville_100g", > - "fortville_spirit_single", "fortpark_TL= V"], > + "fortville_spirit_single", > + "fortpark_TLV", "carlsville"], > "%s nic not support tunnel nvgre filter" % self.nic) >=20 > self.setup_env() > -- > 2.17.1