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 7456FA0506; Tue, 12 Apr 2022 11:57:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 26B89410E1; Tue, 12 Apr 2022 11:57:17 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 6A6DB40DF6 for ; Tue, 12 Apr 2022 11:57:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649757435; x=1681293435; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=jdP4zDqobA1Z5AZwJFsEPl2kfqepyLubWBElYW8ro9w=; b=AwBHLVFPUlo5LcFAK4910VamjZDVLwlcElFkEUsdWb4/hIEB9VJFEEn2 bu3CFlIMg3tFiA9WvQJgnMNe2mrjxJXT+NDnS9xNFDKCEuJlbeZFih4OJ ZRYWvFzml7WRUSY+2xGL0UMggEnGsQvJTDBpbzLgA7ZYSbMlw4bdXp/3T LQuDj7+lCYmf40IIMZgUV7livIuzBmioEJTY6GTxhDxgmJE4HXVUcjPIv +sVLhsh7o/N13EOIacl6ZZ2qOtvFRMSdHCvRKtIAn5d6PqZT92qwt/Vlu yEtEfyl88EuPrrosG75taE5RRAeoX72W4Hnck8F3t2iDwgA8iYwnFkvVs w==; X-IronPort-AV: E=McAfee;i="6400,9594,10314"; a="262082110" X-IronPort-AV: E=Sophos;i="5.90,253,1643702400"; d="scan'208";a="262082110" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2022 02:57:13 -0700 X-IronPort-AV: E=Sophos;i="5.90,253,1643702400"; d="scan'208";a="572689401" Received: from unknown (HELO localhost.localdomain) ([10.239.251.103]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2022 02:57:12 -0700 From: zhichaox.zeng@intel.com To: dev@dpdk.org Cc: zhichao zeng , Haiyue Wang , Ray Kinsella Subject: [DPDK v3] net/ixgbe: promote MDIO API Date: Tue, 12 Apr 2022 17:56:02 +0000 Message-Id: <20220412175602.965278-1-zhichaox.zeng@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220412161605.837191-1-zhichaox.zeng@intel.com> References: <20220412161605.837191-1-zhichaox.zeng@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 From: zhichao zeng Promote the MDIO APIs to be stable. Signed-off-by: zhichao zeng --- drivers/net/ixgbe/rte_pmd_ixgbe.h | 5 ----- drivers/net/ixgbe/version.map | 10 +++++----- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/net/ixgbe/rte_pmd_ixgbe.h b/drivers/net/ixgbe/rte_pmd_ixgbe.h index eef6f6661c..426fe5845b 100644 --- a/drivers/net/ixgbe/rte_pmd_ixgbe.h +++ b/drivers/net/ixgbe/rte_pmd_ixgbe.h @@ -586,7 +586,6 @@ int rte_pmd_ixgbe_bypass_wd_reset(uint16_t port); * - (-ENODEV) if *port* invalid. * - (IXGBE_ERR_SWFW_SYNC) If sw/fw semaphore acquisition failed */ -__rte_experimental int rte_pmd_ixgbe_mdio_lock(uint16_t port); @@ -600,7 +599,6 @@ rte_pmd_ixgbe_mdio_lock(uint16_t port); * - (-ENOTSUP) if hardware doesn't support. * - (-ENODEV) if *port* invalid. */ -__rte_experimental int rte_pmd_ixgbe_mdio_unlock(uint16_t port); @@ -622,7 +620,6 @@ rte_pmd_ixgbe_mdio_unlock(uint16_t port); * - (-ENODEV) if *port* invalid. * - (IXGBE_ERR_PHY) If PHY read command failed */ -__rte_experimental int rte_pmd_ixgbe_mdio_unlocked_read(uint16_t port, uint32_t reg_addr, uint32_t dev_type, uint16_t *phy_data); @@ -646,7 +643,6 @@ rte_pmd_ixgbe_mdio_unlocked_read(uint16_t port, uint32_t reg_addr, * - (-ENODEV) if *port* invalid. * - (IXGBE_ERR_PHY) If PHY read command failed */ -__rte_experimental int rte_pmd_ixgbe_mdio_unlocked_write(uint16_t port, uint32_t reg_addr, uint32_t dev_type, uint16_t phy_data); @@ -725,7 +721,6 @@ enum { * - (-ENODEV) if *port* invalid. * - (-ENOTSUP) if hardware doesn't support this feature. */ -__rte_experimental int rte_pmd_ixgbe_upd_fctrl_sbp(uint16_t port, int enable); diff --git a/drivers/net/ixgbe/version.map b/drivers/net/ixgbe/version.map index bca5cc5826..f0f29d8749 100644 --- a/drivers/net/ixgbe/version.map +++ b/drivers/net/ixgbe/version.map @@ -16,6 +16,10 @@ DPDK_22 { rte_pmd_ixgbe_macsec_enable; rte_pmd_ixgbe_macsec_select_rxsa; rte_pmd_ixgbe_macsec_select_txsa; + rte_pmd_ixgbe_mdio_lock; + rte_pmd_ixgbe_mdio_unlock; + rte_pmd_ixgbe_mdio_unlocked_read; + rte_pmd_ixgbe_mdio_unlocked_write; rte_pmd_ixgbe_ping_vf; rte_pmd_ixgbe_set_all_queues_drop_en; rte_pmd_ixgbe_set_tc_bw_alloc; @@ -31,6 +35,7 @@ DPDK_22 { rte_pmd_ixgbe_set_vf_vlan_filter; rte_pmd_ixgbe_set_vf_vlan_insert; rte_pmd_ixgbe_set_vf_vlan_stripq; + rte_pmd_ixgbe_upd_fctrl_sbp; local: *; }; @@ -40,9 +45,4 @@ EXPERIMENTAL { rte_pmd_ixgbe_get_fdir_info; rte_pmd_ixgbe_get_fdir_stats; - rte_pmd_ixgbe_mdio_lock; - rte_pmd_ixgbe_mdio_unlock; - rte_pmd_ixgbe_mdio_unlocked_read; - rte_pmd_ixgbe_mdio_unlocked_write; - rte_pmd_ixgbe_upd_fctrl_sbp; }; -- 2.25.1