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 C0553A09E5; Tue, 8 Dec 2020 11:03:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 056D7C9B4; Tue, 8 Dec 2020 11:03:52 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id B071EC8FA for ; Tue, 8 Dec 2020 11:03:50 +0100 (CET) IronPort-SDR: ekaHT5Ixqhhe2mokIcOdVVu8X/CAThEwC5doHu4weqxSmVKotvYGDgdsJuxxkOEDoVGG4Wd8de 6L+93srTMtaw== X-IronPort-AV: E=McAfee;i="6000,8403,9828"; a="171293374" X-IronPort-AV: E=Sophos;i="5.78,402,1599548400"; d="scan'208";a="171293374" 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:48 -0800 IronPort-SDR: sR/KEkV70/Ql1551xJI9lhJFCWcQBXvIIIXbg2diOhvQTMXrh0MD2EMoOSa+w4FAWvYg3uqwik c10LVXdsOG4A== X-IronPort-AV: E=Sophos;i="5.78,402,1599548400"; d="scan'208";a="363575699" 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:47 -0800 From: Zhou Jun To: dts@dpdk.org Cc: Zhou Jun Date: Tue, 8 Dec 2020 18:06:09 +0800 Message-Id: <20201208100627.9792-11-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 10/28] tests/TestSuite_l2fwd_jobstats: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_l2fwd_jobstats.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_l2fwd_jobstats.py b/tests/TestSuite_l2fwd_jobstats.py index c00e39c1..6c104168 100644 --- a/tests/TestSuite_l2fwd_jobstats.py +++ b/tests/TestSuite_l2fwd_jobstats.py @@ -56,6 +56,7 @@ class TestL2fwdJobstats(TestCase): cores = self.dut.get_core_list("1S/4C/1T") self.coremask = utils.create_mask(cores) + self.eal_para = self.dut.create_eal_parameters(cores='1S/4C/1T') dut_port0 = self.dut_ports[0] dut_port1 = self.dut_ports[1] self.tx_ports = [dut_port0, dut_port1] @@ -76,7 +77,7 @@ class TestL2fwdJobstats(TestCase): Verify l2fwd jobstats is correct """ path = self.dut.apps_name["l2fwd-jobstats"] - cmd = path + " -c %s -n 4 -- -q 2 -p 0x03 -l" % (self.coremask) + cmd = path + " %s -- -q 2 -p 0x03 -l" % (self.eal_para) self.dut.send_expect(cmd, "Port statistics", 60) self.scapy_send_packet(100000) -- 2.17.1