From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id E2ABBA05D3 for ; Thu, 25 Apr 2019 04:08:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9E25F1B53C; Thu, 25 Apr 2019 04:08:18 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id A640F1B536 for ; Thu, 25 Apr 2019 04:08:17 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Apr 2019 19:08:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,392,1549958400"; d="scan'208";a="153539643" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by orsmga002.jf.intel.com with ESMTP; 24 Apr 2019 19:08:15 -0700 From: zhuwenhui To: dts@dpdk.org Cc: zhuwenhui Date: Thu, 25 Apr 2019 10:12:38 +0800 Message-Id: <1556158358-8416-1-git-send-email-wenhuix.zhu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/dynamic_queue add more cores for testpmd 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" When fortville spirit binds multiple ports, starting testpmd requires more cores. Signed-off-by: zhuwenhui --- tests/TestSuite_dynamic_queue.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/TestSuite_dynamic_queue.py b/tests/TestSuite_dynamic_queue.py index 3aad63f..e07efa8 100644 --- a/tests/TestSuite_dynamic_queue.py +++ b/tests/TestSuite_dynamic_queue.py @@ -27,12 +27,11 @@ class TestDynamicQueue(TestCase): self.dut_testpmd = PmdOutput(self.dut) def set_up(self): - # Because of fortville spirit limitation,can't use 2 ports for testing + # Fortville_spirit needs more cores to run properly if (self.nic in ["fortville_spirit"]): self.dut_testpmd.start_testpmd( - "Default", "--port-topology=chained --txq=%s --rxq=%s" - % (self.PF_QUEUE, self.PF_QUEUE), eal_param="-w %s" - % (self.dut.get_port_pci(self.dut_ports[0]))) + "1S/7C/1T", "--port-topology=chained --txq=%s --rxq=%s" + % (self.PF_QUEUE, self.PF_QUEUE)) elif (self.nic in ["cavium_a063"]): eal_opts = "" for port in self.dut_ports: -- 2.17.2