Thread (13 messages) 13 messages, 6 authors, 2021-12-02

Re: [PATCH net-next 3/5] net: dsa: support use of phylink_generic_validate()

From: Marek Behún <kabel@kernel.org>
Date: 2021-11-30 15:43:53

On Tue, 30 Nov 2021 13:10:06 +0000
"Russell King (Oracle)" [off-list ref] wrote:
Support the use of phylink_generic_validate() when there is no
phylink_validate method given in the DSA switch operations and
mac_capabilities have been set in the phylink_config structure by the
DSA switch driver.

This gives DSA switch drivers the option to use this if they provide
the supported_interfaces and mac_capabilities, while still giving them
an option to override the default implementation if necessary.

Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Russell King (Oracle) <redacted>
Reviewed-by: Marek Behún <kabel@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help