[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1560329827-6345-1-git-send-email-Raju.Lakkaraju@microchip.com>
Date: Wed, 12 Jun 2019 14:27:05 +0530
From: Raju Lakkaraju <Raju.Lakkaraju@...rochip.com>
To: netdev@...r.kernel.org
Cc: UNGLinuxDriver@...rochip.com, f.fainelli@...il.com, andrew@...n.ch,
Raju Lakkaraju <Raju.Lakkaraju@...rochip.com>
Subject: [RFC, net-next v0 0/2] Microsemi PHY cable
This series of patches add the Microsemi PHY cable diagnostics command
with PHY Netlink Interface.
1. phy_netlink.c and phy_netlink.h files add for PHY diagnostics features
implementation through PHY Netlink interface.
2. phy.c contain the generic functions of "PHY diagnostics". This layer
independ of the communication layer (i.e. Netlink or IOCTL etc)
3. mscc.c contain the 4-pair ethernet PHY driver along with
PHY diagnostics feature.
Patches test on VSC8531 Microsemi PHY - Beaglebone Black target
Test results:
------------
# nl-app eth0 request
GroupID = 2
GroupName = phy_monitor
Cable Diagnostics Request:
Operation Status : Success
Cable Pairs mask : 0xf
Timeout count : 84
Cable diagnostics results:
Pair A: Correctly terminated pair, Loop Length: 0 m
Pair B: Correctly terminated pair, Loop Length: 0 m
Pair C: Correctly terminated pair, Loop Length: 0 m
Pair D: Correctly terminated pair, Loop Length: 0 m
Application git repository path:
-------------------------------
https://github.com/lakkarajun/bbb_nl_app
Raju Lakkaraju (2):
net: phy: mscc: Add PHY Netlink Interface along with Cable Diagnostics
command
net: phy: mscc: Add PHY driver for Cable Diagnostics command
drivers/net/phy/Kconfig | 6 ++
drivers/net/phy/Makefile | 1 +
drivers/net/phy/mscc.c | 128 ++++++++++++++++++++++++
drivers/net/phy/phy.c | 17 ++++
drivers/net/phy/phy_netlink.c | 226 ++++++++++++++++++++++++++++++++++++++++++
include/linux/phy.h | 88 ++++++++++++++++
include/linux/phy_netlink.h | 48 +++++++++
7 files changed, 514 insertions(+)
create mode 100644 drivers/net/phy/phy_netlink.c
create mode 100644 include/linux/phy_netlink.h
--
2.7.4
Powered by blists - more mailing lists