Thread (22 messages) flat view 22 messages, 3 authors, 1d ago

Re: [PATCH net-next v5 3/6] net: dsa: motorcomm: relocate MIB polling initialization to dsa_setup()

From: Kyle Switch <hidden>
Date: 2026-09-06 01:54:20
Also in: lkml

On 9/4/26 21:48, Andrew Lunn wrote:
On Fri, Sep 04, 2026 at 05:54:13PM +0800, Kyle Switch wrote:
quoted
Move MIB polling start from probe() to dsa_setup()
Actually, having thread the following patches...

For every start, there is generally a stop.

You move start from probe() to dsa_setup().

Should you not move stop from remove() to dsa_teardown()?
You want to keep the driver symmetrical.
Ans, yes, in the next version, we will optimize the handling

of MIB polling enable by moving into setup(), and remove MIB

polling disable into teardown(). From the current perspective, the

mib_init flag is no longer needed.
	Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help