From patchwork Tue Dec 8 10:06:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhou, JunX W" X-Patchwork-Id: 84796 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3F800A09E5; Tue, 8 Dec 2020 11:03:55 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 942DEC9AC; Tue, 8 Dec 2020 11:03:48 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id C93AFC926 for ; Tue, 8 Dec 2020 11:03:46 +0100 (CET) IronPort-SDR: tqvtnJRjMm/tZRahoh5HDM474JCQCgWZLC/v8aVlVKRUCCHxuIUE1Kccl1Gl445jgLUs4vm6iz qt3qQG3L46HA== X-IronPort-AV: E=McAfee;i="6000,8403,9828"; a="171293366" X-IronPort-AV: E=Sophos;i="5.78,402,1599548400"; d="scan'208";a="171293366" 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:46 -0800 IronPort-SDR: zwKoSHszkjMl1w7IXm7c5NFeIo9jDgSz+iQ4Mc+IS7ha/vjFtasuZ1LUm9X8QpbStUlFPBIte/ NH7lKVZ6aaqA== X-IronPort-AV: E=Sophos;i="5.78,402,1599548400"; d="scan'208";a="363575656" 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:44 -0800 From: Zhou Jun To: dts@dpdk.org Cc: Zhou Jun Date: Tue, 8 Dec 2020 18:06:07 +0800 Message-Id: <20201208100627.9792-9-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 08/28] tests/TestSuite_keep_alive: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_keep_alive.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_keep_alive.py b/tests/TestSuite_keep_alive.py index 7bee4f03..4d350d79 100644 --- a/tests/TestSuite_keep_alive.py +++ b/tests/TestSuite_keep_alive.py @@ -67,8 +67,9 @@ class TestKeepAlive(TestCase): def test_keep_alive(self): """ Verify netmap compatibility with one port - """ - cmd = self.app_l2fwd_keepalive_path + " -c f -n 4 -- -q 8 -p ffff -K 10" + """ + eal_para = self.dut.create_eal_parameters(cores=list(range(4))) + cmd = self.app_l2fwd_keepalive_path + " %s -- -q 8 -p ffff -K 10" % eal_para self.dut.send_expect(cmd,"Port statistics",60)