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 470D9A0A02; Tue, 4 May 2021 19:40:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CA2CB4014D; Tue, 4 May 2021 19:40:41 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 5420340147 for ; Tue, 4 May 2021 19:40:40 +0200 (CEST) IronPort-SDR: CY24qjb2qRock8wxzY0p9mOC/5bP1//KAKnUQSz9jSvs46kE2ctt31EDvc65dQQsyh9gU/G75C i0Rk9iz6LcMw== X-IronPort-AV: E=McAfee;i="6200,9189,9974"; a="259321426" X-IronPort-AV: E=Sophos;i="5.82,272,1613462400"; d="scan'208";a="259321426" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2021 10:40:38 -0700 IronPort-SDR: e92gDDKgXE9kSgmQkFNFefnlf6EhUAQLLAEmBBYs1WPqd9Pwa33CmekzKOUoXKr/VVZYBML1wn 7XOQ75VgQClg== X-IronPort-AV: E=Sophos;i="5.82,272,1613462400"; d="scan'208";a="433386461" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.243.109]) ([10.213.243.109]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2021 10:40:34 -0700 To: David Hunt , Anatoly Burakov Cc: rasland@nvidia.com, matan@nvidia.com, viacheslavo@nvidia.com, leif.y.johansson@ericsson.com, Alexander Kozyrev , dev@dpdk.org, Andrew Rybchenko , Thomas Monjalon References: <20210408032554.20255-1-akozyrev@nvidia.com> <20210429145518.20999-1-akozyrev@nvidia.com> From: Ferruh Yigit X-User: ferruhy Message-ID: <58e9e3da-4b88-877c-934c-6b57387b3440@intel.com> Date: Tue, 4 May 2021 18:40:30 +0100 MIME-Version: 1.0 In-Reply-To: <20210429145518.20999-1-akozyrev@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v3] net/mlx5: add power monitoring support 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 Sender: "dev" On 4/29/2021 3:55 PM, Alexander Kozyrev wrote: > Support the PMD power management API in MLX5 driver. > The monitor policy of this API puts a CPU core to sleep until > a data in some monitored memory address is changed by the NIC. > Implement the get_monitor_addr function to return an address > of a CQE owner bit to monitor the arrival of a new packet. > > Signed-off-by: Alexander Kozyrev Hi David, Anatoly, What to you think adding "Power Monitoring" as a new feature in the NIC feature table? So the drivers supporting it can advertise it. https://doc.dpdk.org/guides/nics/overview.html For it need to, - add "Power Monitoring" to template .ini file, '.doc/guides/nics/features/default.ini' - Document it in the features file, '.doc/guides/nics/features.rst' - Update driver .ini files to advertise the feature, like 'ixgbe.ini'