diff options
| author | 2026-10-13 11:54:13 -0600 | |
|---|---|---|
| committer | 2026-10-19 16:13:14 +0200 | |
| commit | d1241cdbbcf7bfac3e53482b2054504628f9f047 (patch) | |
| tree | e4eeef923706fa9a7ccff7d98c1587b2856e6614 /scripts/Makefile.thinlto | |
| parent | Merge branch 'stmmac-some-xdp-fixes-in-xdp_tx-path' (diff) | |
net: stmmac: leave the datapath running for normal-size MTU changes
When both MTUs are at most ETH_DATA_LEN, the receive buffer size and MAC
receive limit do not change. Update the MTU without restarting the
datapath.
This also avoids rebinding a live AF_XDP pool to a temporary RXQ. XDP
rejects jumbo MTUs, so all supported XDP MTU changes take this path.
Jumbo transitions still use the existing reopen path.
Found by source review while working on the stmmac MTU/resume recovery
series. The fast path was tested on Allwinner H616 with sun8i EMAC1 and
an AC300 PHY. The AF_XDP scenario was identified by inspection.
Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de>
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Daniel Machon <daniel.machon@microchip.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20261013-stmmac-mtu-fastpath-v2-1-1e4ce8137689@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
