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)
Thu, Oct 9, 9:30 PM
Unknown Object (File)
Wed, Sep 17, 4:28 AM
Unknown Object (File)
Sat, Sep 13, 10:46 AM
Unknown Object (File)
Sep 5 2025, 7:37 AM
Unknown Object (File)
Aug 27 2025, 7:57 PM
Unknown Object (File)
Aug 26 2025, 12:37 PM
Unknown Object (File)
Aug 26 2025, 11:47 AM
Unknown Object (File)
Aug 26 2025, 11:40 AM
Subscribers

Details

Summary

Update LAGG and VLAN capabilites on MTU change.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

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.