Some Ethernet PHYs contain a simple packet generator. This can be useful for bringing up new devices, trying to determine if a problem lies in the MAC-PHY connection or PHY-Socket. Also, the PHY generators can generate invalid packets, which is hard to do in software.
Add support ethtool(1) and wire up the Marvell PHY packet generator. Andrew Lunn (2): net: ethtool: Add support for PHY packet generators phy: marvell: Add support for phy packet generator drivers/net/phy/marvell.c | 92 ++++++++++++++++++++++++++++++++++++++++++++ include/linux/phy.h | 4 ++ include/uapi/linux/ethtool.h | 26 +++++++++++++ net/core/ethtool.c | 22 +++++++++++ 4 files changed, 144 insertions(+) -- 2.7.0