Thread (19 messages) 19 messages, 4 authors, 2020-10-01

Re: ethtool/phy tunables and extack (was Re: [PATCH net-next 0/3] net: atlantic: phy tunables from mac driver)

From: Michal Kubecek <hidden>
Date: 2020-09-30 15:31:35

On Wed, Sep 30, 2020 at 05:16:56PM +0200, Andrew Lunn wrote:
quoted
Another question is how to allow ethtool ops setting not only the text
message but also the offending attribute.
For PHY tunables, i don't think it is needed. The current API only
allows a single value to be passed. That seems to be enough, and it
forces us to keep tunables simple. If need be, the core could set the
attribute, since there should only be one containing the value.
It probably wasn't obvious but I mean the two parts of my e-mail as
independent, i.e. the second part was rather meant as a general thought
on allowing drivers to report errors/warnings via extack, not specific
to PHY tunables.

Michal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help