Page MenuHomeFreeBSD

mvneta: Fix MTU update sequence
ClosedPublic

Authored by kd on Aug 30 2021, 9:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 17 2024, 5:52 AM
Unknown Object (File)
Nov 17 2024, 3:55 AM
Unknown Object (File)
Oct 20 2024, 4:30 AM
Unknown Object (File)
Sep 30 2024, 2:40 PM
Unknown Object (File)
Sep 19 2024, 4:39 AM
Unknown Object (File)
Sep 18 2024, 7:23 PM
Unknown Object (File)
Sep 18 2024, 3:24 AM
Unknown Object (File)
Sep 9 2024, 5:03 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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.