From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A506BA034D; Wed, 12 Jan 2022 06:52:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7FD2B411C3; Wed, 12 Jan 2022 06:52:03 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 79F6640141 for ; Wed, 12 Jan 2022 06:52:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641966722; x=1673502722; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=KCN65tGlQIuBS/a83xPVnGFb2Wlu4lGl23Y9ybA2OP0=; b=Ge2XMh0IL1shHqPu1mTXMGO3z4q+y2o3xuQVPjNcUCmCWt43jsMyPlWM YgViHbxwoRsVUzxAosghiZx/qW93QxuH2B3OPqcCx0pn9MY2/HYaFsR7o VcCdCFJe5nmfHKM8vWG3/U42tL1L7fNPImKv5vU/h6Rodr39gRTi8iU2B lmtSfufYIa26qxnj/0CNmEFBMgwX0uQj+54Y215oAtjiYbtkTnuhkq7jQ XkOUvzBbO2N7qaZJlPbaXkFWqedyjOeyWJoT16IoLvbbaP813WcvGK5R1 I97Az2cyttAH9k1W6+jXbfG/u9GyV91i6gO7EYo2ufMuxm+oR99Z2gdyF A==; X-IronPort-AV: E=McAfee;i="6200,9189,10224"; a="231006406" X-IronPort-AV: E=Sophos;i="5.88,282,1635231600"; d="scan'208";a="231006406" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2022 21:52:01 -0800 X-IronPort-AV: E=Sophos;i="5.88,282,1635231600"; d="scan'208";a="515361596" Received: from unknown (HELO localhost.localdomain) ([10.239.251.247]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2022 21:52:00 -0800 From: "peng,zhang" To: dts@dpdk.org Cc: "peng,zhang" , peng@dpdk.org Subject: [dts] [PATCH V1] test_plans/vmdq_test_plan:modify testplan and testcase Date: Wed, 12 Jan 2022 13:54:46 +0800 Message-Id: <20220112055446.213883-1-peng1x.zhang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 Delete useless change of 'MAX_QUEUES' for testplan and testcase because the 'MAX_QUEUES' is already 1024 in current dpdk. Signed-off-by: peng,zhang --- test_plans/vmdq_test_plan.rst | 5 ----- tests/TestSuite_vmdq.py | 2 -- 2 files changed, 7 deletions(-) diff --git a/test_plans/vmdq_test_plan.rst b/test_plans/vmdq_test_plan.rst index 2734b0c0..ef64823c 100644 --- a/test_plans/vmdq_test_plan.rst +++ b/test_plans/vmdq_test_plan.rst @@ -67,11 +67,6 @@ Prerequisites 52:54:00:12:[port_index]:00 to 52:54:00:12:[port_index]:3e and the VLAN user priority field increments from 0 to 7 (inclusive) for each VLAN ID. In our case port_index = 0 or 1. --Case config:: - If test max queues per port 1024, need to set the "CONFIG_RTE_MAX_QUEUES_PER_PORT=1024" in ./config/common_base, - and need to set the "define MAX_QUEUES 1024" in ./examples/vmdq/main.c and re-build DPDK. - Note: different NIC, the MAX_QUEUES is different, eg: Fortville is 1024. - Test Case: Measure VMDQ pools queues ------------------------------------ 1. Put different number of pools: in the case of 10G 82599 Nic is 64, in the case diff --git a/tests/TestSuite_vmdq.py b/tests/TestSuite_vmdq.py index 1c8671b5..83da6be0 100644 --- a/tests/TestSuite_vmdq.py +++ b/tests/TestSuite_vmdq.py @@ -57,8 +57,6 @@ class TestVmdq(TestCase): self.ports_socket = self.dut.get_numa_id(self.dut_ports[0]) self.dut.build_install_dpdk(self.target) - # Update the max queue per port for Fortville. - self.dut.send_expect("sed -i 's/define MAX_QUEUES 128/define MAX_QUEUES 1024/' ./examples/vmdq/main.c", "#", 5) # out = self.dut.send_expect("make -C examples/vmdq", "#", 10) out = self.dut.build_dpdk_apps('examples/vmdq') self.verify("Error" not in out, "Compilation error") -- 2.25.1