From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 2F10F2A5B for ; Tue, 1 Dec 2015 07:26:47 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 30 Nov 2015 22:26:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,367,1444719600"; d="scan'208";a="697644610" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 30 Nov 2015 22:26:44 -0800 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 30 Nov 2015 22:26:43 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.110.14) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 30 Nov 2015 22:26:43 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.83]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.138]) with mapi id 14.03.0248.002; Tue, 1 Dec 2015 14:26:41 +0800 From: "Xu, HuilongX" To: "Tu, LijuanX A" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH]tests uni_pkt: disable vector ixgbe driver and rename i350 to powerville Thread-Index: AQHRK/4XPkDgWB1f6kK0Uo7MNwQUgJ61qdiA Date: Tue, 1 Dec 2015 06:26:41 +0000 Message-ID: References: <1448949552-3456-1-git-send-email-lijuanx.a.tu@intel.com> In-Reply-To: <1448949552-3456-1-git-send-email-lijuanx.a.tu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-hashedpuzzle: 55k= AGFS AjYM BkWI BnnH DU+D EM9Z FKf5 FK9o FkYJ HNuG Hi1q HtX6 IDse Jun0 Jw3h; 1; ZAB0AHMAQABkAHAAZABrAC4AbwByAGcA; Sosha1_v1; 7; {22EFEB8C-B466-4DBE-B1AA-7B7E44C1BBA0}; aAB1AGkAbABvAG4AZwB4AC4AeAB1AEAAaQBuAHQAZQBsAC4AYwBvAG0A; Tue, 01 Dec 2015 06:26:39 GMT; UgBFADoAIABbAGQAdABzAF0AIABbAFAAQQBUAEMASABdAHQAZQBzAHQAcwAgAHUAbgBpAF8AcABrAHQAOgAgAGQAaQBzAGEAYgBsAGUAIAB2AGUAYwB0AG8AcgAgAGkAeABnAGIAZQAgAGQAcgBpAHYAZQByACAAYQBuAGQAIAByAGUAbgBhAG0AZQAJAGkAMwA1ADAAIAB0AG8AIABwAG8AdwBlAHIAdgBpAGwAbABlAA== x-cr-puzzleid: {22EFEB8C-B466-4DBE-B1AA-7B7E44C1BBA0} 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]tests uni_pkt: disable vector ixgbe driver and rename i350 to powerville 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: Tue, 01 Dec 2015 06:26:47 -0000 Hi lijuan, You should enable IXGB VEC PMD after you finish this test. Thanks a lot > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Lijuan Tu > Sent: Tuesday, December 01, 2015 1:59 PM > To: dts@dpdk.org > Subject: [dts] [PATCH]tests uni_pkt: disable vector ixgbe driver and > rename i350 to powerville >=20 > Signed-off-by: Lijuan Tu > --- > tests/TestSuite_uni_pkt.py | 17 ++++++++++++----- > 1 file changed, 12 insertions(+), 5 deletions(-) >=20 > diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py > index ca72e75..17c11b0 100644 > --- a/tests/TestSuite_uni_pkt.py > +++ b/tests/TestSuite_uni_pkt.py > @@ -63,6 +63,13 @@ class TestUniPacket(TestCase): > self.dut_port =3D valports[0] > tester_port =3D self.tester.get_local_port(self.dut_port) > self.tester_iface =3D self.tester.get_interface(tester_port) > + """ > + Disable vector ixgbe driver in dpdk configuration file. > + """ > + [arch, machine, env, toolchain] =3D self.target.split('-') > + self.dut.send_expect("sed -i -e > 's/CONFIG_RTE_IXGBE_INC_VECTOR=3D.*$/" > + + "CONFIG_RTE_IXGBE_INC_VECTOR=3Dn/' > config/common_%s" % env, "# ", 30) > + self.dut.build_install_dpdk(self.target) > self.dut.send_expect( > "./%s/app/testpmd -c f -n 4 -- -i --txqflags=3D0x0" % > self.target, "testpmd>", 20) > self.dut.send_expect("set fwd rxonly", "testpmd>") > @@ -117,7 +124,7 @@ class TestUniPacket(TestCase): > """ > if "fortville" in self.nic.lower(): > outerL4Type =3D "(outer) L4 type: L4_NONFRAG" > - elif "niantic" in self.nic.lower() or "i350" in self.nic.lower()= : > + elif "niantic" in self.nic.lower() or "powerville" in > self.nic.lower(): > outerL4Type =3D "(outer) L4 type: Unknown" >=20 > pktType =3D { > @@ -135,7 +142,7 @@ class TestUniPacket(TestCase): > if "fortville" in self.nic.lower(): > pktType.pop("MAC_IPihl_PKT") > pktType.pop("MAC_IPihl_SCTP_PKT") > - elif "niantic" in self.nic.lower() or "i350" in self.nic.lower()= : > + elif "niantic" in self.nic.lower() or "powerville" in > self.nic.lower(): > pktType.pop("MAC_IP_ICMP_PKT") > pktType.pop("MAC_IPFRAG_TCP_PKT") >=20 > @@ -148,7 +155,7 @@ class TestUniPacket(TestCase): > if "fortville" in self.nic.lower(): > outerL4Type =3D "(outer) L4 type: L4_NONFRAG" > outerL3Type =3D "(outer) L3 type: IPV6_EXT_UNKNOWN" > - elif "niantic" in self.nic.lower() or "i350" in self.nic.lower()= : > + elif "niantic" in self.nic.lower() or "powerville" in > self.nic.lower(): > outerL4Type =3D "(outer) L4 type: Unknown" > outerL3Type =3D "(outer) L3 type: IPV6" >=20 > @@ -163,7 +170,7 @@ class TestUniPacket(TestCase): > # delete the unsupported packet based on nic type > if "fortville" in self.nic.lower(): > pktType.pop("MAC_IPv6FRAG_PKT_N") > - elif "niantic" in self.nic.lower() or "i350" in self.nic.lower()= : > + elif "niantic" in self.nic.lower() or "powerville" in > self.nic.lower(): > pktType.pop("MAC_IPv6FRAG_PKT_F") >=20 > self.run_test(pktType) > @@ -198,7 +205,7 @@ class TestUniPacket(TestCase): > checked that whether IPv4 in IPv6 tunnel packet can be normally > detected by Niantic and i350. > """ > - if "niantic" not in self.nic.lower() and "i350" not in > self.nic.lower(): > + if "niantic" not in self.nic.lower() and "powerville" not in > self.nic.lower(): > return >=20 > pktType =3D { > -- > 1.9.1