From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 84E26A09E5; Tue, 8 Dec 2020 11:03:56 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C2461C906; Tue, 8 Dec 2020 11:03:49 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id CEA3EC962 for ; Tue, 8 Dec 2020 11:03:47 +0100 (CET) IronPort-SDR: EPa/x2HKQg3zBe1ivNjFP3+yRJx4ubgsWLCFm0BgWqAszZSmUouHXfJWi2Y4EnR84o5HcEjQda ohipgi5sSH2Q== X-IronPort-AV: E=McAfee;i="6000,8403,9828"; a="171293372" X-IronPort-AV: E=Sophos;i="5.78,402,1599548400"; d="scan'208";a="171293372" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Dec 2020 02:03:47 -0800 IronPort-SDR: 6vrYc0lLX8pUa/+DgRcyRsh0C5VjS+lP6kjTGoB1q9Yo7b0nps59Cuo5ZGKUWMRzEuXvLLT8AW zdM/XEXkolnA== X-IronPort-AV: E=Sophos;i="5.78,402,1599548400"; d="scan'208";a="363575677" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Dec 2020 02:03:46 -0800 From: Zhou Jun To: dts@dpdk.org Cc: Zhou Jun Date: Tue, 8 Dec 2020 18:06:08 +0800 Message-Id: <20201208100627.9792-10-junx.w.zhou@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201208100627.9792-1-junx.w.zhou@intel.com> References: <20201208100627.9792-1-junx.w.zhou@intel.com> Subject: [dts] [dts 09/28] tests/TestSuite_kni:Modify the hard coded app parameter to call the platform interface 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Signed-off-by: Zhou Jun --- tests/TestSuite_kni.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_kni.py b/tests/TestSuite_kni.py index a65fbf46..0a300539 100644 --- a/tests/TestSuite_kni.py +++ b/tests/TestSuite_kni.py @@ -341,9 +341,11 @@ class TestKni(TestCase): config_param = self.build_config_param() + eal_para = self.dut.create_eal_parameters( + cores=self.config['rx_cores'] + self.config['tx_cores'] + self.config['kernel_cores']) out_kni = self.dut.send_expect( - './%s -c %s -n %d -- -P -p %s %s -m &' % - (self.app_kni_path, core_mask, self.dut.get_memory_channels(), port_mask, config_param), + './%s %s -- -P -p %s %s -m &' % + (self.app_kni_path, eal_para, port_mask, config_param), "Link [Uu]p", 20) time.sleep(5) -- 2.17.1