Thread (13 messages) flat view 13 messages, 2 authors, 12d ago

Re: [PATCH net-next v2 2/6] net: dsa: motorcomm: Split MIB buffers

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-09-07 19:57:50
Also in: lkml

On Sat, Sep 05, 2026 at 12:29:44AM +0800, David Yang wrote:
With MIB improvement introduced later, struct yt921x_priv will be over
20k which is not very good for a single kmalloc(). Dynamically allocate
the MIB structures to reduce the size of struct yt921x_priv, and do not
waste memory on dummy ports.

Signed-off-by: David Yang <mmyangfl@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    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