[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201021163424.GQ139700@lunn.ch>
Date: Wed, 21 Oct 2020 18:34:24 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Alexandru Ardelean <ardeleanalex@...il.com>
Cc: Alexandru Ardelean <alexandru.ardelean@...log.com>,
netdev@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Heiner Kallweit <hkallweit1@...il.com>, linux@...linux.org.uk,
David Miller <davem@...emloft.net>, kuba@...nel.org
Subject: Re: [PATCH 1/2] net: phy: adin: clear the diag clock and set
LINKING_EN during autoneg
> i'll think about the frame-generator;
Here were the two main problems i can remember with my first version:
How do you discover what is can actually do? You probably need to
collect up all the open PHY datasheets and get an idea what the
different vendors provide, what is common, what could be shared
extensions etc, and think about how you can describe the
capabilities. Probably a netlink call will be needed to return what
the hardware is capable of doing.
At the time, it was necessary to hold RTNL while performing packet
generation. That is bad, because it means most of the control plane
stops for all devices. We will need to copy some of the ideas from the
cable test to avoid this, adding a state to the state machine, etc.
Andrew
Powered by blists - more mailing lists