ixgbe/base: new X557 phy
[dpdk.git] / lib / librte_pmd_ixgbe / ixgbe / ixgbe_api.c
index 9c34058..8037301 100644 (file)
@@ -536,6 +536,20 @@ s32 ixgbe_setup_phy_link(struct ixgbe_hw *hw)
                               IXGBE_NOT_IMPLEMENTED);
 }
 
+/**
+ * ixgbe_setup_internal_phy - Configure integrated PHY
+ * @hw: pointer to hardware structure
+ *
+ * Reconfigure the integrated PHY in order to enable talk to the external PHY.
+ * Returns success if not implemented, since nothing needs to be done in this
+ * case.
+ */
+s32 ixgbe_setup_internal_phy(struct ixgbe_hw *hw)
+{
+       return ixgbe_call_func(hw, hw->phy.ops.setup_internal_link, (hw),
+                              IXGBE_SUCCESS);
+}
+
 /**
  *  ixgbe_check_phy_link - Determine link and speed status
  *  @hw: pointer to hardware structure