Re: [PATCH 4/6] net: dsa: introduce a .port_probe() method in struct dsa_ops

2021-06-29 Thread Ramon Fried
On Tue, Jun 29, 2021 at 8:09 PM Vladimir Oltean wrote: > > From: Vladimir Oltean > > Some drivers might want to execute code for each port at probe time, as > opposed to executing code just-in-time for the port selected for > networking. > > To cater to that use case, introduce a .port_probe() ca

[PATCH 4/6] net: dsa: introduce a .port_probe() method in struct dsa_ops

2021-06-29 Thread Vladimir Oltean
From: Vladimir Oltean Some drivers might want to execute code for each port at probe time, as opposed to executing code just-in-time for the port selected for networking. To cater to that use case, introduce a .port_probe() callback method into the DSA switch operations which is called for each