aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorThéo Lebrun <theo.lebrun@bootlin.com>2026-10-13 15:16:41 +0200
committerPaolo Abeni <pabeni@redhat.com>2026-10-20 09:30:24 +0200
commitb8ab596dabde5053c994872761a1d26b6a1f54c6 (patch)
treed6a6a0e2b2c98128375c10f4e9946830979d8fe9 /scripts/Makefile.thinlto
parentnet: macb: introduce macb_context struct for buffer management (diff)
net: macb: avoid macb_init_rx_buffer_size() modifying state
macb_init_rx_buffer_size() takes the macb private data struct and overrides its bp->ctx->rx_buffer_size. To make it usable with multiple contexts, make it return its value. Also, move the `bufsz` computation into it. The value is only used if GEM, and for historical reason it currently lives in macb_open(). 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-3-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