[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190318000312.GB30224@lunn.ch>
Date: Mon, 18 Mar 2019 01:03:12 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Roopa Prabhu <roopa@...ulusnetworks.com>
Cc: Petr Machata <petrm@...lanox.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Jiri Pirko <jiri@...lanox.com>,
Ido Schimmel <idosch@...lanox.com>,
"davem@...emloft.net" <davem@...emloft.net>,
Tariq Toukan <tariqt@...lanox.com>,
"jakub.kicinski@...ronome.com" <jakub.kicinski@...ronome.com>,
"stephen@...workplumber.org" <stephen@...workplumber.org>
Subject: Re: [RFC PATCH net-next 1/3] net: rtnetlink: Add link-down reason to
RTNL messages
> Can't we use netdev_ops for this ?. That will allow any driver to just
> support this readily.
Hi Roopa
I argued this is a PHY layer status information. We don't really want
to have to modify every MAC driver to call into phylib/phylink. Yes,
we can have a netdev_ops for those drivers which ignore the Linux PHY
layer, but ideally we want to transparently call into the PHY layer to
get this information, if the MAC is not doing odd things.
Andrew
Powered by blists - more mailing lists