From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 53F50A04B7; Wed, 14 Oct 2020 11:18:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 31F401DB4A; Wed, 14 Oct 2020 11:18:01 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id C7B6D1D9A8 for ; Wed, 14 Oct 2020 11:17:58 +0200 (CEST) IronPort-SDR: /vFbvIcqyLEdt3mKToGiYHzW02lqQ8WzexkEpmdcnTqqZSGFbyNCHHba64CLO2eo8GiDCxEKe9 UL/jCUk2plwA== X-IronPort-AV: E=McAfee;i="6000,8403,9773"; a="145932517" X-IronPort-AV: E=Sophos;i="5.77,374,1596524400"; d="scan'208";a="145932517" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2020 02:17:56 -0700 IronPort-SDR: 55z6iigM5Oh+ipkhBohn+0/5ppgjYP4WjIHPrUorcPSEnLjTAkAxs40nFa3kljNAhL0vO42L9w bIjOpitBUFiw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,374,1596524400"; d="scan'208";a="299871483" Received: from irsmsx605.ger.corp.intel.com ([163.33.146.138]) by fmsmga008.fm.intel.com with ESMTP; 14 Oct 2020 02:17:56 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by IRSMSX605.ger.corp.intel.com (163.33.146.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 14 Oct 2020 10:17:54 +0100 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.1713.004; Wed, 14 Oct 2020 17:17:52 +0800 From: "Guo, Jia" To: "Burakov, Anatoly" , "dev@dpdk.org" CC: "Ma, Liang J" , "Xing, Beilei" , "Hunt, David" , "Ananyev, Konstantin" , "jerinjacobk@gmail.com" , "Richardson, Bruce" , "thomas@monjalon.net" , "McDaniel, Timothy" , "Eads, Gage" , "Macnamara, Chris" Thread-Topic: [PATCH v5 07/10] net/i40e: implement power management API Thread-Index: AQHWnlWnz+hOlZZoikSpZVr0rlOZ3amWc1+Q///c+YCAAIgkMA== Date: Wed, 14 Oct 2020 09:17:52 +0000 Message-ID: <801bbaee3b8c485cbbc6b3d3af18d6d2@intel.com> References: <1601647919-25312-1-git-send-email-liang.j.ma@intel.com> <78bfa354463be2c3560ee97c369ae7266e0fb50f.1602258833.git.anatoly.burakov@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5 07/10] net/i40e: implement power management API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEJ1cmFrb3YsIEFuYXRvbHkg PGFuYXRvbHkuYnVyYWtvdkBpbnRlbC5jb20+DQo+IFNlbnQ6IFdlZG5lc2RheSwgT2N0b2JlciAx NCwgMjAyMCA1OjA4IFBNDQo+IFRvOiBHdW8sIEppYSA8amlhLmd1b0BpbnRlbC5jb20+OyBkZXZA ZHBkay5vcmcNCj4gQ2M6IE1hLCBMaWFuZyB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