Is there any Linux utility to do MDIO read/write for external PHY on Xeon-D / X552 SOC running ixgbe driver 5.3.5?
Intel does not provide any specific MDIO utility, I found the following tools:
http://man7.org/linux/man-pages/man8/mii-tool.8.html mii-tool(8) - Linux manual page
https://github.com/PieVo/mdio-tool GitHub - PieVo/mdio-tool
I hope they are useful for your case, but in any case, please bear in mind that these are not developed or particularly endorsed by Intel, so you should use it with caution and under your own risk.
The ixgbe driver 5.3.5 doesn't support the MDIO Access for the PHY type "ixgbe_phy_x550em_kr" .
Please see below these functions below and they are not implemented. Any idea when they will be implemented?
STATIC s32 ixgbe_read_phy_reg_x550em(struct ixgbe_hw *hw, u32 reg_addr,
u32 device_type, u16 *phy_data)
UNREFERENCED_4PARAMETER(*hw, reg_addr, device_type, *phy_data);
STATIC s32 ixgbe_write_phy_reg_x550em(struct ixgbe_hw *hw, u32 reg_addr,
u32 device_type, u16 phy_data)
UNREFERENCED_4PARAMETER(*hw, reg_addr, device_type, phy_data);
Thanks for your reply.
In order to give you the information that may help you, could you please tell us where you find the driver listed in your last communication?
Thanks in advance for your clarification.
Thanks for your clarification.
Based on your previous communication, we suggest you as a reference address your questions related to this driver at the channels listed on the mentioned website.
We hope that this information is useful to you.