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 6161D45B5D; Thu, 17 Oct 2024 13:14:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 50CB740652; Thu, 17 Oct 2024 13:14:14 +0200 (CEST) Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) by mails.dpdk.org (Postfix) with ESMTP id CD58540651 for ; Thu, 17 Oct 2024 13:14:12 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.19.162.112]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4XTlYg3kjnz1j9v4; Thu, 17 Oct 2024 19:12:55 +0800 (CST) Received: from dggpeml500022.china.huawei.com (unknown [7.185.36.66]) by mail.maildlp.com (Postfix) with ESMTPS id D6345140109; Thu, 17 Oct 2024 19:14:10 +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; Thu, 17 Oct 2024 19:14:09 +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; Thu, 17 Oct 2024 13:14:07 +0200 From: Konstantin Ananyev To: "lihuisong (C)" , "dev@dpdk.org" , "david.hunt@intel.com" 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: AQHbBL5PYtWVmPjHwkSQAsh0iuWoF7KGGvXAgAFi1ACAATQkAIABmpsAgACzy5A= Date: Thu, 17 Oct 2024 11:14:07 +0000 Message-ID: <3b328b9915734a9c8065a6359a794252@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> <979edbe7eb4044c898f2a63bda781690@huawei.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.206.138.42] 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 DQo+ID4NCj4gPj4+PiBBZGQgUE0gUW9TIGNvbmZpZ3VyYXRpb24gdG8gZGVjbGVhc2UgdGhlIGRl bGF5IGFmdGVyIHNsZWVwIGluIGNhc2Ugb2YNCj4gPj4+PiBlbnRlcmluZyBkZWVwZXIgaWRsZSBz dGF0ZS4NCj4gPj4+Pg0KPiA+Pj4+IFNpZ25lZC1vZmYtYnk6IEh1aXNvbmcgTGkgPGxpaHVpc29u Z0BodWF3ZWkuY29tPg0KPiA+Pj4+IEFja2VkLWJ5OiBNb3J0ZW4gQnLDuHJ1cCA8bWJAc21hcnRz aGFyZXN5c3RlbXMuY29tPg0KPiA+Pj4+IC0tLQ0KPiA+Pj4+ICAgIGV4YW1wbGVzL2wzZndkLXBv d2VyL21haW4uYyB8IDI0ICsrKysrKysrKysrKysrKysrKysrKysrKw0KPiA+Pj4+ICAgIDEgZmls ZSBjaGFuZ2VkLCAyNCBpbnNlcnRpb25zKCspDQo+ID4+Pj4NCj4gPj4+PiBkaWZmIC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