From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id E694A5AB0 for ; Fri, 23 Jan 2015 03:36:15 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 22 Jan 2015 18:32:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,453,1418112000"; d="scan'208";a="641363658" Received: from pgsmsx101.gar.corp.intel.com ([10.221.44.78]) by orsmga001.jf.intel.com with ESMTP; 22 Jan 2015 18:36:14 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by PGSMSX101.gar.corp.intel.com (10.221.44.78) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 23 Jan 2015 10:34:48 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.64]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.173]) with mapi id 14.03.0195.001; Fri, 23 Jan 2015 10:34:47 +0800 From: "Qiu, Michael" To: "Zhang, XiaonanX" , "Tang, HaifengX" , "dts@dpdk.org" Thread-Topic: [dts] dts can not support one more different nics test in one configuration file Thread-Index: AdA2E4p7IvjTszB7THuj09CvcRCvaA== Date: Fri, 23 Jan 2015 02:34:46 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E60286CB8ACF@SHSMSX101.ccr.corp.intel.com> References: <533710CFB86FA344BFBF2D6802E60286CB87CE@SHSMSX101.ccr.corp.intel.com> <63FB47D6C0357E428AA804B2C89068BA0128F6D0@SHSMSX104.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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] dts can not support one more different nics test in one configuration file 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: Fri, 23 Jan 2015 02:36:16 -0000 On 1/22/2015 6:31 PM, Zhang, XiaonanX wrote:=0A= > Hi all,=0A= > When I tested l3fwd performance on the fortville_spirit and fortville_= eagle nic on Federal 21 and Federal20,=0A= > I also met this problem.=0A= > I think the question is about framework restore_interfaces function o= f framework crb.py file and =0A= > I have been modified for fortvill testing due to Fedora20 kernel has b= een supported i40e driver.=0A= > Suggestion:=0A= > Modifiy /framework/crb.py:=0A= >=0A= > def restore_interfaces(self):=0A= > """=0A= > Restore Linux interfaces.=0A= > """=0A= > if dts.drivername =3D=3D "vfio-pci":=0A= > self.send_expect("rmmod vfio_iommu_type1", "# ", 10)=0A= > self.send_expect("rmmod vfio_pci", "# ", 10)=0A= > self.send_expect("rmmod vfio", "# ", 10)=0A= > else:=0A= > self.send_expect("rmmod igb_uio", "# ", 10)=0A= > self.send_expect("modprobe igb", "# ", 20)=0A= > self.send_expect("modprobe ixgbe", "# ", 20)=0A= > self.send_expect("modprobe e1000e", "# ", 20)=0A= > self.send_expect("modprobe e1000", "# ", 20)=0A= > self.send_expect("modprobe virtio_net", "# ", 20)=0A= > + self.send_expect("`insmod /usr/lib/modules/`uname -r`/kernel/driv= ers/net/ethernet/intel/i40e/i40e.ko`", "# ", 50)=0A= =0A= If have supported, you should just exec "modprobe i40e" .=0A= =0A= Also you need to send out as a patch.=0A= =0A= Thanks,=0A= Michael=0A= > It has been verified in our testing performance l3fwd, That's ok.=0A= > But, If we do this We found Fortville testing only run one case, for e= xample L3fwd.=0A= >=0A= > If we run other cases in execution.cfg, such as pmd port map cannot ma= p always -1.=0A= > =0A= >=0A= > Best Regards=0A= > Xiaonan =0A= >=0A= > =0A= >=0A= > -----Original Message-----=0A= > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Qiu, Michael=0A= > Sent: Thursday, January 22, 2015 3:44 PM=0A= > To: Tang, HaifengX; dts@dpdk.org=0A= > Subject: Re: [dts] dts can not support one more different nics test in on= e configuration file=0A= >=0A= > On 1/22/2015 3:23 PM, Tang, HaifengX wrote:=0A= >> Hi all:=0A= >> Recently , I found that our dts cannot support one more different nics= test in one configuration file.=0A= >> Such as the following configuration:=0A= >>=0A= >> [Execution1]=0A= >> crbs=3D10.239.128.128=0A= > You'd better to remove this private info in public maillist :)=0A= >=0A= >> drivername=3Digb_uio=0A= >> test_suites=3D=0A= >> pmd,=0A= >> ipfrag,=0A= >>=0A= >> targets=3D=0A= >> x86_64-native-linuxapp-gcc=0A= >> parameters=3Dnic_type=3Dkawela_4:func=3Dtrue=0A= >>=0A= >> [Execution2]=0A= >> crbs=3D10.239.128.128=0A= > Here=0A= >=0A= >> drivername=3Digb_uio=0A= >> test_suites=3D=0A= >> pmd,=0A= >> ipfrag,=0A= >> targets=3D=0A= >> x86_64-native-linuxapp-gcc=0A= >> parameters=3Dnic_type=3Dspringville:func=3Dtrue=0A= > BTW, you'd better to supply the error log for others to debug.=0A= >=0A= > Thanks,=0A= > Michael=0A= >> Thanks,=0A= >> Haifeng=0A= >>=0A= >>=0A= >=0A= =0A=