Page MenuHomeFreeBSD

mvneta: Fix MTU update sequence
ClosedPublic

Authored by kd on Aug 30 2021, 9:11 AM.
Tags
None
Referenced Files
F131897976: D31724.diff
Sun, Oct 12, 1:44 AM
Unknown Object (File)
Sep 1 2025, 11:49 PM
Unknown Object (File)
Aug 31 2025, 2:13 PM
Unknown Object (File)
Aug 31 2025, 8:41 AM
Unknown Object (File)
Aug 31 2025, 7:55 AM
Unknown Object (File)
Aug 16 2025, 3:18 AM
Unknown Object (File)
Aug 14 2025, 5:47 AM
Unknown Object (File)
Jun 28 2025, 6:53 PM
Subscribers
None

Details

Summary

After MTU is updated we might start using allocating RX buffers from different pool. (MJUM9BYTES vs MCLBYTES)
Because of that we need to update the RX buffer size in hardware.
Previously it was done only when the interface was up, which is incorrect since MTU can be changed at any time.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

kd requested review of this revision.Aug 30 2021, 9:11 AM
kd created this revision.
This revision is now accepted and ready to land.Aug 31 2021, 6:21 AM
This revision was automatically updated to reflect the committed changes.