Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62E23C433ED for ; Tue, 4 May 2021 17:40:43 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id ECBAD613CB for ; Tue, 4 May 2021 17:40:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ECBAD613CB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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'