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 B0699A0507; Wed, 27 Apr 2022 12:16:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1251E42824; Wed, 27 Apr 2022 12:15:37 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 198CC42821 for ; Wed, 27 Apr 2022 12:15:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651054534; x=1682590534; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=IQza26Tc9Vmq8IygtpDGispx/vhvnIi3i1AZLWkh63k=; b=lxo3cPOfBmqEimN54lKsfXLpSF7OpHD/fAUOEejviejSjdEpmE8/rmN7 3TloKZwrjby1F3ySDeqXN1dO4hqJ3k1VAqulqH0tiMDSovcduC895vSzw dD2mKAMJkYDfOC2vGmuHYiGUTC00MirA8S1i2jI9sjepxx4yMiVdG6cfD FzH5ErPfnBWEhjdA+SKSqrNysh1+6+BZx+k0gqfmfMc/NLggMNcuHoKqm 4CJDK6J/IolWOFEeoXz/BEe6g1LT3OBb2QggJJuDSwcjXG1k0zGaNJ6Fe KuC5UIFmln/pmQGm5ZRDxKEInvRtL4F7qb85tuBvklhrREpLNgtDh59fq A==; X-IronPort-AV: E=McAfee;i="6400,9594,10329"; a="328827336" X-IronPort-AV: E=Sophos;i="5.90,292,1643702400"; d="scan'208";a="328827336" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2022 03:15:33 -0700 X-IronPort-AV: E=Sophos;i="5.90,292,1643702400"; d="scan'208";a="580514707" 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; 27 Apr 2022 03:15:31 -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 v6 11/12] net/ice: implement power management Date: Wed, 27 Apr 2022 18:13:00 +0000 Message-Id: <20220427181301.1414196-12-kevinx.liu@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220427181301.1414196-1-kevinx.liu@intel.com> References: <20220421111403.1334288-1-kevinx.liu@intel.com> <20220427181301.1414196-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 --- doc/guides/nics/features/ice_dcf.ini | 1 + doc/guides/rel_notes/release_22_07.rst | 1 + drivers/net/ice/ice_dcf_ethdev.c | 1 + 3 files changed, 3 insertions(+) diff --git a/doc/guides/nics/features/ice_dcf.ini b/doc/guides/nics/features/ice_dcf.ini index 54ea7f150c..3b11622d4c 100644 --- a/doc/guides/nics/features/ice_dcf.ini +++ b/doc/guides/nics/features/ice_dcf.ini @@ -25,6 +25,7 @@ VLAN filter = Y VLAN offload = Y Extended stats = Y Basic stats = Y +Power mgmt address monitor = Y Linux = Y x86-32 = Y x86-64 = Y diff --git a/doc/guides/rel_notes/release_22_07.rst b/doc/guides/rel_notes/release_22_07.rst index 0d6577cd74..004a6d3343 100644 --- a/doc/guides/rel_notes/release_22_07.rst +++ b/doc/guides/rel_notes/release_22_07.rst @@ -72,6 +72,7 @@ New Features * Added support dcf VLAN filter and offload configuration. * Added add extended stats. * Added support queue information getting. + * Added implement power management. Removed Items ------------- 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