]> git.droids-corp.org - dpdk.git/commitdiff
net/ixgbe: promote MDIO API
authorZhichao Zeng <zhichaox.zeng@intel.com>
Tue, 19 Apr 2022 11:06:13 +0000 (11:06 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Mon, 9 May 2022 01:51:51 +0000 (03:51 +0200)
Promote the MDIO APIs to be stable.

Signed-off-by: Zhichao Zeng <zhichaox.zeng@intel.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
drivers/net/ixgbe/rte_pmd_ixgbe.h
drivers/net/ixgbe/version.map

index eef6f6661c74415346b61e6ed4421605f2d715a5..426fe5845bf77a6ed19f5f8614fa7db20dc901c3 100644 (file)
@@ -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);
 
index bca5cc58264215e3e6a604da30441a3fc4b0795e..f0f29d87490f53ea7b31ee0cd36ccb20eef8725e 100644 (file)
@@ -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;
 };