aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorThéo Lebrun <theo.lebrun@bootlin.com>2026-10-13 15:16:47 +0200
committerPaolo Abeni <pabeni@redhat.com>2026-10-20 09:30:24 +0200
commita98375924d64cba336ab31b426756c946667fdaf (patch)
tree0929e3bfe3db95ec6ebf75e50f7031e83e491f6d /scripts/Makefile.thinlto
parentnet: macb: use context swapping in .set_ringparam() (diff)
net: macb: use context swapping in .ndo_change_mtu()
Use newly introduced context buffer management to implement .ndo_change_mtu() as a context swap: allocate new context -> reconfigure HW -> free old context. This resists memory pressure well by failing without closing the interface and it is much faster by avoiding PHY reinit. AT91 EMAC is handled differently as their buffer management is separate and they don't do NAPI. They cannot land in macb_change_mtu as they use a different ndo struct. We still defensively protect against it in code. Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de> Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com> Link: https://patch.msgid.link/20261013-macb-context-v11-9-b27785167566@bootlin.com Tested-by: Nicolai Buchwitz <nb@tipi-net.de> # RPi CM5 with RP1 GEM Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions