Page MenuHomeFreeBSD

lagg: update capabilites on SIOCSIFMTU
ClosedPublic

Authored by wma on Oct 29 2021, 9:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 24 2024, 12:48 PM
Unknown Object (File)
Oct 14 2024, 9:49 PM
Unknown Object (File)
Sep 30 2024, 10:36 PM
Unknown Object (File)
Sep 19 2024, 10:24 PM
Unknown Object (File)
Sep 18 2024, 7:24 PM
Unknown Object (File)
Sep 15 2024, 10:50 PM
Unknown Object (File)
Sep 14 2024, 10:42 PM
Unknown Object (File)
Sep 10 2024, 8:59 AM
Subscribers

Details

Summary

Update LAGG and VLAN capabilites on MTU change.

Diff Detail

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

Event Timeline

wma requested review of this revision.Oct 29 2021, 9:03 AM

Some NICs might have limited capabilities when Jumbo frames are used.
For exampe some neta interfaces only support TX csum offload when the
packet size is lower than a value specified in DT.
Fix it by re-reading capabilities of children interfaces after MTU
has been successfully changed.

Found by: Jerome Tomczyk <jerome.tomczyk@stormshield.eu>

I would perhaps leave out the comments (they aren't present in the lines above for SIOCSIFCAP) and adding the blank lines before them to conform to style(9) would make this a bit long.

This revision is now accepted and ready to land.Nov 4 2021, 8:59 PM
This revision was automatically updated to reflect the committed changes.