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 90716A00C3; Tue, 19 Apr 2022 09:49:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2FAC14281F; Tue, 19 Apr 2022 09:48:48 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 75EF84281B for ; Tue, 19 Apr 2022 09:48:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650354526; x=1681890526; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EMve/sqs+6ofwK2sA73w5tAk2jK3hSLpLkkJEaCfUnU=; b=jZdm27GaDsnatV6AAhy3OaHDb+36+VVkU/lEH4yDaSrTTj/CgnqK40Z9 B+186CWle6MUzmTY7YoyT0JH2NotiW5fdRzkJh86KUNmnpvkF9BcmaGQi S5LwKOrx4P1zdRIWiuCVhM0nrVBMVsfW8QouIP1DJL4nZd8jWfvRfvYpq TJCG6JqxFy8AaGjc4mp5E5nWqdy1oj6Ek9Y2/tQ9pvBuvfK/zidJ/JonV JHGXRWfPyKCkjytG9+TDq/+iaT5YhwS41TXyFUz/Y/MEV/xYy3Iwp/M2M CTwgvPgxwgYrejTQNV3rRarOUa3Ny2JWEk0EsjK1zX/b0RgmsO77jyAU4 w==; X-IronPort-AV: E=McAfee;i="6400,9594,10321"; a="244288820" X-IronPort-AV: E=Sophos;i="5.90,272,1643702400"; d="scan'208";a="244288820" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2022 00:48:46 -0700 X-IronPort-AV: E=Sophos;i="5.90,272,1643702400"; d="scan'208";a="575972098" Received: from intel-cd-odc-kevin.cd.intel.com ([10.240.178.195]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2022 00:48:42 -0700 From: Kevin Liu To: dev@dpdk.org Cc: qiming.yang@intel.com, qi.z.zhang@intel.com, stevex.yang@intel.com, Kevin Liu Subject: [PATCH v4 22/23] net/ice: implement power management Date: Tue, 19 Apr 2022 15:46:13 +0000 Message-Id: <20220419154614.476154-23-kevinx.liu@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220419154614.476154-1-kevinx.liu@intel.com> References: <20220413171030.2231163-1-kevinx.liu@intel.com> <20220419154614.476154-1-kevinx.liu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Implement support for the power management API by implementing a 'get_monitor_addr' function that will return an address of an RX ring's status bit. Signed-off-by: Kevin Liu --- drivers/net/ice/ice_dcf_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ice/ice_dcf_ethdev.c b/drivers/net/ice/ice_dcf_ethdev.c index 02d9bd0fa7..0a7ae54079 100644 --- a/drivers/net/ice/ice_dcf_ethdev.c +++ b/drivers/net/ice/ice_dcf_ethdev.c @@ -1952,6 +1952,7 @@ static const struct eth_dev_ops ice_dcf_eth_dev_ops = { .tx_queue_stop = ice_dcf_tx_queue_stop, .rxq_info_get = ice_rxq_info_get, .txq_info_get = ice_txq_info_get, + .get_monitor_addr = ice_get_monitor_addr, .link_update = ice_dcf_link_update, .stats_get = ice_dcf_stats_get, .stats_reset = ice_dcf_stats_reset, -- 2.33.1