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)
Tue, May 7, 4:35 PM
Unknown Object (File)
Thu, May 2, 5:57 PM
Unknown Object (File)
Tue, Apr 30, 2:21 PM
Unknown Object (File)
Tue, Apr 30, 2:21 PM
Unknown Object (File)
Tue, Apr 30, 8:16 AM
Unknown Object (File)
Tue, Apr 30, 8:04 AM
Unknown Object (File)
Apr 7 2024, 2:32 AM
Unknown Object (File)
Mar 7 2024, 4:03 PM
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.