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 5CFE9A0548; Fri, 23 Apr 2021 12:14:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2A6B0410DD; Fri, 23 Apr 2021 12:14:30 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 914E74014F for ; Fri, 23 Apr 2021 12:14:28 +0200 (CEST) IronPort-SDR: Y/0Xl7WkYqe0sxT0UjCw1vfZqHOceyWI5XcmCXMAbfqqjVpXcXDLNkiX6n+BDSbTdaQJ/Wqjus fMe0zTZ7B08w== X-IronPort-AV: E=McAfee;i="6200,9189,9962"; a="195602972" X-IronPort-AV: E=Sophos;i="5.82,245,1613462400"; d="scan'208";a="195602972" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2021 03:14:23 -0700 IronPort-SDR: GxM4bW9a9NzhwUsJOevLq1evFCd8XMU3VuQ/ZmIYaSeWbqi8WwkklPmQaylHf5v6EwntFN7XFV E+5a5ZuGXvyg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,245,1613462400"; d="scan'208";a="446547642" Received: from silpixa00400895.ir.intel.com ([10.243.23.135]) by fmsmga004.fm.intel.com with ESMTP; 23 Apr 2021 03:14:21 -0700 From: Zbigniew Sikora To: dts@dpdk.org, zbigniewx.sikora@intel.com, reshma.pattan@intel.com Date: Fri, 23 Apr 2021 12:14:20 +0200 Message-Id: <20210423101420.2991473-1-zbigniewx.sikora@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [dts] [PATCH] vm_pw_mgmt_policy: fixes core mask and driver 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 Sender: "dts" 1. Now vm_power_manager only grants access to the cores listed in its coremask, so change core number to be the one from vm_power_mgr core mask. 2. Replaced driver igb_uio to vfio-pci 3. Resetsynchronize system clock after the test completion. Relevant DPDK patch: http://patches.dpdk.org/project/dpdk/patch/20210115125250.22416-1-david.hunt@intel.com/ Signed-off-by: Zbigniew Sikora diff --git a/test_plans/vm_pw_mgmt_policy_test_plan.rst b/test_plans/vm_pw_mgmt_policy_test_plan.rst index cfbfe96..98894ff 100644 --- a/test_plans/vm_pw_mgmt_policy_test_plan.rst +++ b/test_plans/vm_pw_mgmt_policy_test_plan.rst @@ -172,7 +172,7 @@ Set up testing environment export RTE_TARGET=x86_64-native-linuxapp-gcc make -C examples/vm_power_manager - ./examples/vm_power_manager/build/vm_power_mgr -c 0x7 -n 4 + ./examples/vm_power_manager/build/vm_power_mgr -c 0xffff -n 4 vmpower> add_vm vmpower> add_channels all @@ -195,7 +195,7 @@ Set up testing environment make -C examples/vm_power_manager/guest_cli ./examples/vm_power_manager/guest_cli/build/guest_vm_power_mgr \ - -c 0x1f -n 4 --file-prefix=vmpower2 -- -i --vm-name= \ + -c 0xff -n 4 --file-prefix=vmpower2 -- -i --vm-name= \ --policy= --vcpu-list= --busy-hours=