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 65B495AC7 for ; Fri, 23 Jan 2015 09:27:17 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 23 Jan 2015 00:27:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="444087769" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 23 Jan 2015 00:13:39 -0800 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t0N8R2b5026552; Fri, 23 Jan 2015 16:27:02 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t0N8R0AU027147; Fri, 23 Jan 2015 16:27:02 +0800 Received: (from dayuqiu@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t0N8R0dr027143; Fri, 23 Jan 2015 16:27:00 +0800 From: Marvin Liu To: dts@dpdk.org Date: Fri, 23 Jan 2015 16:26:55 +0800 Message-Id: <1422001619-27112-1-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dts] [PATCH 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: Fri, 23 Jan 2015 08:27:17 -0000 From: Yong Liu This patch set will implement new module to support additional port config file. In port config file, users can specified NICs' macaddress, interface, numa id or peer tester pci device. Thus will support users deploy their own NIC validation even their NICs not supported in kernel. 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 all interface up. This patch now only support Linux OS, will implement in FreeBSD later. 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 conf/ports.cfg | 4 + execution.cfg | 2 +- framework/config.py | 93 ++++++++++++++++++ framework/crb.py | 53 +++-------- framework/dts.py | 62 +++++++----- framework/dut.py | 181 +++++++++++++++++++++++++++--------- framework/project_dpdk.py | 22 ++--- framework/tester.py | 30 ++++++ 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 +- 23 files changed, 352 insertions(+), 150 deletions(-) create mode 100644 conf/ports.cfg create mode 100755 framework/config.py -- 1.9.3