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 8E36A45B48; Wed, 16 Oct 2024 02:24:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1B309402D8; Wed, 16 Oct 2024 02:24:51 +0200 (CEST) Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) by mails.dpdk.org (Postfix) with ESMTP id 1025E402B8 for ; Wed, 16 Oct 2024 02:24:48 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.19.88.163]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4XSsBr6WbCz1j9q2; Wed, 16 Oct 2024 08:23:32 +0800 (CST) Received: from dggpeml500022.china.huawei.com (unknown [7.185.36.66]) by mail.maildlp.com (Postfix) with ESMTPS id 63DD5180043; Wed, 16 Oct 2024 08:24:46 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by dggpeml500022.china.huawei.com (7.185.36.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 16 Oct 2024 08:24:45 +0800 Received: from frapeml500007.china.huawei.com ([7.182.85.172]) by frapeml500007.china.huawei.com ([7.182.85.172]) with mapi id 15.01.2507.039; Wed, 16 Oct 2024 02:24:43 +0200 From: Konstantin Ananyev To: "lihuisong (C)" , "dev@dpdk.org" CC: "mb@smartsharesystems.com" , "thomas@monjalon.net" , "ferruh.yigit@amd.com" , "anatoly.burakov@intel.com" , "david.hunt@intel.com" , "sivaprasad.tummala@amd.com" , "stephen@networkplumber.org" , "david.marchand@redhat.com" , Fengchengwen , liuyonglong Subject: RE: [PATCH v10 2/2] examples/l3fwd-power: add PM QoS configuration Thread-Topic: [PATCH v10 2/2] examples/l3fwd-power: add PM QoS configuration Thread-Index: AQHbBL5PYtWVmPjHwkSQAsh0iuWoF7KGGvXAgAFi1ACAATQkAA== Date: Wed, 16 Oct 2024 00:24:43 +0000 Message-ID: <979edbe7eb4044c898f2a63bda781690@huawei.com> References: <20240320105529.5626-1-lihuisong@huawei.com> <20240912023812.30885-1-lihuisong@huawei.com> <20240912023812.30885-3-lihuisong@huawei.com> <730159b83622413f9f0ed77b78a96323@huawei.com> <1b2a3bc1-49ac-a0cf-cc32-0ae4ba71adb4@huawei.com> In-Reply-To: <1b2a3bc1-49ac-a0cf-cc32-0ae4ba71adb4@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.48.153.33] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 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 DQoNCj4gPj4gQWRkIFBNIFFvUyBjb25maWd1cmF0aW9uIHRvIGRlY2xlYXNlIHRoZSBkZWxheSBh ZnRlciBzbGVlcCBpbiBjYXNlIG9mDQo+ID4+IGVudGVyaW5nIGRlZXBlciBpZGxlIHN0YXRlLg0K PiA+Pg0KPiA+PiBTaWduZWQtb2ZmLWJ5OiBIdWlzb25nIExpIDxsaWh1aXNvbmdAaHVhd2VpLmNv bT4NCj4gPj4gQWNrZWQtYnk6IE1vcnRlbiBCcsO4cnVwIDxtYkBzbWFydHNoYXJlc3lzdGVtcy5j b20+DQo+ID4+IC0tLQ0KPiA+PiAgIGV4YW1wbGVzL2wzZndkLXBvd2VyL21haW4uYyB8IDI0ICsr KysrKysrKysrKysrKysrKysrKysrKw0KPiA+PiAgIDEgZmlsZSBjaGFuZ2VkLCAyNCBpbnNlcnRp b25zKCspDQo+ID4+DQo+ID4+IGRpZmYgLS1naXQgYS9leGFtcGxlcy9sM2Z3ZC1wb3dlci9tYWlu LmMgYi9leG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