From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 9371D5934 for ; Thu, 22 Jan 2015 11:31:35 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 22 Jan 2015 02:31:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,448,1418112000"; d="scan'208";a="665763744" Received: from pgsmsx107.gar.corp.intel.com ([10.221.44.105]) by fmsmga002.fm.intel.com with ESMTP; 22 Jan 2015 02:31:32 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by PGSMSX107.gar.corp.intel.com (10.221.44.105) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 22 Jan 2015 18:31:31 +0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.231]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.64]) with mapi id 14.03.0195.001; Thu, 22 Jan 2015 18:31:30 +0800 From: "Zhang, XiaonanX" To: "Qiu, Michael" , "Tang, HaifengX" , "dts@dpdk.org" Thread-Topic: [dts] dts can not support one more different nics test in one configuration file Thread-Index: AdA2E4p7IvjTszB7THuj09CvcRCvaAAGat8A Date: Thu, 22 Jan 2015 10:31:29 +0000 Message-ID: <63FB47D6C0357E428AA804B2C89068BA0128F6D0@SHSMSX104.ccr.corp.intel.com> References: <533710CFB86FA344BFBF2D6802E60286CB87CE@SHSMSX101.ccr.corp.intel.com> In-Reply-To: <533710CFB86FA344BFBF2D6802E60286CB87CE@SHSMSX101.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: Thu, 22 Jan 2015 10:31:36 -0000 Hi all, When I tested l3fwd performance on the fortville_spirit and fortville_ea= gle nic on Federal 21 and Federal20, I also met this problem. I think the question is about framework restore_interfaces function of = framework crb.py file and=20 I have been modified for fortvill testing due to Fedora20 kernel has bee= n supported i40e driver. Suggestion: Modifiy /framework/crb.py: def restore_interfaces(self): """ Restore Linux interfaces. """ if dts.drivername =3D=3D "vfio-pci": self.send_expect("rmmod vfio_iommu_type1", "# ", 10) self.send_expect("rmmod vfio_pci", "# ", 10) self.send_expect("rmmod vfio", "# ", 10) else: self.send_expect("rmmod igb_uio", "# ", 10) self.send_expect("modprobe igb", "# ", 20) self.send_expect("modprobe ixgbe", "# ", 20) self.send_expect("modprobe e1000e", "# ", 20) self.send_expect("modprobe e1000", "# ", 20) self.send_expect("modprobe virtio_net", "# ", 20) + self.send_expect("`insmod /usr/lib/modules/`uname -r`/kernel/driver= s/net/ethernet/intel/i40e/i40e.ko`", "# ", 50) It has been verified in our testing performance l3fwd, That's ok. But, If we do this We found Fortville testing only run one case, for exa= mple L3fwd. If we run other cases in execution.cfg, such as pmd port map cannot map = always -1. =20 Best Regards Xiaonan=20 =20 -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Qiu, Michael Sent: Thursday, January 22, 2015 3:44 PM To: Tang, HaifengX; dts@dpdk.org Subject: Re: [dts] dts can not support one more different nics test in one = configuration file On 1/22/2015 3:23 PM, Tang, HaifengX wrote: > Hi all: > Recently , I found that our dts cannot support one more different nics = test in one configuration file. > Such as the following configuration: > > [Execution1] > crbs=3D10.239.128.128 You'd better to remove this private info in public maillist :) > drivername=3Digb_uio > test_suites=3D > pmd, > ipfrag, > > targets=3D > x86_64-native-linuxapp-gcc > parameters=3Dnic_type=3Dkawela_4:func=3Dtrue > > [Execution2] > crbs=3D10.239.128.128 Here > drivername=3Digb_uio > test_suites=3D > pmd, > ipfrag, > targets=3D > x86_64-native-linuxapp-gcc > parameters=3Dnic_type=3Dspringville:func=3Dtrue BTW, you'd better to supply the error log for others to debug. Thanks, Michael > Thanks, > Haifeng > >