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 523BF45CC8; Wed, 13 Nov 2024 02:10:45 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1691040290; Wed, 13 Nov 2024 02:10:45 +0100 (CET) Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by mails.dpdk.org (Postfix) with ESMTP id F186D40265 for ; Wed, 13 Nov 2024 02:10:38 +0100 (CET) Received: from mail.maildlp.com (unknown [172.19.88.105]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4Xp4sN1mLkz1TB92; Wed, 13 Nov 2024 09:08:08 +0800 (CST) Received: from dggemv703-chm.china.huawei.com (unknown [10.3.19.46]) by mail.maildlp.com (Postfix) with ESMTPS id CBC081401F4; Wed, 13 Nov 2024 09:10:36 +0800 (CST) Received: from kwepemn100009.china.huawei.com (7.202.194.112) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 13 Nov 2024 09:10:36 +0800 Received: from localhost.localdomain (10.28.79.22) by kwepemn100009.china.huawei.com (7.202.194.112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Wed, 13 Nov 2024 09:10:35 +0800 From: Huisong Li To: CC: , , , , , , , Subject: [PATCH v3] power: fix a typo in the PM QoS guide Date: Wed, 13 Nov 2024 08:59:29 +0800 Message-ID: <20241113005929.27770-1-lihuisong@huawei.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20241111125249.9824-1-lihuisong@huawei.com> References: <20241111125249.9824-1-lihuisong@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.28.79.22] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemn100009.china.huawei.com (7.202.194.112) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The typo in the guide is hard to understand. Necessary to fix it. Fixes: dd6fd75bf662 ("power: introduce PM QoS API on CPU wide") Signed-off-by: Huisong Li --- doc/guides/prog_guide/power_man.rst | 2 +- lib/power/rte_power_qos.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/guides/prog_guide/power_man.rst b/doc/guides/prog_guide/power_man.rst index 22e6e4fe1d..74039e5786 100644 --- a/doc/guides/prog_guide/power_man.rst +++ b/doc/guides/prog_guide/power_man.rst @@ -118,7 +118,7 @@ based on this CPU resume latency in their idle task. The deeper the idle state, the lower the power consumption, but the longer the resume time. -Some services are latency sensitive and very except the low resume time, +Some services are latency sensitive and request a low resume time, like interrupt packet receiving mode. Applications can set and get the CPU resume latency with diff --git a/lib/power/rte_power_qos.h b/lib/power/rte_power_qos.h index 7a8dab9272..05a3f51ae2 100644 --- a/lib/power/rte_power_qos.h +++ b/lib/power/rte_power_qos.h @@ -24,8 +24,8 @@ extern "C" { * https://www.kernel.org/doc/html/latest/admin-guide/abi-testing.html?highlight=pm_qos_resume_latency_us#abi-sys-devices-power-pm-qos-resume-latency-us * * The deeper the idle state, the lower the power consumption, but the - * longer the resume time. Some service are delay sensitive and very except the - * low resume time, like interrupt packet receiving mode. + * longer the resume time. Some services are latency sensitive and request + * a low resume time, like interrupt packet receiving mode. * * In these case, per-CPU PM QoS API can be used to control this CPU's idle * state selection and limit just enter the shallowest idle state to low the -- 2.22.0