From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 900AFB3E1 for ; Thu, 5 Feb 2015 02:32:25 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 04 Feb 2015 17:32:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="450004424" Received: from kmsmsx153.gar.corp.intel.com ([172.21.73.88]) by FMSMGA003.fm.intel.com with ESMTP; 04 Feb 2015 17:18:09 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by KMSMSX153.gar.corp.intel.com (172.21.73.88) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 5 Feb 2015 09:32:21 +0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.91]) by shsmsx102.ccr.corp.intel.com ([169.254.2.124]) with mapi id 14.03.0195.001; Thu, 5 Feb 2015 09:32:20 +0800 From: "Liu, Yong" To: "dts@dpdk.org" Thread-Topic: [PATCH v2 0/4] Support additional port configuration file Thread-Index: AQHQQEXvt15M+hlyhEma+Q1L3NseSpzhRm0g Date: Thu, 5 Feb 2015 01:32:21 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10D6AF4C@SHSMSX103.ccr.corp.intel.com> References: <1423032214-19856-1-git-send-email-yong.liu@intel.com> In-Reply-To: <1423032214-19856-1-git-send-email-yong.liu@intel.com> Accept-Language: zh-CN, 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] [PATCH v2 0/4] Support additional port 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, 05 Feb 2015 01:32:26 -0000 Applied in next branch, will be merged into master branch after fully teste= d.=20 > -----Original Message----- > From: Liu, Yong > Sent: Wednesday, February 04, 2015 2:44 PM > To: dts@dpdk.org > Cc: Liu, Yong > Subject: [PATCH v2 0/4] Support additional port configuration file >=20 > This patch set will implement new module to support additional port confi= g > file. In port config file, users can specified NICs' macaddress, interfac= e, > numa id or peer tester pci device. Thus will support users deploy their > own > NIC validation even their NICs not supported in kernel. >=20 > In this patch set, DUT and Tester port initialize sequence will also be > reorganized. Now DUT port initialization sequence will be > scan,restore,rescan, > check with port config. Tester port initialization will only make sure al= l > interface up. >=20 > This patch now only support Linux OS, will implement in FreeBSD later. >=20 > v2 changes: > * Uniform load port conf function. > * Inform user that NIC driver not found in DTS. > * Fix bug port numa not cover to integer. >=20 > Yong Liu (4): > framework: add new module for load port configuration file > framework: execuction file support port config nic_type > framework: reorganize DUT and Tester port initialize sequence > suites: remove nic type check from testsuites >=20 > conf/ports.cfg | 9 ++ > execution.cfg | 2 +- > framework/config.py | 96 ++++++++++++++++++++ > framework/crb.py | 66 ++++---------- > framework/dts.py | 62 +++++++------ > framework/dut.py | 172 +++++++++++++++++++++++++-----= - > ----- > framework/project_dpdk.py | 22 ++--- > framework/ssh_connection.py | 2 +- > framework/tester.py | 32 ++++++- > tests/TestSuite_blacklist.py | 2 +- > tests/TestSuite_checksum_offload.py | 2 +- > tests/TestSuite_fdir.py | 16 ++-- > tests/TestSuite_ieee1588.py | 6 +- > tests/TestSuite_ip_pipeline.py | 2 +- > tests/TestSuite_ipfrag.py | 2 +- > tests/TestSuite_jumboframes.py | 2 +- > tests/TestSuite_l2fwd.py | 2 +- > tests/TestSuite_l3fwd.py | 6 +- > tests/TestSuite_link_flowctrl.py | 2 +- > tests/TestSuite_multiprocess.py | 2 +- > tests/TestSuite_pmd.py | 4 +- > tests/TestSuite_pmd_bonded.py | 2 +- > tests/TestSuite_vlan.py | 3 +- > tests/TestSuite_whitelist.py | 2 +- > 24 files changed, 345 insertions(+), 173 deletions(-) > create mode 100644 conf/ports.cfg > create mode 100755 framework/config.py >=20 > -- > 1.9.3