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 1B2F4C63E for ; Tue, 28 Apr 2015 16:56:46 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 28 Apr 2015 07:56:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,664,1422950400"; d="scan'208";a="717151426" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga002.fm.intel.com with ESMTP; 28 Apr 2015 07:56:46 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t3SEuh4Y029890; Tue, 28 Apr 2015 22:56:43 +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 t3SEuf9J006855; Tue, 28 Apr 2015 22:56:43 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t3SEueYr006851; Tue, 28 Apr 2015 22:56:40 +0800 From: Yong Liu To: dts@dpdk.org Date: Tue, 28 Apr 2015 22:56:31 +0800 Message-Id: <1430232992-6798-4-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1430232992-6798-1-git-send-email-yong.liu@intel.com> References: <1430232992-6798-1-git-send-email-yong.liu@intel.com> Subject: [dts] [PATCH 3/4] framework: change alt session name for easy to distinguish 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, 28 Apr 2015 14:56:47 -0000 From: Marvin Liu Signed-off-by: Marvin Liu --- framework/dut.py | 4 ++-- framework/tester.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/dut.py b/framework/dut.py index e186d99..5b7aba2 100644 --- a/framework/dut.py +++ b/framework/dut.py @@ -64,7 +64,7 @@ class Dut(Crb): self.session = SSHConnection(self.get_ip_address(), self.NAME, self.get_password()) self.session.init_log(self.logger) - self.alt_session = SSHConnection(self.get_ip_address(), self.NAME, + self.alt_session = SSHConnection(self.get_ip_address(), self.NAME + '_alt', self.get_password()) self.alt_session.init_log(self.logger) self.number_of_cores = 0 @@ -232,7 +232,7 @@ class Dut(Crb): if int(hugepages_size) < (1024 * 1024): if self.architecture == "x86_64": - arch_huge_pages = hugepages if hugepages > 0 else 1024 + arch_huge_pages = hugepages if hugepages > 0 else 4096 elif self.architecture == "i686": arch_huge_pages = hugepages if hugepages > 0 else 512 # set huge pagesize for x86_x32 abi target diff --git a/framework/tester.py b/framework/tester.py index 2debcd6..aba0356 100644 --- a/framework/tester.py +++ b/framework/tester.py @@ -64,7 +64,7 @@ class Tester(Crb): self.NAME, self.get_password()) self.session.init_log(self.logger) self.alt_session = SSHConnection(self.get_ip_address(), - self.NAME, self.get_password()) + self.NAME + '_alt', self.get_password()) self.alt_session.init_log(self.logger) self.bgProcIsRunning = False -- 1.9.3