diff options
| author | Shenwei Wang <shenwei.wang@nxp.com> | 2025-09-10 13:52:10 -0500 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-14 14:20:01 -0700 |
| commit | 59e9bf037d7579a8d845bb8026276bc7e3852436 (patch) | |
| tree | 6917bbd0e4e9e2d44f0fe17415225df6dae085d3 /rust/helpers/build_bug.c | |
| parent | 5b14ed3ac5133a1f7a5fe760451e645524b6c34e (diff) | |
net: fec: add change_mtu to support dynamic buffer allocation
Add a fec_change_mtu() handler to recalculate the pagepool_order based on
the new_mtu value. And update the rx_frame_size accordingly when
pagepool_order changes.
MTU changes are only allowed when the adater is not running.
Reviewed-by: Wei Fang <wei.fang@nxp.com>
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
Link: https://patch.msgid.link/20250910185211.721341-6-shenwei.wang@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
