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 8FFF1A00C3; Thu, 21 Apr 2022 05:17:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 421A842819; Thu, 21 Apr 2022 05:16:22 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 20DC94281D for ; Thu, 21 Apr 2022 05:16:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650510978; x=1682046978; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=x/1fERwSEQuTTJlTPhtlmUeK4WpAJlipTANILxjn8bo=; b=XSwEPY+HVKAqVcp5do/GXdAq9yFBY78jazreYFmvdEN9ZwjgXCPjg9IJ 5gc0ta5nzCPZ1YKqnnI+7twUl5Gx3P3lwKlMiUihOmJIrEdYH8oTDNXqQ Nm8pMGm3ye1FDWJ1Hl/I1kJ2u4ubAubLA6Oeu0aKKRF85vOzMrIwOupb6 6Nsorb+ZFpEmr8Gh11XVl5V+5ZD8zqqn4eMTpQsTHkVVTUq1Ey4QLB3oV 0Jlhp0FTtFQ8/84UDCNfGZpu4PFqbk5BCYpUvVUJ405CGOuBlh3ue//t/ hMEGwYjjaJDmfNjKi2GvT8hzCNc8jN609tnXRI8G2DHJdAVeFFlellehd A==; X-IronPort-AV: E=McAfee;i="6400,9594,10323"; a="244804212" X-IronPort-AV: E=Sophos;i="5.90,277,1643702400"; d="scan'208";a="244804212" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2022 20:16:17 -0700 X-IronPort-AV: E=Sophos;i="5.90,277,1643702400"; d="scan'208";a="555535504" Received: from intel-cd-odc-kevin.cd.intel.com ([10.240.178.195]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2022 20:16:15 -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 v5 11/12] net/ice: implement power management Date: Thu, 21 Apr 2022 11:14:02 +0000 Message-Id: <20220421111403.1334288-12-kevinx.liu@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220421111403.1334288-1-kevinx.liu@intel.com> References: <20220419154614.476154-1-kevinx.liu@intel.com> <20220421111403.1334288-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 9217392d04..236c0395e0 100644 --- a/drivers/net/ice/ice_dcf_ethdev.c +++ b/drivers/net/ice/ice_dcf_ethdev.c @@ -1700,6 +1700,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